Commodore 128 Easter Egg - Commodore 1581 Disk Drive Credits Command

Because of the RAM shortage in early PETS (8K!) Commodore disk drives were little computers in themselves with DOS in ROM and you would send commands to them and then read the error channel to see how the disk drive had carried out or failed to carry out the command. You could tell the disk drive to format a floppy, unplug it from the computer and it would continue the task. The 1581, a 3 1/2" MFM disk drive, made primarily for the C'128, had easter egg commands.

100 input "Device number of 1581";dv
110 rem first disk drive = 8, 1581 usually dv = 9
120 open 1,dv,15: rem 15 = command channel
130 for i=1 to 2
140 read cm$
150 data uj,uk
160 print#1,cm$: REM send the command to the drive
170 input#1,a$,b$,c,d
180 Rem get the error channel output
190 Rem a$ = command error number but may be 7: here
200 Rem b$ = descriptive error
210 Rem c, d = track, sector #--0,0 here
220 print a$,b$,c,d
230 next

Command: "UJ" or "U:"
Error: 79,software david siracusa. hardware greg berlin,0,0

Command; "UK" or "U;"
Error: 7:,dedicated to my wife lisa,0,0

Note--no, I didn't remember the strings since my 1581 went away MANY years ago. I got the ROM listings from ftp.funet.fi.

User Rating:
7.2
  7.2/10 with 48 votes
Contributed By: Anonymous on 06-04-2000
Reviewed By: Webmaster
Special Requirements: 1581, controlling computer such as '128
Please correct this Egg if you see errors.

Pictures and Videos

None posted yet. Send us yours and be the first!

Comments



Register - Privacy Policy - About Us - Contact Us