|
|
| version 1.4, 2004/08/04 17:09:25 | version 1.6, 2004/08/07 07:19:56 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "draw.h" | #include "makescrn.h" |
| // ---- 8255 PPIˇÁ | // ---- 8255 PPIˇÁ |
| Line 91 REG8 IOINPCALL ppi_i(UINT port) { | Line 91 REG8 IOINPCALL ppi_i(UINT port) { |
| if (subcpu.OBF) { | if (subcpu.OBF) { |
| ppi.PORT_B |= 0x20; // 1:SUB-CPU Data empty | ppi.PORT_B |= 0x20; // 1:SUB-CPU Data empty |
| } | } |
| if (!pccore.ROM_SW) { | if (memio.ram) { |
| ppi.PORT_B |= 0x10; // 1:RAM | ppi.PORT_B |= 0x10; // 1:RAM |
| } | } |
| #if 1 | #if 1 |