|
Post by Scorpion Illuminati on Jul 1, 2017 0:24:46 GMT -5
Wanted to give everyone an update, Sik converted the xgmplayer c code into pure assembly. However for some reason the code doesn't seem to work as the game has gone completely mute. I made a test case of the title screen, game and pause states and removed everything else. Pressing start at the title screen should start a game with the song Twangy Thing by ComradeOj. Pressing start in the middle of the game pauses it. After the song finishes it goes back to the title screen until start is pressed for another go. Source: www.dropbox.com/s/0lcn21uo4vv2sfv/xgmtest.rar?dl=0
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 1, 2017 7:43:32 GMT -5
Stef already wrote the assembly for the driver and wrapped it in BEX functions. You can take those, remove the BEX wrapper and just use the straight ASM code, since all of his functions are ASM functions, this should be a breeze. That's all I did for SecondBASIC (I just need to update the XGM driver to the latest version since the first version of the z80 driver doesn't play nicely on clone hardware).
|
|
|
Post by wraith on Jul 6, 2017 18:42:12 GMT -5
It seems you're trying to play the .XGM file rather than .XGC which the XGMplayer requires.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 7, 2017 6:24:38 GMT -5
Good catch, I didn't even notice that! Hopefully that helps OP out as I'm sure mine wasn't much help lol
|
|