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