home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib18.dsk
/
DISCOURAGER.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
964b
|
22 lines
1 REM **********************
2 REM * DISCOURAGER *
3 REM * BY MARK ALLEN *
4 REM * COPYRIGHT (C) 1984 *
5 REM * BY MICROSPARC, INC *
6 REM * LINCOLN, MA. 01773 *
7 REM **********************
10 TEXT : HOME : POKE 1011,213: POKE 1012,112: POKE 1010,102: POKE 214,128: ONERR GOTO 150
20 FOR I = 1 TO 13
30 VTAB 22: PRINT "** COPYRIGHT 1984 BY MICROSPARC, INC. **":A$ = "USER NAME - ": VTAB 12: PRINT A$
40 GOSUB 140: GET Z$: IF Z$ = CHR$(13) THEN 90
50 IF Z$ = CHR$(32) OR Z$ = CHR$(21) THEN 70
60 PRINT CHR$(88): GOTO 80
70 PRINT CHR$(32): GOTO 80
80 K$ = K$ +Z$: NEXT I
90 IF K$ = "PASSWORD" THEN GOTO 120
100 HOME : VTAB 12: FLASH : PRINT "ACCESS DENIED": NORMAL
110 FOR X = 1 TO 3000: NEXT : HOME : CLEAR : GOTO 20
120 HOME : VTAB 12: PRINT "ACCESS APPROVED": POKE 1011,157: POKE 1012,56: POKE 1010,191: POKE 214,0
130 POKE 216,0: END
140 VTAB 12: HTAB LEN(A$) +I: RETURN
150 IF PEEK(222) = 255 THEN RUN