sverx

Results 97 comments of sverx

I see what you mean! Well, I'd say I want definitely start with something simple, so I will read those arrows+home+ins as a joypad simulation, and we could then expand...

Are there two different keyboard keys that gets mapped to the right trigger? :thinking: edit: ... and also two for left trigger? Should I consider both?

OK I think this should be correct: ``` unsigned char SG_readKeyboardJoypad (void) { unsigned char joypad=0; // all keys not pressed unless some detection happens SC_PPI_C=0x06; // we'll read row...

Thank you, will merge it later!

I'm checking this and I'm trying to figure if it would still support looping points and compressed data correctly. I seem to have found where the new code saves the...

oh, wait, I think I have found it. I also think you meant bit 15 and 14 here: ``` ; Restrict to slot 2 (bit 16 set, bit 15 cleared)...

> In theory the limit in size is now 64kB if the song is compressed (substring offset is 16 bit), but I suspect this could be worked around by not...

No worries! Thanks for fixing that. Still one possible `RET z` here: ``` jp z, _nobankchangeC res 6,h ; Reset the bit (back to slot 2) inc a ; And...

One more question... When using PSGlib with ROM mapping, the programmer has to map the correct ROM bank where the song is stored before calling `PSGFrame`, like this: ``` SMS_mapROMBank(current_song_bank);...