- a main loop
- lots of logging functions
- a function to translate the active phase line to an absolute track location on the disk image
- a function to load a NIC disk image file from disk and break it into tracks
- a function to convert a bit of disk data into four bits of SPI data that hopefully conforms to the Disk ][ read pulse
If you are keeping score, my goal was to have a disk emulator that did not use a special image format, did not need a connection to another computer, and could use SD cards. At this point, the disk emulator doesn't work, it uses a special image format, it requires a USB connection to another computer, and it does not use SD cards. UGH. At least I still have a few weeks. No time to fix it this weekend, family stuff to do.