This week I build myself the floppy disk controller. While I'm still waiting for delivery of tow TEAC FD-235HG 3.5" drives ordered from Fleabay (hope they're any good) I have substituted them with a single NEC FD-1231H 3.5" drive I had lying around. MITS firmware loaded on the controller card, only J3 on, all DIP switches to off, and using HD floppies.
Basically, it works! Almost, but I can't tell if what doesn't work is related to the NEC floppy drive until I get my hands on the TEAC drives, or I'm doing something else stupid.
I (of course) have removed the floppy disk images in the AD settings, and boot to CP/M on HDISK03 (CP/M 2.2b for Hard Disk).
As I am on Linux, I use picocom to connect to the AD:
sudo picocom -b 9600 -s "sx -b -vv -X" -v "rx -b -vv -X" /dev/ttyACM0
I can format a floppy, and read from and write to it:
Xmodem transfers work, that's how I got PC2FLOP on the HD image in the first place. However, when I use PC2FLOP this happens:
From the moment I type 'C' CP/M freezes. I can still tell picocom to start sending a file but as can be seen nothing happens, it just froze the moment the C drive was selected. The "Give your local XMODEM receive command now" message is I believe a standard message printed by sx (the Xmodem send executable). CP/M only comes back to life with a reset on the AD.
Similar story with the monitor. Connecting to it with this picocom session:
sudo picocom -b 115200 -s "sx -b -vv -X" -v "rx -b -vv -X" /dev/ttyUSB0
Looks fine, I would say:
Checking rotation looks okay too, I guess:
I can start and stop the motor, read and write sectors, etc, no problem. But again copying a floppy disk image fails:
Even before I can tell picocom to start sending the file, the monitor starts printing C's (checksum errors?). And when I give picocom the send command it immediately prints the NAK errors, up to the "exit status" message.
I keep trying, but I'm running out of ideas on how to get a floppy image onto a physical floppy disk. And hoping that once the TEAC drives arrive I can Xmodem to my delight! But it would be nice to understand what actually is wrong here.