danielbooneamerica
Experienced Member
I am writing a RAM disk driver and have been researching a question I had while working on this project.
Looking at legacy drivers creating RAM disks on TRSDOS 6 each of them requires their own format program. I am curious about that.
To me if you (or me) were developing a RAM disk driver, we would want it to resemble standard hardware storage as closely as possible. Then you could use existing tools like format on this storage. I would think format would not need know it if it were talking with real hardware or simulated.
It seems even with RAM drives we could simulate things like SEEK, SELECT, STEP, TSTBSY etc.
But looking back, it does not seem it is ever done this way.
I guess that is part of my question; if driver is written correctly, why would tools like format and disk editor made for physical drives not work with virtual drives?
Just curious if others have thoughts about this or tried writing a more universal driver?
Looking at legacy drivers creating RAM disks on TRSDOS 6 each of them requires their own format program. I am curious about that.
To me if you (or me) were developing a RAM disk driver, we would want it to resemble standard hardware storage as closely as possible. Then you could use existing tools like format on this storage. I would think format would not need know it if it were talking with real hardware or simulated.
It seems even with RAM drives we could simulate things like SEEK, SELECT, STEP, TSTBSY etc.
But looking back, it does not seem it is ever done this way.
I guess that is part of my question; if driver is written correctly, why would tools like format and disk editor made for physical drives not work with virtual drives?
Just curious if others have thoughts about this or tried writing a more universal driver?
Last edited: