srowe wrote:[...] I'd forgotten how primitive CBM Basic was. Even printing hex requires a page of code, [...]
WTF? You can do it in two lines of code (see lines 3 and 4 in the example below):
Code: Select all
1 FORB=0TO255:GOSUB3:PRINTB,H$:NEXT:END
2 :
3 H$="":P=INT(B/16):GOSUB4:P=B-16*P
4 H$=H$+CHR$(48+P-7*(P>9)):RETURN
[...] and CRC computation is out of the question as we don't have XOR.
A XOR B can be expressed as either
A AND NOT B OR B AND NOT A, or
(A OR B) AND NOT (A AND B) in BASIC V2.
These two are really non-existent problems when it comes to checking the floppy ROMs. Actually reading out the memory of the drive with 'M-R' over the command channel - that thing is not entirely trivial, but nothing which couldn't be found out by taking a judicious look into the drive manual.
And regarding this:
On power on both green and red LEDs come on along with the drive motor. All three then stay on.
the FAQ in comp.sys.cbm states:
11.1. What do I do for my ill disk drive?
If the drive spins [...] [and i]f both LEDS are on:
Drive did not make it through the power-on reset sequence. Kernal ROM
(901229-05) is sus[pe]ct, as is (in order of expectation): VIA (6522),
CPU (6502), RAM (6116 or equivalent), or a "glue" chip in the reset logic
If your drive won't even accept input from the computer, and the drive
light is making some blinking pattern, then the drive may be telling you
what is wrong.
Did you check the RAM or the mentioned "glue" chip?