| 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 |
| r14389 | r14390 | |
|---|---|---|
| 194 | 194 | mode_control = 0; |
| 195 | 195 | vsync = 0; |
| 196 | 196 | hsync = 0; |
| 197 | m_pixel = 0; | |
| 197 | 198 | |
| 198 | 199 | astring tempstring; |
| 199 | 200 | chr_gen = machine().region(subtag(tempstring, "gfx1"))->base(); |
| r14389 | r14390 | |
| 422 | 423 | */ |
| 423 | 424 | READ8_MEMBER( isa8_mda_device::status_r) |
| 424 | 425 | { |
| 425 | return 0x08 | hsync; | |
| 426 | // Faking pixel stream here | |
| 427 | m_pixel++; | |
| 428 | ||
| 429 | return 0xF0 | (m_pixel & 0x08) | hsync; | |
| 426 | 430 | } |
| 427 | 431 | |
| 428 | 432 |
| r14389 | r14390 | |
|---|---|---|
| 49 | 49 | UINT8 vsync; |
| 50 | 50 | UINT8 hsync; |
| 51 | 51 | UINT8 *videoram; |
| 52 | UINT8 m_pixel; | |
| 52 | 53 | }; |
| 53 | 54 | |
| 54 | 55 |
| Previous | 15994 Revisions | Next |