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

src/mess/machine/cbmipt.c
r3209r3210
77 *
88 *      TO DO:
99 *
10 *      - investigate C128 inputs problems (bugzilla #1240)
10 *      - investigate C128 input problem with Left Shift / Shift Lock
1111 *      - investigate superpet different reading of Caps Lock (check machine/pet.c)
1212 *      - move here lightpen inputs from vc20.c, eventually
1313 *      - clean up the "SPECIAL" and "CFG" input ports (e.g. there a quite a lot
src/mess/machine/c64.c
r3209r3210
11541154      value &= ~input_port_read(machine, c64ports[i]);
11551155
11561156      /* 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!
11581158         value &= ~0x80;         
11591159
11601160      c64_keyline[i] = value;
src/mess/drivers/c128.c
r3209r3210
602602
603603static MACHINE_DRIVER_START( c128d )
604604   MDRV_IMPORT_FROM( c128 )
605   MDRV_IMPORT_FROM( cpu_c1571 )
605//   MDRV_IMPORT_FROM( cpu_c1571 )
606606MACHINE_DRIVER_END
607607
608608
r3209r3210
622622
623623static MACHINE_DRIVER_START( c128dpal )
624624   MDRV_IMPORT_FROM( c128pal )
625   MDRV_IMPORT_FROM( cpu_c1571 )
625//   MDRV_IMPORT_FROM( cpu_c1571 )
626626MACHINE_DRIVER_END
627627
628628

Previous 15994 Revisions Next


© 1998-2018 The MESS Team