[coding] Razoola -or someone else- i need your help T_T

barf

Maxima's Barber
Joined
Aug 10, 2004
Posts
2,366
Would you be so kind as helping me on a neogeo programming point ?

I would like to execute music play requests from within my homebrew game.
Could someone point me out how to do this ? I guess i have to send few commands to the Z80 to tell it what track in the sound program to run but i don t know how to do this.

Thank you in advance , and even if you cannot(or do not want to) tell you still deserve a thank you :)
 

Razoola

Divine Hand of the UniBIOS,
Staff member
20 Year Member
Joined
Nov 12, 2002
Posts
4,662
If your allowing the bios to init the sound than you simply need to send 0x07 and then the track number. With most games there will be a tune at 0x07 0x21.

You must send both bytes to address 0x320000 and there must be a delay between sending each value (a couple of frames will do it).

Raz
 

barf

Maxima's Barber
Joined
Aug 10, 2004
Posts
2,366
Thank you for the fast answer ! I will implement this tomorrow (time to sleep) :)

edit: i couldn t find sleep so i did it and it works ! thank you so much :)
 
Last edited:
Top