Schrijver
| Direct disk access
|
Alexandre_Taito msx freak Berichten: 183 | Geplaatst: 15 Maart 2006, 05:59   |
Can anyone direct me to some knowledge about accessing the MSX disk drive directly, without using BIOS?
I need to read/write entire tracks on disk without buffering/intervention of the BIOS. I know this is not the "official" way, but this is needed for a drive alignment program.
thanks and greetings from Brazil!
|
|
zeilemaker54 msx lover Berichten: 97 | Geplaatst: 15 Maart 2006, 07:35   |
Direct access without the bios is not easy, because you have to program the diskcontroller directly. But there are various diskcontrollers used in MSX-land, so you need to figure out which controller is used. And you need different code for each controller.
The WD2793/WD1793 is frequently used in non Panasonic MSX computers (at address &H7FF8 mostly, sometimes at address &H7F80, sometimes at I/O &HD0). Panasonic MSX computers have the TC8566AF at &H7FF8, Panasonic MSX Turbo-R also has the TC8566AF, but at &H7FF2. May be future MSX versions use a different controller.....
So the bottomline: it is not easy, but it can be done.
|
|
ro msx guru Berichten: 2315 | Geplaatst: 15 Maart 2006, 11:06   |
yeah, but HOW TO was the question. I know, arjen, you're working on such routines already 
why not share'm with alexandre. Alex Wulms (xelasoft) did simular with his fastcopy program, you can load different diskrom drivers. check that program!
greets, roman |
|
|
|
|