25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_pckbc.c,v 1.51 2005/09/27 23:55:44 debug Exp $ |
* $Id: dev_pckbc.c,v 1.53 2005/10/26 14:37:04 debug Exp $ |
29 |
* |
* |
30 |
* Standard 8042 PC keyboard controller (and a 8242WB PS2 keyboard/mouse |
* Standard 8042 PC keyboard controller (and a 8242WB PS2 keyboard/mouse |
31 |
* controller), including the 8048 keyboard chip. |
* controller), including the 8048 keyboard chip. |
314 |
if (a=='<') { a = ','; shift = 1; } |
if (a=='<') { a = ','; shift = 1; } |
315 |
if (a=='>') { a = '.'; shift = 1; } |
if (a=='>') { a = '.'; shift = 1; } |
316 |
if (a=='?') { a = '/'; shift = 1; } |
if (a=='?') { a = '/'; shift = 1; } |
317 |
|
if (a=='~') { a = '`'; shift = 1; } |
318 |
|
|
319 |
if (shift) |
if (shift) |
320 |
pckbc_add_code(d, 0x2a, p); |
pckbc_add_code(d, 0x2a, p); |
400 |
|
|
401 |
if (a==';') pckbc_add_code(d, 0x27, p); |
if (a==';') pckbc_add_code(d, 0x27, p); |
402 |
if (a=='\'') pckbc_add_code(d, 0x28, p); |
if (a=='\'') pckbc_add_code(d, 0x28, p); |
403 |
if (a=='~') pckbc_add_code(d, 0x29, p); |
if (a=='`') pckbc_add_code(d, 0x29, p); |
404 |
if (a=='\\') pckbc_add_code(d, 0x2b, p); |
if (a=='\\') pckbc_add_code(d, 0x2b, p); |
405 |
|
|
406 |
if (a=='z') pckbc_add_code(d, 0x2c, p); |
if (a=='z') pckbc_add_code(d, 0x2c, p); |
567 |
int i, port_nr = 0; |
int i, port_nr = 0; |
568 |
struct pckbc_data *d = extra; |
struct pckbc_data *d = extra; |
569 |
|
|
570 |
idata = memory_readmax64(cpu, data, len); |
if (writeflag == MEM_WRITE) |
571 |
|
idata = memory_readmax64(cpu, data, len); |
572 |
|
|
573 |
#ifdef PCKBC_DEBUG |
#ifdef PCKBC_DEBUG |
574 |
if (writeflag == MEM_WRITE) |
if (writeflag == MEM_WRITE) |