Previous 15994 Revisions Next

r1147 Friday 19th October, 2007 at 13:54:22 UTC by Wilbert Pol
[PET] Removed unused keyboard type selection input port bit.
[src/mess/drivers]pet.c
[src/mess/includes]pet.h

src/mess/includes/pet.h
r1146r1147
2828#define DATASSETTE_RECORD   (input_port_11_word_r(0,0)&0x800)
2929#define DATASSETTE_STOP      (input_port_11_word_r(0,0)&0x400)
3030
31#define BUSINESS_KEYBOARD (input_port_11_word_r(0,0)&0x200)
32
3331#define CBM8096_MEMORY (input_port_11_r(0)&8)
3432#define M6809_SELECT (input_port_11_r(0)&4)
3533#define IEEE8ON (input_port_11_r(0)&2)
src/mess/drivers/pet.c
r1146r1147
415415   PORT_BIT(0x0800, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Record") PORT_CODE(KEYCODE_F6)
416416   PORT_BIT(0x0400, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Stop") PORT_CODE(KEYCODE_F7)
417417#endif
418   PORT_BIT (0x200, 0x000, IPT_UNUSED) /* normal keyboard/bios */
419418   PORT_DIPNAME   ( 0x180, 0x180, "Memory")
420419   PORT_DIPSETTING(  0, "4KByte" )
421420   PORT_DIPSETTING(  0x80, "8KByte" )
r1146r1147
446445   PORT_BIT(0x0800, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Record") PORT_CODE(KEYCODE_F6)
447446   PORT_BIT(0x0400, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Stop") PORT_CODE(KEYCODE_F7)
448447#endif
449   PORT_BIT (0x200, 0x200, IPT_UNUSED) /* business keyboard/bios */
450448   PORT_DIPNAME   ( 0x180, 0x180, "Memory")
451449   PORT_DIPSETTING(  0, "4KByte" )
452450   PORT_DIPSETTING(  0x80, "8KByte" )
r1146r1147
477475   PORT_BIT(0x0800, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Record") PORT_CODE(KEYCODE_F6)
478476   PORT_BIT(0x0400, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Stop") PORT_CODE(KEYCODE_F7)
479477#endif
480   PORT_BIT (0x200, 0x200, IPT_UNUSED) /* business keyboard/bios */
481478   PORT_BIT (0x180, 0x180, IPT_UNUSED) /* 32 kb Memory */
482479   PORT_DIPNAME ( 0x08, 0x08, "CBM8096, 8296 Expansion Memory")
483480   PORT_DIPSETTING(  0, DEF_STR( No ) )
r1146r1147
506503   PORT_BIT(0x0800, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Record") PORT_CODE(KEYCODE_F6)
507504   PORT_BIT(0x0400, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tape Drive Stop") PORT_CODE(KEYCODE_F7)
508505#endif
509   PORT_BIT (0x200, 0x200, IPT_UNUSED) /* business keyboard/bios */
510506   PORT_BIT (0x180, 0x180, IPT_UNUSED) /* 32KByte */
511507   PORT_BIT (8, 0, IPT_UNUSED) /* no 8096 hardware */
512508   PORT_DIPNAME   ( 4, 4, "CPU Select")

Previous 15994 Revisions Next


© 1998-2018 The MESS Team