The driver gets installed correctly, and my MDRIVE is recognized.
but I think that I might have missed something because after running MFORM I get sector error
when trying to get a directory listing.
I am now writing a memory test program to check all sectors. I did a very simple test that writes track zero sector zero
and reads the sector back using DDT.
I will upload to GitHub what I have written so far, as another set of eye’s might help with the error.
The code is in three parts,
the first is the actual driver, that you assemble at ORG 0, save as MDISK000.COM, then assemble at ORG 100 and save as
MDISK100.com.
next is the loader program L-MDRIVE.COM, and last is a generator program G-MDRIVE.COM that takes the driver MDISK000 and MDISK100 reads the L-MDRIVE.COM and writes out a MDRIVE.COM program for you.
the source code has comments on how to build the program.
I have put in support for multiple M-DRIVE/H cards but it is crude, as it currently requires patching one byte
that tells the program how many cards are installed. Maybe latter code to to set this will be added, I left a stub for it.