|
|
| version 1.4, 2003/10/19 14:56:15 | version 1.6, 2003/11/28 08:01:33 |
|---|---|
| Line 4 | Line 4 |
| #include "memory.h" | #include "memory.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "gdc_cmd.tbl" | |
| #include "palettes.h" | |
| #include "vram.h" | #include "vram.h" |
| #include "palettes.h" | |
| #include "gdc_cmd.tbl" | |
| #define SEARHC_SYNC | #define SEARHC_SYNC |
| #define TURE_SYNC | #define TURE_SYNC |
| extern BYTE screenupdate; | |
| static const BYTE defdegpal[4] = {0x04,0x15,0x26,0x37}; | static const BYTE defdegpal[4] = {0x04,0x15,0x26,0x37}; |
| static const BYTE defsync[8] = {0x10,0x4e,0x07,0x25,0x07,0x07,0x90,0x65}; | static const BYTE defsync[8] = {0x10,0x4e,0x07,0x25,0x07,0x07,0x90,0x65}; |
| Line 455 static void IOOUTCALL gdc_oa0(UINT port, | Line 453 static void IOOUTCALL gdc_oa0(UINT port, |
| if (gdc.s.cnt < GDCCMD_MAX) { | if (gdc.s.cnt < GDCCMD_MAX) { |
| gdc.s.fifo[gdc.s.cnt++] = dat; | gdc.s.fifo[gdc.s.cnt++] = dat; |
| } | } |
| // TRACEOUT(("GDC-B %.2x", dat)); | |
| if (gdc.s.paracb) { // ver0.29 | if (gdc.s.paracb) { // ver0.29 |
| gdc_work(GDCWORK_SLAVE); | gdc_work(GDCWORK_SLAVE); |
| } | } |
| Line 466 static void IOOUTCALL gdc_oa2(UINT port, | Line 465 static void IOOUTCALL gdc_oa2(UINT port, |
| if (gdc.s.cnt < GDCCMD_MAX) { | if (gdc.s.cnt < GDCCMD_MAX) { |
| gdc.s.fifo[gdc.s.cnt++] = 0x100 | dat; | gdc.s.fifo[gdc.s.cnt++] = 0x100 | dat; |
| } | } |
| // TRACEOUT(("GDC-A %.2x", dat)); | |
| gdc_work(GDCWORK_SLAVE); | gdc_work(GDCWORK_SLAVE); |
| (void)port; | (void)port; |
| } | } |