AM_RANGE(0x804030, 0x804031) AM_READ(cps2_qsound_volume_r) < This register is a readable return value from the two Toshiba chips which controls the analog volume.
Don't worry about that as it's just used to draw the volume gauge at the sound test screen.
Asure wrote:@Leo: This one is modded at 0x674 to cmpi.b #$0, D0
Turns out that check is about waiting for the Z80 to put "0x77" at 0xCFFF at it's own memory (that range is shared by Z80 and 68000) so it knows the Z80 is running.
My "decrypted" Z80 rom is not making any sounds yet but apparently it's talking to the 68000 correctly because with it in the zip the game boots with the original " cmpi.b #$77, D0" instruction.
I still need to check if/how the Q sound hardware is mapped to the Z80 memory on CPS-Q hardware.
I also want to mod ZN1/ZN2 sound roms for running on the CPS2.
Now I'm off to the bed. Tomorrow I'll tinker more with this.
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F
00000000 FF FF AA FF AA AA FF AA AA FF AA AA FF AA AA FF ÿÿªÿªªÿªªÿªªÿªªÿ
00000010 AA FF FF FF AA FF AA AA FF AA AA 00 00 00 00 00 ªÿÿÿªÿªªÿªª.....
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 FF FF FF FF AA AA FF FF ........ÿÿÿÿªªÿÿ
00000040 AA AA FF AA FF AA AA FF AA AA FF FF AA AA FF AA ªªÿªÿªªÿªªÿÿªªÿª
00000050 AA FF AA FF FF AA AA FF FF AA FF AA AA FF FF AA ªÿªÿÿªªÿÿªÿªªÿÿª
00000060 AA FF AA AA FF FF FF AA FF AA AA FF AA AA FF AA ªÿªªÿÿÿªÿªªÿªªÿª
00000070 AA FF FF FF FF FF FF AA FF AA FF AA AA FF AA AA ªÿÿÿÿÿÿªÿªÿªªÿªª
00000080 FF AA AA FF FF AA FF FF AA FF AA FF AA FF AA AA ÿªªÿÿªÿÿªÿªÿªÿªª
00000090 FF AA AA FF AA AA FF FF AA FF FF AA FF AA FF AA ÿªªÿªªÿÿªÿÿªÿªÿª
000000A0 AA FF AA AA FF AA FF AA AA FF AA AA FF AA AA FF ªÿªªÿªÿªªÿªªÿªªÿ
000000B0 AA AA FF AA FF FF FF FF FF FF FF FF AA AA FF AA ªªÿªÿÿÿÿÿÿÿÿªªÿª
000000C0 AA FF AA AA FF AA FF FF FF FF FF FF FF FF AA AA ªÿªªÿªÿÿÿÿÿÿÿÿªª
000000D0 FF AA AA FF AA AA FF FF AA AA FF FF AA AA FF AA ÿªªÿªªÿÿªªÿÿªªÿª
000000E0 AA FF AA FF AA AA FF FF AA AA FF AA FF FF AA FF ªÿªÿªªÿÿªªÿªÿÿªÿ
000000F0 FF AA AA FF FF FF FF AA AA FF FF AA AA FF AA AA ÿªªÿÿÿÿªªÿÿªªÿªª
00000100 FF FF AA FF FF AA AA FF FF AA FF FF AA FF FF AA ÿÿªÿÿªªÿÿªÿÿªÿÿª
00000110 FF AA AA FF AA AA FF FF AA FF AA AA FF AA AA FF ÿªªÿªªÿÿªÿªªÿªªÿ
00000120 FF AA FF FF AA FF AA AA FF AA AA FF AA AA FF AA ÿªÿÿªÿªªÿªªÿªªÿª
00000130 FF AA AA FF FF FF FF AA FF FF AA AA FF AA AA FF ÿªªÿÿÿÿªÿÿªªÿªªÿ
00000140 AA AA FF FF AA AA FF FF AA AA FF AA AA FF AA AA ªªÿÿªªÿÿªªÿªªÿªª
00000150 FF FF FF FF AA FF AA AA FF AA AA FF FF AA AA 00 ÿÿÿÿªÿªªÿªªÿÿªª.
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000170 00 00 FF AA AA FF FF AA AA FF AA AA FF FF AA AA ..ÿªªÿÿªªÿªªÿÿªª
00000180 FF FF FF FF AA AA FF AA AA FF AA AA FF AA AA FF ÿÿÿÿªªÿªªÿªªÿªªÿ
00000190 AA AA FF AA AA FF FF FF AA FF FF AA AA FF FF AA ªªÿªªÿÿÿªÿÿªªÿÿª
000001A0 FF AA AA FF AA FF AA AA FF FF FF FF FF AA FF FF ÿªªÿªÿªªÿÿÿÿÿªÿÿ
000001B0 AA AA FF AA AA FF FF FF FF FF AA FF FF AA FF FF ªªÿªªÿÿÿÿÿªÿÿªÿÿ
000001C0 FF FF 00 FF FF FF FF AA AA FF FF FF FF FF FF FF ÿÿ.ÿÿÿÿªªÿÿÿÿÿÿÿ
000001D0 FF FF FF AA FF FF FF FF FF AA AA FF AA AA FF AA ÿÿÿªÿÿÿÿÿªªÿªªÿª
000001E0 AA FF FF AA AA FF AA FF AA AA FF AA AA FF FF AA ªÿÿªªÿªÿªªÿªªÿÿª
000001F0 AA FF AA FF FF FF AA FF FF AA AA FF AA AA FF FF ªÿªÿÿÿªÿÿªªÿªªÿÿ
Very tempting too, dangling the carrot in front of us like that.
consider it as a contest / competition
I'm enjoying it because it's encouraging us to look into how the games work under the hood.
And you're awesome for making it happen nonetheless. I heard on the forum you've been working on this for quite a while now?
I want to do things like add the YM2151 and OKI ADPCM to the CPS2 so we can enjoy these games with their original sound.
So yes, we will keep working this out and hopefully get something out of it.
Awesome work, guys. The SF2CE isn't 100% (see the score board after demo gameplay, for one), but it's pretty dang close!
I hope some of the 'gotta find out how the game works underneath' gets documented, rather than secreted away - some people would find it immensely interesting, and undoubtedly would be very useful for future work. I understand some people simply like to hoard knowledge though
neocps1 wrote:i prefer to let you try. this way maybe you will have new ideas ?
after all, like azure said, "it cannot be that hard"
Decrypting the Q-SOUND rom is being enough of a challenge so far.
So I totally get where you're coming from with that.
I plan on adding the real chips. Since the Z80 in the A Board is socketed we could just put a CPU to CPU socket board and have the Z80 moved to the new board.
That's pretty much how new features would be added to Commodore computers (C64, Amiga)...
In it have the sound chips added. Even if it's just FM synth, it's still something (Ghouls and Ghosts/Daimakaimura need only FM synth, no ?)
neocps1 wrote:Now with sound using super street fighter 2 QSound program and roms. Took a while since I had to make
the match between sf2ce and ssf2t sound codes
I assume it was easier mod the 68000 program side, right ?
neocps1 wrote:what other solution without modifying the hardware ?
You can either mod the Z80 driver so sound codes match the sound commands the 68000 sends or you can mod the commands the 68000 send so they match what the Z80 driver expect.