|
|
| version 1.1, 2004/01/05 06:05:11 | version 1.5, 2007/11/03 00:00:20 |
|---|---|
| Line 6 | Line 6 |
| // ---- I/O | // ---- I/O |
| static void IOOUTCALL necio_o0439(UINT port, REG8 dat) { | |
| necio.port0439 = dat; | |
| (void)port; | |
| } | |
| static void IOOUTCALL necio_o043d(UINT port, REG8 dat) { | static void IOOUTCALL necio_o043d(UINT port, REG8 dat) { |
| switch(dat) { | switch(dat) { |
| Line 23 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(const NP2CFG *pConfig) { |
| necio.port0439 = 0xff; | |
| (void)pConfig; | |
| } | } |
| void necio_bind(void) { | void necio_bind(void) { |
| if (!(pc.model & PCMODEL_EPSON)) { | iocore_attachout(0x0439, necio_o0439); |
| if (!(pccore.model & PCMODEL_EPSON)) { | |
| iocore_attachout(0x043d, necio_o043d); | iocore_attachout(0x043d, necio_o043d); |
| } | } |
| } | } |