Schrijver
| Disk access for ROM programs
|
pitpan msx master Berichten: 1368 | Geplaatst: 07 Mei 2005, 14:43   |
Hello everyone!
I'm currently developing the Karoshi PSG Tracker, a support tool for the Karoshi PSG Player, a compact but powerfull replayer specially aimed for MSX game development.
The problem is that I am not familiar with disk programming for MSX. Of course, I could do the tracker as a .COM file running under MSX-DOS, but my question is how should I have access to disk drive without using DOS?
Shall I try to use the MSX DISK BASIC hooks to make it fully compatible? Or is there a better way to do so? There aren't many ROM titles with disk functionality.
I'm open to suggestions! This knowledge would be also useful to improve the Karoshi games with disk support routines.
|
|
BiFi msx guru Berichten: 3142 | Geplaatst: 07 Mei 2005, 18:23   |
It's not that hard to do actually. Have the init set up the H.STKE hook to continue with the rest of the init... It'll init the disk interface and continue with the game after that.
After that, you can do BDOS functions to access disk. The address for the routine to do BDOS function calls is $F37D. Info on BDOS can be found on the MSX Assembly Page.
I hope this helps... |
|
|
|
|