Merge roms and disassemble
When the Special Series machine is running in the emulator, when you open the debug page under main board you can see the rom program running in memory with the various assembler code commands being run. These scroll up and down the page at the emulator executes the commands.
The roms that I have downloaded need to be merged in to one file to make the disassembly simpler. This is done by the following dos command to join the two files in the right order as one:
"Copy /b SPIS9F.P2 + SPIS9F.P1 SPIS9F.BIN"
This command created a singular file SPIS9F.BIN that I loaded in to the emulator to check. All was fine.
The MPU3 uses a Motorola 6800 processor. I found that a good disassembler is a program called f9dasm.exe that is open source from Github, https://github.com/Arakula/f9dasm I attach an executable copy for ease.
The command I used to disassemble the rom is:
"F9dasm -offset 6000 spls9f.bin > spls9f2.txt"
This disassembles the rom file and stores the output in to the TXT file. File is as attached and you will see the memory addresses from the emulator debug page that aligns with the sequence of assembler code in the txt file. I used the -offset of 6000 to align the memory addresses.
Now we need to try to find the checksum routine to allow changes to be made to the code, then to find the code for the auto collect on the roulette gamble.
The routine for the gamble auto collect can be found by running the emulator and try to pause the code when the routine happens and try to understand what the code is doing.
To move this on will be trial and error for me, so any help now for experienced programmers or rom hackers would be appreciated to move this forward 🙂
f9dasm.zip
spls9f2.txt
spls9f.zip