mirror of https://github.com/bsnes-emu/bsnes.git
![]() byuu says: Most importantly ... I'm now using "st018.rom" which is the program ROM + data ROM in one "firmware" file. Since all three Seta DSPs have the ST01N stamp, unlike some of the arcade variants, I'm just going to go with ST01N from now on instead of ST-001N. I was using the latter as that's what Overload called them. Moving on ... The memory map should match real hardware now, and I even match the open bus read results. I also return the funky 0x40404001 for 60000000-7fffffff, for whatever that's worth. The CPU-side registers are also mirrored correctly, as they were in the last WIP, so we should be good there. I also simulate the reset pulse now, and a 0->!0 transition of $3804 will destroy the ARM CPU thread. It will wait until the value is set back to zero to resume execution. At startup, the ARM CPU will sleep for a while, thus simulating the reset delay behavior. Still need to figure out the exact cycle length, but that's really not important for emulation. Note in registers.hpp, the |4 in status() is basically what allows the CPU program to keep going, and hit the checkmate condition. If we remove that, the CPU deadlocks. Still need to figure out how and when d4 is set on $3804 reads. I can run any test program on both real hardware and in my emulator and compare results, so by all means ... if you can come up with a test, I'll run it. |
||
---|---|---|
bsnes | ||
snesfilter | ||
snespurify | ||
snesshader |