Previous 15994 Revisions Next

r14390 Wednesday 8th February, 2012 at 20:05:54 UTC by Wilbert Pol
isa_mda.c: Added (fake) implementation of the pixel stream bit in the status register. (nw)
[src/mess/video]isa_mda.c isa_mda.h

src/mess/video/isa_mda.c
r14389r14390
194194   mode_control = 0;
195195   vsync = 0;
196196   hsync = 0;
197   m_pixel = 0;
197198
198199   astring tempstring;
199200   chr_gen = machine().region(subtag(tempstring, "gfx1"))->base();
r14389r14390
422423 */
423424READ8_MEMBER( isa8_mda_device::status_r)
424425{
425   return 0x08 | hsync;
426   // Faking pixel stream here
427   m_pixel++;
428
429   return 0xF0 | (m_pixel & 0x08) | hsync;
426430}
427431
428432
src/mess/video/isa_mda.h
r14389r14390
4949      UINT8   vsync;
5050      UINT8   hsync;
5151      UINT8  *videoram;
52      UINT8   m_pixel;
5253};
5354
5455

Previous 15994 Revisions Next


© 1998-2018 The MESS Team