Results 1 to 3 of 3

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

  1. #1
    Maxima's Barber

    Join Date
    Aug 2004
    Location
    France

    Posts
    2,366

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

    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
    may the schwartz be with you

  2. #2
    Divine Hand of the UniBIOS
    Razoola's Avatar
    Join Date
    Nov 2002
    Location
    Finland, Earth

    Posts
    4,483
    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
    THE UNIVERSE BIOS ( MVS / AES, and now also for CD )
    www.universebios.com. Also on facebook, please like http://www.facebook.com/UniverseBios.

  3. #3
    Maxima's Barber

    Join Date
    Aug 2004
    Location
    France

    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 by PinkPeach; 10-12-2004 at 07:23 PM.
    may the schwartz be with you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •