AtariWriter/Proofreader Default Writer (DWC2.BAS)

AtariWriter/Proofreader Default Writer by Paul Alhart, 22

Description

AtariWriter/Proofreader Default Writer by Paul Alhart, 22

From the Antic disk of May 1989 (Vol. 8 No. 1) — disk B.

The magazine article

From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.

What is in this file

Atari BASIC program · 1.4 KB

Dialect
Atari BASIC
Lines
21
Variables
IN$, Q, W, S1, S2, S3, B1, B2, B3, A, B, C
BASIC listing (21 lines)
1 REM PROOFREADER DEFAULTWRITER (COMPANION #2)
2 REM BY PAUL V. ALHART
3 REM (c)1988, ANTIC PUBLISHING
4 ? "↰ This Program lets you change the     BUZZER Default settings and the"
5 ? "(Y/N) Prompt settings of PROOFREADER   (48K ONLY!)"
7 ? :? " Insert your disk and press  START ":?
8 IF PEEK(53279)<>6 THEN 8
10 TRAP 100:DIM IN$(1)
15 CLOSE #1:OPEN #1,12,0,"D:PROOF":NOTE #1,Q,W:S1=Q+27:S2=Q+27:S3=Q+38:B1=117:B2=121:B3=35
20 POINT #1,S1,B1:GET #1,A:POINT #1,S2,B2:GET #1,B:POINT #1,S3,B3:GET #1,C:IF C<>32 AND C<>96 THEN 90
30 ? "↰The Default Buzzer setting is ";A:? "    208 = OFF    240 = ON"
40 ? :? "Buzzer Duration is set at ";B;" JIFFIES":? "    NORMAL = 32"
45 ? :? "The (Y/N) Prompt is ";C:? "    32 = ON     96 = OFF"
50 ? :? "Do you want to change these settings  (Y/N)";:INPUT IN$:IF IN$<>"Y" THEN CLOSE #1:END
60 ? :? :? "Type 208 or 240 for Buzzer Default":INPUT A:IF A<>208 AND A<>240 THEN 60
70 ? "Type Buzzer Duration":INPUT B
75 ? "Type 32 or 96 for (Y/N) Prompt":INPUT C:IF C<>32 AND C<>96 THEN 75
80 POINT #1,S1,B1:PUT #1,A:POINT #1,S2,B2:PUT #1,B:POINT #1,S3,B3:PUT #1,C
85 GOTO 20
90 CLOSE #1:? "USE FOR 48K VERSION ONLY↰"
100 CLOSE #1:? "ERROR ";PEEK(195)