Previous 15994 Revisions Next

r9328 Wednesday 6th October, 2010 at 10:03:34 UTC by Michael Zapf
Added presets for status registers 4 and 6
[src/emu/video]v9938.c

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

Previous 15994 Revisions Next


© 1998-2018 The MESS Team