Disk access for ROM programs (Development MSX Fora)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 127 gasten en 5 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Disk access for ROM programs

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...
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.