Changes:
- Re-fixed RSP single-step activation behavior
- Reading the RSP PC returns only the least significant 12 bits
- Fixed flag behavior when read out via CFC2
Oh God, why Nintendo, why? Why make the RSP immediately stop when the main CPU sets single-stepping, but have the RSP execute one instruction before entering single-stepping mode when it sets it on itself? "You manaics! Damn you! God damn you all to hell!"
Changes:
- Initialize RSP registers to 0 in lieu of mame_rand
- Re-fix RSP single-stepping mode when set by a CPU other than the RSP
* 8085 has an internal clock divider by 2. Changed i8085.c to reflect this for I8085. I8080 still at 1.
Games using I8085:
* Changed clock to reflect internal clock divider now in i8085.c
* Added some FIXME: comments where clocks for I8085 are outside specs
Also note that there is no analog sound. Apparently the sound is similar to the regular Space Invaders sounds. The Guru has the board out and hooked up if anyone wants to take a stab at getting the sounds going in this game.
Back to fixing some bugs...
Quite possibly the most useless RSP change I'll ever make, given that no game should ever be affected by these changes. But, eh, accuracy. Apparently only the accumulator registers are initialized to a non-random value on power-on, and apparently the RSP executes exactly one instruction before kicking over into single-step mode when it's set in the status register.
- Fixed accumulator state on powerup by testing against real hardware
- Fixed single-step behavior by testing against real hardware
Added new clone "Player's Edge Plus (XMP00006) Multi-Poker"
Increased DUART memory size
Minor white space clean up & commented the rom defs with game names.
The system 10 & 12 clock speeds have been raised as they run on an upgraded chipset.
All clocks are currently set to divide by 2 externally, I don't know if this is correct.
The clock is also divided internally as we have no wait states, incorrect dma timing, no gpu timing, no dma bus stealing and no gte timing.
Subject: fix for cocktail0119yel
Credit should go to Robbert.
"frogger.c, amidar.c, scramble.camidar.c, frogger.c (all sets),
galaxian.c (froggs at least), scramble.c (scramble+many sets): When it is player
2's turn and the screen is flipped it is offset so that the scores sit in
the middle of the screen."
--
Subject: fix for tokisens0122u3gra
"system1.c tokisens: demo sounds on/off dip swapped around."
Subject: Fixed DBREED72 crash in 0.122u5
Hello. This patch fixes the crash of DBREED72 in m72.c driver caused by
two lines mistakenly removed during the last 0.122u5 update.