AtariWriter/Proofreader Default Writer (DWC1.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.2 KB

Dialect
Atari BASIC
Lines
18
Variables
IN$, Q, W, S1, S2, B1, B2, A, B
BASIC listing (18 lines)
1 REM ATARIWRITER DEFAULTWRITER (COMPANION #1)
2 REM BY PAUL V. ALHART
3 REM (c)1988, ANTIC PUBLISHING
5 ? "↰ This program lets you change the     BUZZER Default settings for"
6 ? "AtariWriter+ (48K Version).":?
7 ? :? " Insert a copy of your AtariWriter+   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:AP.OBJ":NOTE #1,Q,W:S1=Q+105:S2=Q+122:B1=22:B2=84
20 POINT #1,S1,B1:GET #1,A:POINT #1,S2,B2:GET #1,B:IF A<>0 AND A<>255 THEN 90
30 ? "↰The Default Buzzer setting is ";A:? "    0 = OFF    255 = ON"
40 ? :? "Buzzer Duration is set at ";B;" JIFFIES":? "    NORMAL = 32"
50 ? :? "Do you want to change these settings  (Y/N)";:INPUT IN$:IF IN$<>"Y" THEN CLOSE #1:END
60 ? :? :? "Type 0 or 255 for Buzzer Default":INPUT A:IF A<>0 AND A<>255 THEN 60
70 ? "Type Buzzer Duration":INPUT B
80 POINT #1,S1,B1:PUT #1,A:POINT #1,S2,B2:PUT #1,B:GOTO 20
90 CLOSE #1:? "USE WITH 48K VERSION ONLY↰"
100 CLOSE #1:? "ERROR ";PEEK(195)