|
|
| version 1.10, 2003/12/27 11:55:23 | version 1.11, 2004/01/13 05:30:58 |
|---|---|
| Line 378 static REG8 IOINPCALL gdc_i60(UINT port) | Line 378 static REG8 IOINPCALL gdc_i60(UINT port) |
| ret = 0x80 | gdc.vsync; // | m_drawing; | ret = 0x80 | gdc.vsync; // | m_drawing; |
| remain = nevent_getremain(NEVENT_FLAMES); | remain = nevent_getremain(NEVENT_FLAMES); |
| if (remain >= 0) { | if (remain >= 0) { |
| if ((remain % pc.raster) < pc.hsync) { | if ((remain % pccore.raster) < pccore.hsync) { |
| ret |= 0x40; | ret |= 0x40; |
| } | } |
| } | } |
| Line 545 static REG8 IOINPCALL gdc_ia0(UINT port) | Line 545 static REG8 IOINPCALL gdc_ia0(UINT port) |
| ret = 0x80 | gdc.vsync | gdc.s_drawing; | ret = 0x80 | gdc.vsync | gdc.s_drawing; |
| remain = nevent_getremain(NEVENT_FLAMES); | remain = nevent_getremain(NEVENT_FLAMES); |
| if (remain >= 0) { | if (remain >= 0) { |
| if ((remain % pc.raster) < (pc.hsync)) { | if ((remain % pccore.raster) < (pccore.hsync)) { |
| ret |= 0x40; | ret |= 0x40; |
| } | } |
| } | } |