home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib26b.dsk
/
WAIT.2.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
765b
|
26 lines
100 REM ***************
110 REM * *
120 REM * WAIT.2 DEMO *
130 REM * *
140 REM ***************
150 REM
160 REM ANY KEYPRESS
170 TEXT : HOME
180 POKE -16368,0
190 VTAB 4: PRINT "PRESS ANY KEY TO BEGIN...";
200 WAIT -16384,128
210 A$ = CHR$( PEEK( -16384) -128)
220 PRINT A$
230 PRINT : PRINT "PRESS BUTTON #0 TO PROCEED...": PRINT
240 REM BUTTON #0
250 WAIT -16287,128
260 PRINT "BUTTON ZERO PUSHED !"
270 REM BUTTON #1
280 PRINT : PRINT "NOW PRESS BUTTON #1 TO CONTINUE...": PRINT
290 WAIT -16286,128
300 PRINT "BUTTON ONE PUSHED !"
310 CALL -856: REM A PAUSE
320 REM BUTTON #1 AGAIN
330 PRINT : PRINT "PRESS BUTTON #1 AGAIN TO QUIT..."
340 WAIT -16286,128
350 PRINT CHR$(7): PRINT "DEMO OVER"