Previous 15994 Revisions Next

r8244 Monday 7th June, 2010 at 20:49:24 UTC by Michael Zapf
Added presets of status registers 4 and 6
[src/emu/video]v9938.c

src/emu/video/v9938.c
r8243r8244
576576   vdp->INT = 0;
577577   vdp->read_ahead = 0; vdp->address_latch = 0; /* ??? */
578578   vdp->scanline = 0;
579
580   // MZ: The status registers 4 and 6 hold the high bits of the sprite
581   // collision location. The unused bits are set to 1.
582   // SR3: x x x x x x x x
583   // SR4: 1 1 1 1 1 1 1 x
584   // SR5: y y y y y y y y
585   // SR6: 1 1 1 1 1 1 y y   
586   // Note that status register 4 is used in detection algorithms to tell
587   // apart the tms9929 from the v99x8.
588   
589   // TODO: SR3-S6 do not yet store the information about the sprite collision
590   vdp->statReg[4] = 0xfe;
591   vdp->statReg[6] = 0xfc;
579592}
580593
581594static void v9938_check_int (running_machine *machine)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team