|
|
| version 1.2, 2004/08/17 17:01:28 | version 1.3, 2005/02/04 06:42:07 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | |
| #include "keystat.h" | #include "keystat.h" |
| #include "keystat.tbl" | #include "keystat.tbl" |
| Line 26 static void keydown(REG8 key) { | Line 27 static void keydown(REG8 key) { |
| keystat.req_int = TRUE; | keystat.req_int = TRUE; |
| keystat.shift |= 0x40; | keystat.shift |= 0x40; |
| keystat.lastkey = key; | keystat.lastkey = key; |
| subcpu_sendkey(); | |
| } | } |
| } | } |
| Line 43 static void keyup(REG8 key) { | Line 45 static void keyup(REG8 key) { |
| if (key < 0x70) { | if (key < 0x70) { |
| keystat.req_int = TRUE; | keystat.req_int = TRUE; |
| keystat.shift &= ~0x40; | keystat.shift &= ~0x40; |
| subcpu_sendkey(); | |
| } | } |
| } | } |