| Previous | 15994 Revisions | Next |
| r3210 Monday 8th September, 2008 at 22:05:06 UTC by Fabio Priuli |
|---|
| Fixed crash with former TESTDRIVERs and fixed (with hack) C128 keyboard until I find docs on Shift keys |
| [src/mess/drivers] | c128.c |
| [src/mess/machine] | c64.c cbmipt.c |
| r3209 | r3210 | |
|---|---|---|
| 7 | 7 | * |
| 8 | 8 | * TO DO: |
| 9 | 9 | * |
| 10 | * - investigate C128 input | |
| 10 | * - investigate C128 input | |
| 11 | 11 | * - investigate superpet different reading of Caps Lock (check machine/pet.c) |
| 12 | 12 | * - move here lightpen inputs from vc20.c, eventually |
| 13 | 13 | * - clean up the "SPECIAL" and "CFG" input ports (e.g. there a quite a lot |
| r3209 | r3210 | |
|---|---|---|
| 1154 | 1154 | value &= ~input_port_read(machine, c64ports[i]); |
| 1155 | 1155 | |
| 1156 | 1156 | /* Shift Lock is mapped on Left Shift */ |
| 1157 | if ((i == 1) && (input_port_read(machine, "SPECIAL") & 0x40)) | |
| 1157 | if ((i == 1) && (input_port_read(machine, "SPECIAL") & 0x40) && !is_c128(machine)) // Fix Me! Currently, neither left Shift nor Shift Lock works in c128, but reading this in c128 produces a bug! | |
| 1158 | 1158 | value &= ~0x80; |
| 1159 | 1159 | |
| 1160 | 1160 | c64_keyline[i] = value; |
| r3209 | r3210 | |
|---|---|---|
| 602 | 602 | |
| 603 | 603 | static MACHINE_DRIVER_START( c128d ) |
| 604 | 604 | MDRV_IMPORT_FROM( c128 ) |
| 605 | MDRV_IMPORT_FROM( cpu_c1571 ) | |
| 605 | // MDRV_IMPORT_FROM( cpu_c1571 ) | |
| 606 | 606 | MACHINE_DRIVER_END |
| 607 | 607 | |
| 608 | 608 | |
| r3209 | r3210 | |
| 622 | 622 | |
| 623 | 623 | static MACHINE_DRIVER_START( c128dpal ) |
| 624 | 624 | MDRV_IMPORT_FROM( c128pal ) |
| 625 | MDRV_IMPORT_FROM( cpu_c1571 ) | |
| 625 | // MDRV_IMPORT_FROM( cpu_c1571 ) | |
| 626 | 626 | MACHINE_DRIVER_END |
| 627 | 627 | |
| 628 | 628 |
| Previous | 15994 Revisions | Next |