#91100

As I might've said earlier on another thread, I'm trying to hack the ZX Spectrum version of Treasure Island Dizzy with the old Warajevo emulator's ZXCOMP application in mind...Specifically to have the graphics look and music sound more like what an 8-bit based IBM PC 5150 version would look like. I figured out the format of the text strings (Spoiler alert: They're in ASCII format, but all spaces are replaced with ":" and ' is ";," so decimal address 56202 would be the Sinclair Abuser Magazine item's name, which is "SINCLAIR:ABUSER:MAG:") already, but now I'm trying to look into muting the ZX Spectrum 128k AY output as soon as the game starts. You might say that it'd be way easier if I was hacking the game in ZX Spectrum 48k mode instead, but I WANT that sampled speech when the game starts darn it! Unfortunately, Warejevo's debugger isn't particularly good, and I can'[t quite make out what to do in Zesarux's debugger either. The most I found out is that decimal address 29342 (That's 729E in hex for every other emulator.) is where the game rests at (With a HALT instruction) to presumably play the game start jingle. Can ya'll point me in the right direction for this, or at least give me a memory address for the music ID so that I can do a breakpoint for that?

 

UPDATE: Actually, I want to share something odd about the code. At decimal address 29176 or hex address 71F8, there's the following piece of code:

PUSH AF
LD A,16
LD BC,32765
OUT (C),A
POP AF
RET

As far as I know, this just sets the RAM mapping to how it is on the Spectrum 48k while setting the ROM to the 48k BASIC ROM as well. As far as I know, only the sampled speech uses more than the 48k pages, unless I'm missing something? I don't know...

👍 0