Fixed Virtual Boy regression with Red Alarm & Space Invaders

This commit is contained in:
Angelo Salese 2013-02-13 14:12:52 +00:00
parent 8c6495b45b
commit 8595a77298

View File

@ -8,6 +8,8 @@
and http://www.vr32.de/modules/dokuwiki/doku.php?
TODO:
- sound is way incomplete
- various timing issues (irq & events aren't known)
- 3dtetris: missing gfxs on gameplay (writes to framebuffer)
- boundh: game is way too fast
- galactic: ball goes out of bounds sometimes?
@ -17,8 +19,6 @@
- redalarm: gameplay doesn't work
- spaceinv: Taito logo only if you press the button, framebuffer?
- spaceinv: missing shots
- telerobo: crashes if you die
- telerobo: hangs after winning first match;
- vlab: doesn't boot (irq issue?)
- wariolnd: brightness gets suddently darker during intro.
@ -142,7 +142,7 @@ public:
m_vboy_regs.tlb = 0;
m_vboy_regs.tcr = 0;
m_vboy_regs.wcr = 0;
m_vboy_regs.kcr = 0;
m_vboy_regs.kcr = 0x80;
m_vboy_timer.count = 0;
m_vboy_timer.latch = 0;
@ -1196,7 +1196,7 @@ void vboy_state::machine_reset()
m_vboy_regs.thb = 0xff;
m_vboy_regs.tcr = 0xe4;
m_vboy_regs.wcr = 0xfc;
m_vboy_regs.kcr = 0x4c;
m_vboy_regs.kcr = 0x4c | 0x80;
m_vip_regs.DPCTRL = 2; // ssquash relies on this at boot otherwise no frame_start irq is fired
m_displayfb = 0;
m_drawfb = 0;