|
|
| version 1.10, 2005/02/08 09:19:00 | version 1.12, 2005/03/11 15:12:57 |
|---|---|
| Line 94 static void MEMCALL withegc(GDCPSET pset | Line 94 static void MEMCALL withegc(GDCPSET pset |
| addr &= ~1; | addr &= ~1; |
| data <<= 8; | data <<= 8; |
| } | } |
| memegc_wr16(pset->base.addr + addr, data); | egc_writeword(pset->base.addr + addr, data); |
| } | } |
| Line 112 void MEMCALL gdcpset_prepare(GDCPSET pse | Line 112 void MEMCALL gdcpset_prepare(GDCPSET pse |
| UINT8 *base; | UINT8 *base; |
| UINT8 update; | UINT8 update; |
| if (vramop.operate & VOP_EGCBIT) { | if (vramop.operate & (1 << VOPBIT_EGC)) { |
| pset->func[0] = _nop; | pset->func[0] = _nop; |
| pset->func[1] = withegc; | pset->func[1] = withegc; |
| pset->base.addr = gdcplaneseg[(csrw >> 14) & 3]; | pset->base.addr = gdcplaneseg[(csrw >> 14) & 3]; |