_  __   _  _         _ _     _      _           _           
  __| |/ /_ | || |     __| (_)___| | __ (_)_ __   __| | _____  __
 / _` | '_ \| || |_   / _` | / __| |/ / | | '_ \ / _` |/ _ \ \/ /
| (_| | (_) |__   _| | (_| | \__ \   <  | | | | | (_| |  __/>  < 
 \__,_|\___/   |_|    \__,_|_|___/_|\_\ |_|_| |_|\__,_|\___/_/\_\
                                                                 
            

81BUG.BAS

FILE INFORMATION

FILENAME(S): 81BUG.BAS

FILE TYPE(S): PRG

FILE SIZE: 1017b

FIRST SEEN: 2025-10-19 22:35:36

APPEARS ON: 4 disk(s)

FILE HASH

05cf08b0ced519cb1de9b3ab255d0707c0df07d034057c0e40a67e07e9d401ab

FOUND ON DISKS (4 DISKS)

DISK TITLE FILENAME FILE TYPE COLLECTION TRACK SECTOR ACTIONS
OPERATION WOLF 81BUG.BAS PRG Radd Maxx 30 3 DOWNLOAD FILE
PB DOMAIN 0025UT 81BUG.BAS PRG Treasure Chest - Klaus Der Suhler 24 11 DOWNLOAD FILE
TALENTED RULERZ 81BUG.BAS PRG High Voltage Complete C64 Collection 4 0 DOWNLOAD FILE
MORE STUFF 4 BUD 81BUG.BAS PRG Sailor, Ganheden 34 0 DOWNLOAD FILE

FILE CONTENT & ANALYSIS

00000000: 01 1C 0E 1C 64 00 99 20  C7 28 31 34 37 29 00 36  |....d.. .(147).6|
00000010: 1C 6E 00 99 20 22 54 48  49 53 20 50 52 4F 47 52  |.n.. "THIS PROGR|
00000020: 41 4D 20 44 45 4D 4F 4E  53 54 52 41 54 45 53 20  |AM DEMONSTRATES |
00000030: 41 20 42 55 47 22 00 59  1C 78 00 99 20 22 57 49  |A BUG".Y.x.. "WI|
00000040: 54 48 20 20 54 48 45 20  31 35 38 31 20 44 49 53  |TH  THE 1581 DIS|
00000050: 4B 20 44 52 49 56 45 2E  22 00 5F 1C 82 00 99 00  |K DRIVE."._.....|
00000060: 82 1C 8C 00 99 20 22 54  52 59 20 52 55 4E 4E 49  |..... "TRY RUNNI|
00000070: 4E 47 20 49 54 20 4F 4E  43 45 20 41 53 20 49 53  |NG IT ONCE AS IS|
00000080: 2E 22 00 9D 1C 96 00 99  20 22 4E 4F 20 50 52 4F  |."...... "NO PRO|
00000090: 42 4C 45 4D 53 20 52 49  47 48 54 3F 22 00 C9 1C  |BLEMS RIGHT?"...|
000000A0: A0 00 99 20 22 43 41 4E  20 59 4F 55 20 53 45 45  |... "CAN YOU SEE|
000000B0: 20 41 4E 59 54 48 49 4E  47 20 57 52 4F 4E 47 20  | ANYTHING WRONG |
000000C0: 57 49 54 48 20 49 54 3F  22 00 CF 1C AA 00 99 00  |WITH IT?".......|
000000D0: FB 1C B4 00 99 20 22 4E  4F 57 20 54 52 59 20 43  |..... "NOW TRY C|
000000E0: 48 41 4E 47 49 4E 47 20  54 48 45 20 4F 50 45 4E  |HANGING THE OPEN|
000000F0: 20 53 54 41 54 45 4D 45  4E 54 22 00 23 1D BE 00  | STATEMENT".#...|
00000100: 99 20 22 49 4E 20 4C 49  4E 45 20 31 30 30 30 20  |. "IN LINE 1000 |
00000110: 53 4F 20 54 48 41 54 20  49 54 20 55 53 45 53 20  |SO THAT IT USES |
00000120: 41 20 22 00 42 1D C8 00  99 20 22 53 45 43 4F 4E  |A ".B.... "SECON|
00000130: 44 41 52 59 20 41 44 44  52 45 53 53 20 4F 46 20  |DARY ADDRESS OF |
00000140: 31 22 00 6C 1D D2 00 99  20 22 54 48 49 53 20 54  |1".l.... "THIS T|
00000150: 49 4D 45 20 52 55 4E 20  49 54 20 4F 4E 20 41 20  |IME RUN IT ON A |
00000160: 53 43 52 41 50 20 44 49  53 4B 2C 22 00 94 1D DC  |SCRAP DISK,"....|
00000170: 00 99 20 22 42 45 43 41  55 53 45 20 54 48 45 20  |.. "BECAUSE THE |
00000180: 46 49 4C 45 20 57 49 4C  4C 20 4F 56 45 52 57 52  |FILE WILL OVERWR|
00000190: 49 54 45 22 00 BF 1D E6  00 99 20 22 54 48 45 20  |ITE"...... "THE |
000001A0: 42 41 4D 20 41 4E 44 20  54 48 45 20 44 49 53 4B  |BAM AND THE DISK|
000001B0: 20 47 45 54 53 20 54 52  41 53 48 45 44 21 22 00  | GETS TRASHED!".|
000001C0: C5 1D F0 00 99 00 E8 1D  FA 00 99 20 22 49 20 44  |........... "I D|
000001D0: 4F 4E 27 54 20 4B 4E 4F  57 2E 2E 2E 59 4F 55 20  |ON'T KNOW...YOU |
000001E0: 54 45 4C 4C 20 4D 45 3F  00 F4 1D 04 01 9B 20 31  |TELL ME?...... 1|
000001F0: 30 30 30 AB 00 FA 1D 0E  01 80 00 00 1E 22 01 8F  |000.........."..|
00000200: 00 2F 1E 2C 01 8F 20 4D  59 20 47 55 45 53 53 20  |./.,.. MY GUESS |
00000210: 49 53 20 54 48 41 54 20  54 48 45 20 38 31 20 41  |IS THAT THE 81 A|
00000220: 53 53 55 4D 45 53 20 54  48 41 54 20 41 4E 59 00  |SSUMES THAT ANY.|
00000230: 5E 1E 36 01 8F 20 54 49  4D 45 20 59 4F 55 20 4F  |^.6.. TIME YOU O|
00000240: 50 45 4E 20 41 20 46 49  4C 45 20 57 49 54 48 20  |PEN A FILE WITH |
00000250: 53 41 3D 31 20 20 54 48  41 54 20 59 4F 55 00 89  |SA=1  THAT YOU..|
00000260: 1E 40 01 8F 20 57 49 4C  4C 20 43 4C 4F 53 45 20  |.@.. WILL CLOSE |
00000270: 54 48 45 20 46 49 4C 45  20 42 45 46 4F 52 45 20  |THE FILE BEFORE |
00000280: 54 52 59 49 4E 47 20 54  4F 00 B8 1E 4A 01 8F 20  |TRYING TO...J.. |
00000290: 41 43 43 45 53 53 20 41  4E 59 20 4F 54 48 45 52  |ACCESS ANY OTHER|
000002A0: 20 46 49 4C 45 53 2E 20  28 4C 49 4B 45 20 57 49  | FILES. (LIKE WI|
000002B0: 54 48 20 53 41 56 45 29  00 BE 1E 54 01 8F 00 EB  |TH SAVE)...T....|
000002C0: 1E 5E 01 8F 20 53 49 4E  43 45 20 55 53 49 4E 47  |.^.. SINCE USING|
000002D0: 20 41 4E 20 53 41 20 4F  46 20 31 20 57 41 53 20  | AN SA OF 1 WAS |
000002E0: 46 4F 55 4E 44 20 54 4F  20 42 45 00 18 1F 68 01  |FOUND TO BE...h.|
000002F0: 8F 20 41 20 27 46 49 58  27 20 54 4F 20 54 48 45  |. A 'FIX' TO THE|
00000300: 20 31 35 37 31 27 53 20  53 45 43 4F 4E 44 20 53  | 1571'S SECOND S|
00000310: 49 44 45 20 53 4C 4F 57  00 45 1F 72 01 8F 20 44  |IDE SLOW.E.r.. D|
00000320: 4F 57 4E 20 50 52 4F 42  4C 45 4D 2C 20 54 48 49  |OWN PROBLEM, THI|
00000330: 53 20 42 55 47 20 4D 41  59 20 54 55 52 4E 20 4F  |S BUG MAY TURN O|
00000340: 55 54 20 54 4F 00 6E 1F  7C 01 8F 20 42 45 20 41  |UT TO.n.|.. BE A|
00000350: 20 50 41 52 54 49 43 55  4C 41 52 4C 59 20 44 45  | PARTICULARLY DE|
00000360: 56 41 53 54 41 54 49 4E  47 20 4F 4E 45 2E 00 74  |VASTATING ONE..t|
00000370: 1F 86 01 8F 00 91 1F E8  03 9F 20 32 2C 38 2C 32  |.......... 2,8,2|
00000380: 2C 22 57 52 49 54 45 20  46 49 4C 45 2C 50 2C 57  |,"WRITE FILE,P,W|
00000390: 22 00 A4 1F F2 03 9F 20  31 2C 38 2C 30 2C 22 24  |"...... 1,8,0,"$|
000003A0: 30 3A 2A 22 00 C1 1F FC  03 A1 23 31 2C 41 24 3A  |0:*"......#1,A$:|
000003B0: 53 B2 53 54 3A 8B 20 53  B2 30 20 A7 20 31 30 32  |S.ST:. S.0 . 102|
000003C0: 30 00 C9 1F 06 04 A0 20  31 00 E2 1F 10 04 98 32  |0...... 1......2|
000003D0: 2C 22 4F 4E 45 22 3A 98  32 2C 22 54 57 4F 22 3A  |,"ONE":.2,"TWO":|
000003E0: A0 32 00 F6 1F 1A 04 8F  20 30 34 2F 30 39 2F 38  |.2...... 04/09/8|
000003F0: 37 20 2D 20 43 53 00 00  00                       |7 - CS...       |
....D.. G(147).6.N.. "THIS PROGRAM DEMON
STRATES A BUG".Y.X.. "WITH  THE 1581 DIS
K DRIVE."._.......... "TRY RUNNING IT ON
CE AS IS."...... "NO PROBLEMS RIGHT?".I.
 .. "CAN YOU SEE ANYTHING WRONG WITH IT?
".O.......... "NOW TRY CHANGING THE OPEN
 STATEMENT".#.... "IN LINE 1000 SO THAT 
IT USES A ".B.H.. "SECONDARY ADDRESS OF 
1".L.R.. "THIS TIME RUN IT ON A SCRAP DI
SK,"...... "BECAUSE THE FILE WILL OVERWR
ITE"...... "THE BAM AND THE DISK GETS TR
ASHED!".E.......... "I DON'T KNOW...YOU 
TELL ME?...... 1000..........".../.,.. M
Y GUESS IS THAT THE 81 ASSUMES THAT ANY.
^.6.. TIME YOU OPEN A FILE WITH SA=1  TH
AT YOU...@.. WILL CLOSE THE FILE BEFORE 
TRYING TO...J.. ACCESS ANY OTHER FILES. 
(LIKE WITH SAVE)...T.....^.. SINCE USING
 AN SA OF 1 WAS FOUND TO BE...H.. A 'FIX
' TO THE 1571'S SECOND SIDE SLOW.E.R.. D
OWN PROBLEM, THIS BUG MAY TURN OUT TO.N.
|.. BE A PARTICULARLY DEVASTATING ONE..T
.......... 2,8,2,"WRITE FILE,P,W"...... 
1,8,0,"$0:*".A....#1,A$:S.ST:. S.0 . 102
0.I...  1......2,"ONE":.2,"TWO": 2......
 04/09/87 - CS...
C64 Preview

> CLICK IMAGE PREVIEW FOR FULL MODAL