00000000: 00 80 5E 55 3A 48 41 43 4B 45 52 0D 0D 0D 20 20 |..^U:HACKER... |
00000010: 20 20 20 20 20 20 20 20 20 20 20 20 C4 C9 D3 CB | ....|
00000020: 20 CC CF C3 CB C5 D2 0D 20 20 20 20 20 20 20 20 | ....... |
00000030: 20 20 20 20 20 20 20 20 20 20 42 59 0D 20 20 20 | BY. |
00000040: 20 20 20 20 20 20 20 20 20 20 20 D2 55 54 48 20 | .UTH |
00000050: C8 49 43 4B 53 0D 0D 0D C3 CF CD CD CF C4 CF D2 |.ICKS...........|
00000060: C5 20 CD C1 C7 C1 DA C9 CE C5 0D CD 41 59 20 31 |. ..........AY 1|
00000070: 39 38 37 0D 0D 0D 20 20 C4 C9 D3 CB 20 CC CF C3 |987... .... ...|
00000080: CB C5 D2 20 4C 4F 43 4B 53 20 46 49 4C 45 53 20 |... LOCKS FILES |
00000090: 41 4E 44 0D 50 52 4F 54 45 43 54 53 20 50 52 4F |AND.PROTECTS PRO|
000000A0: 47 52 41 4D 53 20 41 47 41 49 4E 53 54 20 54 41 |GRAMS AGAINST TA|
000000B0: 4D 50 45 52 49 4E 47 0D 4F 52 20 41 43 43 49 44 |MPERING.OR ACCID|
000000C0: 45 4E 54 41 4C 20 4C 4F 53 53 2E 20 20 D5 53 49 |ENTAL LOSS. .SI|
000000D0: 4E 47 20 C4 C9 D3 CB 0D CC CF C3 CB C5 D2 20 49 |NG ........... I|
000000E0: 53 20 53 49 4D 50 4C 45 3A 20 57 48 45 4E 20 50 |S SIMPLE: WHEN P|
000000F0: 52 4F 4D 50 54 45 44 2C 20 54 45 4C 4C 0D 54 48 |ROMPTED, TELL.TH|
00000100: 45 20 50 52 4F 47 52 41 4D 20 57 48 45 54 48 45 |E PROGRAM WHETHE|
00000110: 52 20 54 4F 20 4C 4F 43 4B 0D 49 4E 44 49 56 49 |R TO LOCK.INDIVI|
00000120: 44 55 41 4C 20 50 52 4F 47 52 41 4D 53 20 4F 52 |DUAL PROGRAMS OR|
00000130: 20 41 4C 4C 20 4F 46 20 54 48 45 0D 50 52 4F 47 | ALL OF THE.PROG|
00000140: 52 41 4D 53 20 4F 4E 20 41 20 44 49 53 4B 2E 20 |RAMS ON A DISK. |
00000150: 20 C9 46 20 59 4F 55 20 43 48 4F 4F 53 45 20 54 | .F YOU CHOOSE T|
00000160: 4F 0D 4C 4F 43 4B 20 49 4E 44 49 56 49 44 55 41 |O.LOCK INDIVIDUA|
00000170: 4C 20 46 49 4C 45 53 2C 20 C4 C9 D3 CB 20 CC CF |L FILES, .... ..|
00000180: C3 CB C5 D2 0D 4C 49 53 54 53 20 54 48 45 20 46 |.....LISTS THE F|
00000190: 49 4C 45 53 20 4F 4E 20 54 48 45 20 44 49 53 4B |ILES ON THE DISK|
000001A0: 20 4F 4E 45 20 42 59 0D 4F 4E 45 20 41 4E 44 20 | ONE BY.ONE AND |
000001B0: 52 45 51 55 49 52 45 53 20 54 48 41 54 20 59 4F |REQUIRES THAT YO|
000001C0: 55 20 41 4E 53 57 45 52 20 41 0D 50 52 4F 4D 50 |U ANSWER A.PROMP|
000001D0: 54 20 42 45 46 4F 52 45 20 49 54 20 43 48 41 4E |T BEFORE IT CHAN|
000001E0: 47 45 53 20 54 48 45 20 46 49 4C 45 2E 0D C5 4E |GES THE FILE...N|
000001F0: 54 45 52 49 4E 47 20 22 D9 22 20 41 54 20 54 48 |TERING "." AT TH|
00000200: 45 20 22 C3 48 41 4E 47 45 20 54 48 49 53 20 46 |E ".HANGE THIS F|
00000210: 49 4C 45 0D 2E 2E 2E 22 20 50 52 4F 4D 50 54 20 |ILE...." PROMPT |
00000220: 57 49 4C 4C 20 CC CF C3 CB 20 54 48 45 20 46 49 |WILL .... THE FI|
00000230: 4C 45 20 49 46 0D 49 54 27 53 20 55 4E 4C 4F 43 |LE IF.IT'S UNLOC|
00000240: 4B 45 44 2C 20 41 4E 44 20 D5 CE CC CF C3 CB 20 |KED, AND ...... |
00000250: 54 48 45 20 46 49 4C 45 20 49 46 0D 49 54 27 53 |THE FILE IF.IT'S|
00000260: 20 4C 4F 43 4B 45 44 2E 0D 0D 20 20 CC 4F 43 4B | LOCKED... .OCK|
00000270: 45 44 20 46 49 4C 45 53 20 41 52 45 20 4D 41 52 |ED FILES ARE MAR|
00000280: 4B 45 44 20 42 59 20 41 20 57 45 44 47 45 0D 28 |KED BY A WEDGE.(|
00000290: 3C 29 2C 20 4F 52 20 4C 45 53 53 20 54 48 41 4E |<), OR LESS THAN|
000002A0: 20 53 49 47 4E 2C 20 49 4E 20 54 48 45 20 44 49 | SIGN, IN THE DI|
000002B0: 53 4B 0D 44 49 52 45 43 54 4F 52 59 2E 20 20 D4 |SK.DIRECTORY. .|
000002C0: 48 49 53 20 4C 49 53 54 49 4E 47 3A 0D 0D 20 20 |HIS LISTING:.. |
000002D0: 20 20 31 33 20 22 D0 D2 CF C7 D2 C1 CD 20 CE C1 | 13 "....... ..|
000002E0: CD C5 22 20 20 20 20 20 D0 D2 C7 3C 0D 0D 53 48 |.." ...<..SH|
000002F0: 4F 57 53 20 54 48 41 54 20 54 48 45 20 31 33 2D |OWS THAT THE 13-|
00000300: 42 4C 4F 43 4B 20 50 52 4F 47 52 41 4D 20 46 49 |BLOCK PROGRAM FI|
00000310: 4C 45 0D 49 53 20 4C 4F 43 4B 45 44 2E 0D 0D 20 |LE.IS LOCKED... |
00000320: 20 D4 57 4F 20 46 49 4E 41 4C 20 4E 4F 54 45 53 | .WO FINAL NOTES|
00000330: 3A 20 42 45 43 41 55 53 45 20 C4 C9 D3 CB 20 CC |: BECAUSE .... .|
00000340: CF C3 CB C5 D2 0D 57 52 49 54 45 53 20 4E 45 57 |......WRITES NEW|
00000350: 20 43 4F 44 45 53 20 46 4F 52 20 54 48 45 20 50 | CODES FOR THE P|
00000360: 52 4F 47 52 41 4D 20 54 59 50 45 0D 57 48 45 4E |ROGRAM TYPE.WHEN|
00000370: 20 49 54 20 4C 4F 43 4B 53 20 41 20 46 49 4C 45 | IT LOCKS A FILE|
00000380: 2C 20 4D 41 4B 45 20 53 55 52 45 20 54 48 41 54 |, MAKE SURE THAT|
00000390: 0D 54 48 45 20 44 49 53 4B 20 44 4F 45 53 20 4E |.THE DISK DOES N|
000003A0: 4F 54 20 48 41 56 45 20 57 52 49 54 45 2D 50 52 |OT HAVE WRITE-PR|
000003B0: 4F 54 45 43 54 0D 54 41 42 53 2E 20 20 D3 45 43 |OTECT.TABS. .EC|
000003C0: 4F 4E 44 2C 20 44 4F 20 4E 4F 54 20 54 52 59 20 |OND, DO NOT TRY |
000003D0: 54 4F 20 4C 4F 43 4B 20 41 0D 50 52 4F 47 52 41 |TO LOCK A.PROGRA|
000003E0: 4D 20 57 48 49 43 48 20 48 41 53 20 41 4E 20 41 |M WHICH HAS AN A|
000003F0: 53 54 45 52 49 53 4B 20 4E 45 58 54 20 54 4F 0D |STERISK NEXT TO.|
00000400: 54 48 45 20 46 49 4C 45 20 28 2A D0 D2 C7 2C 20 |THE FILE (*..., |
00000410: 46 4F 52 20 45 58 41 4D 50 4C 45 29 2E 20 D4 48 |FOR EXAMPLE). .H|
00000420: 45 0D 41 53 54 45 52 49 53 4B 20 4D 45 41 4E 53 |E.ASTERISK MEANS|
00000430: 20 54 48 41 54 20 54 48 45 20 46 49 4C 45 20 57 | THAT THE FILE W|
00000440: 41 53 0D 4E 45 56 45 52 20 43 4C 4F 53 45 44 20 |AS.NEVER CLOSED |
00000450: 50 52 4F 50 45 52 4C 59 2E 20 C3 4C 4F 53 45 20 |PROPERLY. .LOSE |
00000460: 54 48 45 20 46 49 4C 45 0D 42 45 46 4F 52 45 20 |THE FILE.BEFORE |
00000470: 59 4F 55 20 4C 4F 43 4B 20 49 54 2E 0D 0D 0D C4 |YOU LOCK IT.....|
00000480: C9 D3 CB 20 C6 C9 CC C5 D3 20 D4 C8 C9 D3 20 D0 |... ..... .... .|
00000490: D2 CF C7 D2 C1 CD 20 D5 D3 C5 D3 0D 0D C4 C9 D3 |...... .........|
000004A0: CB 20 CC CF C3 CB 20 20 20 20 20 20 20 20 20 20 |. .... |
000004B0: D4 2E C4 C9 D3 CB 20 CC CF C3 CB 0D 0D 20 20 20 |...... ...... |
000004C0: 20 20 20 20 20 2A 2A 2A 2A 20 C5 4E 44 20 CF 46 | **** .ND .F|
000004D0: 20 D4 45 58 54 20 2A 2A 2A 2A 0D | .EXT ****. |
..^U:HACKER... DISK LOCKER.
BY. RUTH
HICKS...COMMODORE MAGAZINE.MAY 1987...
DISK LOCKER LOCKS FILES AND.PROTECTS PRO
GRAMS AGAINST TAMPERING.OR ACCIDENTAL LO
SS. USING DISK.LOCKER IS SIMPLE: WHEN P
ROMPTED, TELL.THE PROGRAM WHETHER TO LOC
K.INDIVIDUAL PROGRAMS OR ALL OF THE.PROG
RAMS ON A DISK. IF YOU CHOOSE TO.LOCK I
NDIVIDUAL FILES, DISK LOCKER.LISTS THE F
ILES ON THE DISK ONE BY.ONE AND REQUIRES
THAT YOU ANSWER A.PROMPT BEFORE IT CHAN
GES THE FILE..ENTERING "Y" AT THE "CHANG
E THIS FILE...." PROMPT WILL LOCK THE FI
LE IF.IT'S UNLOCKED, AND UNLOCK THE FILE
IF.IT'S LOCKED... LOCKED FILES ARE MAR
KED BY A WEDGE.(<), OR LESS THAN SIGN, I
N THE DISK.DIRECTORY. THIS LISTING:..
13 "PROGRAM NAME" PRG<..SHOWS THAT
THE 13-BLOCK PROGRAM FILE.IS LOCKED...
TWO FINAL NOTES: BECAUSE DISK LOCKER.WR
ITES NEW CODES FOR THE PROGRAM TYPE.WHEN
IT LOCKS A FILE, MAKE SURE THAT.THE DIS
K DOES NOT HAVE WRITE-PROTECT.TABS. SEC
OND, DO NOT TRY TO LOCK A.PROGRAM WHICH
HAS AN ASTERISK NEXT TO.THE FILE (*PRG,
FOR EXAMPLE). THE.ASTERISK MEANS THAT TH
E FILE WAS.NEVER CLOSED PROPERLY. CLOSE
THE FILE.BEFORE YOU LOCK IT....DISK FILE
S THIS PROGRAM USES..DISK LOCK
T.DISK LOCK.. **** END OF TEXT **
**.
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL