home *** CD-ROM | disk | FTP | other *** search
- 1 DEF SEG=0:V1=PEEK(108):V2=PEEK(109):V3=PEEK(110):V4=PEEK(111)
- 2 DEF SEG=0:POKE 108,&H53:POKE 109,&HFF:POKE 110,&H0:POKE 111,&HF0
- 10 PRINT"This routine defeats Cntrl-Break . . . "
- 20 PRINT"Input an A to continue.";
- 30 INPUT A$: IF A$="a" OR A$="A" THEN 38 ELSE 30
- 38 DEF SEG=0:POKE 108,V1:POKE 109,V2:POKE 110,V3:POKE 111,V4
- 40 PRINT"This routine PROTECTS the program"
- 45 DEF SEG:POKE 1124,255
- 50 PRINT"Try to LIST it, then RUN 60"
- 51 END
- 60 PRINT"Now you may LIST the program."
- 65 DEF SEG:POKE 1124,0
- 70 END