My youngest son loves games. Computer games. The ability of my 2068 to run both T/S or Spectrum games from disks has been a source of enjoyment, even when other tasks should be attended to. His mother has asked me to lock the computer up at times to help get his attention or as the result of some restriction.
As I often use the computer as a teaching tool for my boy even if he is on restriction how then to make the teaching programs useable while making the games unuseable? Being a programming nut the obvious solution of putting the games disks into a different location was not even considered.
He knows quite a bit about this system and has been known to load games when he is supposed to be studying.
How then to disable the game in such a way that if I wanted to use the games I can while still making them unavailable to him. Another goal was to leave the game itself unchanged, as reprogramming my over 140 games was more than I wanted to attempt. My 2068 should do that kind of repetitive tasks, not me.
The Larken system gave me an easy answer!
Thus was born a new program — a LOCK & KEY for disk based programs.
1 REM Larken Lock v1.2
2 REM W.M. Dunlop, 1992
5 INPUT "Key Code ";d
10 IF d=dad THEN GO TO 20
15 PRINT FLASH 1;" YOU BLEW IT [name omitted]! ": PAUSE 30: NEW
20 INPUT "lock or unlock? ";k$
25 RANDOMIZE USR 100: GO TO 1
30 RANDOMIZE USR 100: CAT "",
40 IF k$="l" THEN GO SUB 100
45 IF k$="u" THEN GO SUB 200
50 GO TO 20
100 REM lock
110 INPUT "lock name ";a$
115 IF a$="quit" THEN NEW
120 LET b$=a$: LET b$(LEN b$-2)=CHR$ 0
130 RANDOMIZE USR 100: MOVE a$,b$
190 RETURN
199 STOP
200 REM unlock
210 INPUT "unlock name ";a$
220 LET b$=a$: LET b$(LEN b$-2)="."
221 LET a$(LEN a$-2)=CHR$ 0
230 RANDOMIZE USR 100: MOVE a$,b$
290 RETURN
299 STOP
300 REM as a direct command enter, LET d=your secret numbers, before saving the program
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.