|
|
| version 1.2, 2004/01/13 05:30:58 | version 1.3, 2004/03/06 18:25:36 |
|---|---|
| Line 6 | Line 6 |
| // ---- I/O | // ---- I/O |
| static void IOOUTCALL necio_o0439(UINT port, REG8 dat) { | |
| necio.port0439 = dat; | |
| } | |
| static void IOOUTCALL necio_o043d(UINT port, REG8 dat) { | static void IOOUTCALL necio_o043d(UINT port, REG8 dat) { |
| switch(dat) { | switch(dat) { |
| Line 24 static void IOOUTCALL necio_o043d(UINT p | Line 29 static void IOOUTCALL necio_o043d(UINT p |
| // ---- I/F | // ---- I/F |
| void necio_reset(void) { | void necio_reset(void) { |
| necio.port0439 = 0xff; | |
| } | } |
| void necio_bind(void) { | void necio_bind(void) { |
| iocore_attachout(0x0439, necio_o0439); | |
| if (!(pccore.model & PCMODEL_EPSON)) { | if (!(pccore.model & PCMODEL_EPSON)) { |
| iocore_attachout(0x043d, necio_o043d); | iocore_attachout(0x043d, necio_o043d); |
| } | } |