|
|
| version 1.2, 2003/10/21 11:22:05 | version 1.3, 2003/11/15 07:10:02 |
|---|---|
| Line 81 static void IOOUTCALL cgrom_oa9(UINT por | Line 81 static void IOOUTCALL cgrom_oa9(UINT por |
| cr = &cgrom; | cr = &cgrom; |
| if ((cr->code & 0x007e) == 0x0056) { | if ((cr->code & 0x007e) == 0x0056) { |
| font[((cr->code & 0x7f7f) << 4) + | fontrom[((cr->code & 0x7f7f) << 4) + |
| cr->lr + cr->line] = dat; | cr->lr + cr->line] = dat; |
| cgwindow.writable |= 0x80; | cgwindow.writable |= 0x80; |
| } | } |
| Line 91 static void IOOUTCALL cgrom_oa9(UINT por | Line 91 static void IOOUTCALL cgrom_oa9(UINT por |
| static BYTE IOINPCALL cgrom_ia9(UINT port) { | static BYTE IOINPCALL cgrom_ia9(UINT port) { |
| CGROM cr; | CGROM cr; |
| BYTE *ptr; | const BYTE *ptr; |
| cr = &cgrom; | cr = &cgrom; |
| ptr = font; | ptr = fontrom; |
| if (cr->code & 0xff00) { | if (cr->code & 0xff00) { |
| ptr += (cr->code & 0x7f7f) << 4; | ptr += (cr->code & 0x7f7f) << 4; |
| ptr += cr->lr; | ptr += cr->lr; |