|
|
| version 1.2, 2003/12/08 00:55:30 | version 1.5, 2004/03/30 08:48:46 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "memory.h" | |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "bios.h" | #include "bios.h" |
| Line 87 void bios0x09(void) { | Line 86 void bios0x09(void) { |
| } | } |
| else { | else { |
| if (key == 0x60) { | if (key == 0x60) { |
| CPU_INTERRUPT(6); | CPU_INTERRUPT(6, -1); |
| } | } |
| else if (key == 0x61) { | else if (key == 0x61) { |
| CPU_INTERRUPT(5); | CPU_INTERRUPT(5, -1); |
| } | } |
| else if (key < 0x70) { | else if (key < 0x70) { |
| code = mem[base + key - 0x0c] << 8; | code = mem[base + key - 0x0c] << 8; |
| Line 117 void bios0x09(void) { | Line 116 void bios0x09(void) { |
| } | } |
| } | } |
| else { | else { |
| mem[0x0052a + pos] &= ~bit; | if (key < 0xf5) { |
| if ((key >= 0xf0) && (key < 0xf5)) { | mem[0x0052a + pos] &= ~bit; |
| mem[MEMB_SHIFT_STS] &= ~bit; | if (key >= 0xf0) { |
| updateshiftkey(); | mem[MEMB_SHIFT_STS] &= ~bit; |
| updateshiftkey(); | |
| } | |
| } | } |
| } | } |
| iocore_out8(0x00, 0x20); | iocore_out8(0x00, 0x20); |