Skip to content

Commit

Permalink
Convert more DIP and configuration switch settings to DEF_STR
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrhacker committed Dec 30, 2024
1 parent 7133d48 commit 5170019
Show file tree
Hide file tree
Showing 233 changed files with 559 additions and 701 deletions.
2 changes: 1 addition & 1 deletion src/devices/bus/abckb/abc99.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static INPUT_PORTS_START( abc99 )
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("Z14:1,2,3")
PORT_DIPSETTING( 0x00, "Swedish" )
PORT_DIPSETTING( 0x01, "US English" )
PORT_DIPSETTING( 0x02, "Spanish" )
PORT_DIPSETTING( 0x02, DEF_STR( Spanish ) )
PORT_DIPSETTING( 0x03, "Danish" )
PORT_DIPSETTING( 0x04, "Norwegian" )
PORT_DIPSETTING( 0x05, DEF_STR( Unused ) )
Expand Down
6 changes: 3 additions & 3 deletions src/devices/bus/amiga/keyboard/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,9 @@ INPUT_PORTS_START(matrix_ch)
PORT_INCLUDE(matrix_common)

PORT_START("CFG")
PORT_CONFNAME(0x01, 0x01, "Language" )
PORT_CONFSETTING( 0x01, "French" )
PORT_CONFSETTING( 0x00, "German" )
PORT_CONFNAME(0x01, 0x01, DEF_STR( Language ) )
PORT_CONFSETTING( 0x01, DEF_STR( French ) )
PORT_CONFSETTING( 0x00, DEF_STR( German ) )

PORT_MODIFY("ROW0")
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('`') PORT_CHAR(U'˜') PORT_CHAR('`') PORT_CHAR('~')
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/c64/supercpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static INPUT_PORTS_START( c64_supercpu )
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x00, "Speed" )
PORT_DIPSETTING( 0x04, "Normal" )
PORT_DIPSETTING( 0x04, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x00, "Turbo" )

PORT_START("RESET")
Expand Down
24 changes: 12 additions & 12 deletions src/devices/bus/cbmiec/mps1200.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,14 @@ static INPUT_PORTS_START(mps1250) // all DIP switches correct as per manual

// when Epson #2 is selected these settings apply....
PORT_DIPNAME(0x000e, 0x000e, "International Character Set" ) PORT_DIPLOCATION("SW1:5,6,7") PORT_CONDITION("SW", 0xb0, EQUALS, 0x20)
PORT_DIPSETTING(0x000e, "USA" ) // off off off USA
PORT_DIPSETTING(0x000c, "England" ) // on on off England
PORT_DIPSETTING(0x000a, "Sweden" ) // on off on Sweden
PORT_DIPSETTING(0x0008, "France" ) // on off off Unused
PORT_DIPSETTING(0x0006, "Italy" ) // off on on Italy
PORT_DIPSETTING(0x0004, "Germany" ) // off on off Germany
PORT_DIPSETTING(0x0002, "Denmark" ) // off off on Denmark
PORT_DIPSETTING(0x0000, "Spain" ) // on on on Spain
PORT_DIPSETTING(0x000e, DEF_STR(USA) ) // off off off USA
PORT_DIPSETTING(0x000c, "England" ) // on on off England
PORT_DIPSETTING(0x000a, "Sweden" ) // on off on Sweden
PORT_DIPSETTING(0x0008, "France" ) // on off off Unused
PORT_DIPSETTING(0x0006, "Italy" ) // off on on Italy
PORT_DIPSETTING(0x0004, "Germany" ) // off on off Germany
PORT_DIPSETTING(0x0002, "Denmark" ) // off off on Denmark
PORT_DIPSETTING(0x0000, "Spain" ) // on on on Spain
PORT_DIPNAME(0x0001, 0x0001, "Page Length" ) PORT_DIPLOCATION("SW1:8") PORT_CONDITION("SW", 0xb0, EQUALS, 0x20)
PORT_DIPSETTING(0x0001, "11 inch" )
PORT_DIPSETTING(0x0000, "12 inch" )
Expand All @@ -247,10 +247,10 @@ static INPUT_PORTS_START(mps1250) // all DIP switches correct as per manual
PORT_DIPSETTING(0x0008, "High-bit Control Codes" ) // standard characters
PORT_DIPSETTING(0x0000, "Line and Block Graphics" ) // graphics characters
PORT_DIPNAME(0x0006, 0x0006, "International Character Set" ) PORT_DIPLOCATION("SW1:6,7") PORT_CONDITION("SW", 0xb0, EQUALS, 0x10)
PORT_DIPSETTING(0x0006, "USA" ) // off off USA
PORT_DIPSETTING(0x0004, "France" ) // on off France
PORT_DIPSETTING(0x0002, "Germany" ) // off on Germany
PORT_DIPSETTING(0x0000, "England" ) // on on England
PORT_DIPSETTING(0x0006, DEF_STR(USA) ) // off off USA
PORT_DIPSETTING(0x0004, "France" ) // on off France
PORT_DIPSETTING(0x0002, "Germany" ) // off on Germany
PORT_DIPSETTING(0x0000, "England" ) // on on England
PORT_DIPNAME(0x0001, 0x0001, "Character Spacing" ) PORT_DIPLOCATION("SW1:8") PORT_CONDITION("SW", 0xb0, EQUALS, 0x10)
PORT_DIPSETTING(0x0001, "Pica / 10 cpi" ) // 10 characters per inch (standard character spacing)
PORT_DIPSETTING(0x0000, "Compressed / 17 cpi") // 17 characters per inch
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/centronics/epson_lx800.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ INPUT_PORTS_START( epson_lx800 )

PORT_START("DIPSW1")
PORT_DIPNAME(0x01, 0x00, "Typeface") PORT_DIPLOCATION("SW 1:!1")
PORT_DIPSETTING( 0x00, "Normal")
PORT_DIPSETTING( 0x00, DEF_STR(Normal))
PORT_DIPSETTING( 0x01, "Condensed")
PORT_DIPNAME(0x02, 0x00, "Shape of zero") PORT_DIPLOCATION("SW 1:!2")
PORT_DIPSETTING( 0x00, "Not slashed")
Expand All @@ -132,7 +132,7 @@ INPUT_PORTS_START( epson_lx800 )
PORT_DIPSETTING( 0x00, "Draft")
PORT_DIPSETTING( 0x10, "NLQ")
PORT_DIPNAME(0xe0, 0xe0, "International character set") PORT_DIPLOCATION("SW 1:!6,!7,!8")
PORT_DIPSETTING( 0xe0, "USA")
PORT_DIPSETTING( 0xe0, DEF_STR(USA))
PORT_DIPSETTING( 0x60, "France")
PORT_DIPSETTING( 0xa0, "Germany")
PORT_DIPSETTING( 0x20, "UK")
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/einstein/pipe/tk02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ static INPUT_PORTS_START( tk02_links )

PORT_START("M003")
PORT_DIPNAME(0x01, 0x00, "Startup Mode") PORT_DIPLOCATION("M003:1")
PORT_DIPSETTING(0x00, "Normal")
PORT_DIPSETTING(0x00, DEF_STR(Normal))
PORT_DIPSETTING(0x01, "Automatic 80 Column")

PORT_START("M004")
PORT_DIPNAME(0x01, 0x00, "Character Set") PORT_DIPLOCATION("M004:1")
PORT_DIPSETTING(0x00, "Modified")
PORT_DIPSETTING(0x01, "Normal")
PORT_DIPSETTING(0x01, DEF_STR(Normal))
INPUT_PORTS_END

ioport_constructor tk02_device::device_input_ports() const
Expand Down
12 changes: 6 additions & 6 deletions src/devices/bus/hp_hil/hlekbd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ INPUT_PORTS_START( ipc_id )
PORT_START("COL0")
PORT_DIPNAME( 0xff, 0xbf, "Layout" )
PORT_DIPSETTING( 0xBF, "US" )
PORT_DIPSETTING( 0xAF, "German" )
PORT_DIPSETTING( 0xAF, DEF_STR( German ) )
PORT_DIPSETTING( 0xB7, "UK" )
PORT_DIPSETTING( 0xBB, "French" )
PORT_DIPSETTING( 0xBB, DEF_STR( French ) )
PORT_DIPSETTING( 0xBD, "Katakana" )
PORT_DIPSETTING( 0xBE, "Latin Spanish" )
PORT_DIPSETTING( 0xA7, "Canadian English" )
PORT_DIPSETTING( 0xAB, "Italian" )
PORT_DIPSETTING( 0xAB, DEF_STR( Italian ) )
PORT_DIPSETTING( 0xAD, "Dutch" )
PORT_DIPSETTING( 0xAE, "Swedish" )
PORT_DIPSETTING( 0xB3, "European Spanish" )
Expand Down Expand Up @@ -223,13 +223,13 @@ INPUT_PORTS_START( itf_id )
PORT_START("COL0")
PORT_DIPNAME( 0xff, 0xdf, "Layout" )
PORT_DIPSETTING( 0xDF, "US" )
PORT_DIPSETTING( 0xCF, "German" )
PORT_DIPSETTING( 0xCF, DEF_STR( German ) )
PORT_DIPSETTING( 0xD7, "UK" )
PORT_DIPSETTING( 0xDB, "French" )
PORT_DIPSETTING( 0xDB, DEF_STR( French ) )
PORT_DIPSETTING( 0xDD, "Katakana" )
PORT_DIPSETTING( 0xDE, "Latin Spanish" )
PORT_DIPSETTING( 0xC7, "Canadian English" )
PORT_DIPSETTING( 0xCB, "Italian" )
PORT_DIPSETTING( 0xCB, DEF_STR( Italian ) )
PORT_DIPSETTING( 0xCD, "Dutch" )
PORT_DIPSETTING( 0xCE, "Swedish" )
PORT_DIPSETTING( 0xD3, "European Spanish" )
Expand Down
6 changes: 3 additions & 3 deletions src/devices/bus/imi7000/imi5000h.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,17 +391,17 @@ void imi5000h_device::device_add_mconfig(machine_config & config)
static INPUT_PORTS_START( imi5000h )
PORT_START("LSI-11")
PORT_DIPNAME( 0x01, 0x00, "LSI-11" )
PORT_DIPSETTING( 0x01, "Normal" )
PORT_DIPSETTING( 0x01, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x00, "LSI-11" ) // emulate DEC RL01 and RL02

PORT_START("MUX")
PORT_DIPNAME( 0x01, 0x00, "MUX" )
PORT_DIPSETTING( 0x01, "Single" )
PORT_DIPSETTING( 0x01, DEF_STR( Single ) )
PORT_DIPSETTING( 0x00, "Multiplexer" ) // Corvus Multiplexer Network

PORT_START("FORMAT")
PORT_DIPNAME( 0x01, 0x00, "FORMAT" )
PORT_DIPSETTING( 0x01, "Normal" ) // read controller firmware from cylinders 0 and 1
PORT_DIPSETTING( 0x01, DEF_STR( Normal ) ) // read controller firmware from cylinders 0 and 1
PORT_DIPSETTING( 0x00, "Format" ) // drive ready after self-test, allow format

PORT_START("RESET")
Expand Down
6 changes: 3 additions & 3 deletions src/devices/bus/isa/acb2072.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static INPUT_PORTS_START(acb2072)
PORT_DIPSETTING(0x04, "CC00")
PORT_DIPSETTING(0x06, "F400")
PORT_DIPNAME(0x08, 0x08, "Port Address") PORT_DIPLOCATION("J8:2") // 324
PORT_DIPSETTING(0x08, "Normal")
PORT_DIPSETTING(0x08, DEF_STR(Normal))
PORT_DIPSETTING(0x00, "Alternate (324)")
PORT_DIPNAME(0x10, 0x10, "Reserved") PORT_DIPLOCATION("J5:3") // E-F
PORT_DIPSETTING(0x10, DEF_STR(Off))
Expand All @@ -78,10 +78,10 @@ static INPUT_PORTS_START(acb2072)
PORT_DIPSETTING(0x08, "5 Heads, 981 Cylinders (60 MB)")
PORT_DIPSETTING(0x0c, "4 Heads, 615 Cylinders (20 MB)")
PORT_DIPNAME(0x10, 0x10, "Drive 0 Type") PORT_DIPLOCATION("J5:1") // A-B
PORT_DIPSETTING(0x10, "Normal")
PORT_DIPSETTING(0x10, DEF_STR(Normal))
PORT_DIPSETTING(0x00, "Syquest")
PORT_DIPNAME(0x20, 0x20, "Drive 1 Type") PORT_DIPLOCATION("J5:2") // C-D
PORT_DIPSETTING(0x20, "Normal")
PORT_DIPSETTING(0x20, DEF_STR(Normal))
PORT_DIPSETTING(0x00, "Syquest")
PORT_DIPNAME(0x40, 0x40, "Self Diagnostics") PORT_DIPLOCATION("J5:6") // K-L
PORT_DIPSETTING(0x40, DEF_STR(Off))
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/isa/eis_sad8852.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ void isa16_sad8852_device::sad8852_io(address_map &map)
//----------------------------------------------------------
static INPUT_PORTS_START( sad8852_ports )
PORT_START("SW1")
PORT_DIPNAME( 0x3ff, 0x001, "Unknown" )
PORT_DIPSETTING( 0x00, "None" )
PORT_DIPNAME( 0x3ff, 0x001, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x00, DEF_STR( None ) )
PORT_DIPSETTING( 0x01, "Default" )

PORT_START("J1")
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/isa/lrk330.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ static INPUT_PORTS_START(lrk331)
PORT_DIPSETTING(0x001, "Primary (1F0h-1F7h, 3F0h-3F7h)")
PORT_DIPSETTING(0x000, "Secondary (170h-177h, 370h-377h)")
PORT_DIPNAME(0x002, 0x002, "Floppy Drive Speed") PORT_DIPLOCATION("W2:2")
PORT_DIPSETTING(0x002, "Single")
PORT_DIPSETTING(0x000, "Dual")
PORT_DIPSETTING(0x002, DEF_STR(Single))
PORT_DIPSETTING(0x000, DEF_STR(Dual))
PORT_DIPNAME(0x004, 0x004, "Interrupt Delay") PORT_DIPLOCATION("W3:1")
PORT_DIPSETTING(0x004, "Disabled")
PORT_DIPSETTING(0x000, "Enabled")
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/multibus/isbc8024.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ROM_END
static INPUT_PORTS_START(isbc8024)
PORT_START("CONF")
PORT_CONFNAME(0x0003, 0x0003, "Size")
PORT_CONFSETTING( 0x0000, "None")
PORT_CONFSETTING( 0x0000, DEF_STR(None))
PORT_CONFSETTING( 0x0001, "2048")
PORT_CONFSETTING( 0x0002, "4096")
PORT_CONFSETTING( 0x0003, "8192")
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/multibus/serad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static INPUT_PORTS_START(serad)

PORT_START("IRQ")
PORT_DIPNAME(0xff, 0x00, "Interrupt")
PORT_DIPSETTING(0x00, "None")
PORT_DIPSETTING(0x00, DEF_STR(None))
PORT_DIPSETTING(0x01, "0")
PORT_DIPSETTING(0x02, "1")
PORT_DIPSETTING(0x04, "2")
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/nscsi/smoc501.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static INPUT_PORTS_START(smoc501)
PORT_DIPSETTING(0x00, DEF_STR(On))
PORT_DIPNAME(0x40, 0x40, "Eject Mode") PORT_DIPLOCATION("DSW:2")
PORT_DIPSETTING(0x40, "Eject Button")
PORT_DIPSETTING(0x00, "Controller")
PORT_DIPSETTING(0x00, DEF_STR(Controller))
PORT_DIPNAME(0x20, 0x20, "Temporary Mode") PORT_DIPLOCATION("DSW:3")
PORT_DIPSETTING(0x00, "512 Bytes/Sector")
PORT_DIPSETTING(0x20, "1024 Bytes/Sector")
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/rc2014/fdc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ static INPUT_PORTS_START( rc2014_fdc9266_jumpers )
PORT_START("JP1")
PORT_CONFNAME( 0x1, 0x1, "Two Side" )
PORT_CONFSETTING( 0x0, "GND" )
PORT_CONFSETTING( 0x1, "None" )
PORT_CONFSETTING( 0x1, DEF_STR( None ) )
PORT_START("JP2")
PORT_CONFNAME( 0x1, 0x0, "/FAULT" )
PORT_CONFSETTING( 0x0, "None" )
PORT_CONFSETTING( 0x0, DEF_STR( None ) )
PORT_CONFSETTING( 0x1, "+5V" )
PORT_START("JP3")
PORT_CONFNAME( 0x1, 0x1, "MINI" )
Expand Down
4 changes: 2 additions & 2 deletions src/devices/bus/rc2014/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ void rc2014_ym_ay_device::device_reset()
static INPUT_PORTS_START( rc2014_ym_ay_jumpers )
PORT_START("JP1") // JP1 and JP7
PORT_CONFNAME( 0x1, 0x1, "A4 Chip Enable" )
PORT_CONFSETTING( 0x0, "Low" )
PORT_CONFSETTING( 0x1, "High" )
PORT_CONFSETTING( 0x0, DEF_STR( Low ) )
PORT_CONFSETTING( 0x1, DEF_STR( High ) )
PORT_START("JP2")
PORT_CONFNAME( 0x1, 0x0, "Addressing mode" )
PORT_CONFSETTING( 0x0, "Default" )
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/rs232/exorterm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ INPUT_PORTS_START(exorterm155_terminal)

PORT_START("FLOW_CONTROL")
PORT_CONFNAME(0x1, 1, "Flow Control") PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(exorterm155_terminal_device::flow_control), 0)
PORT_CONFSETTING(0x00, "None")
PORT_CONFSETTING(0x00, DEF_STR(None))
PORT_CONFSETTING(0x01, "Terminal DTR to remote CTS")

INPUT_PORTS_END
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/rs232/rs232.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#define PORT_RS232_PARITY(_tag, _default_parity, _description, _class, _write_line) \
PORT_START(_tag) \
PORT_CONFNAME(0xff, _default_parity, "Parity") PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, FUNC(_class::_write_line)) \
PORT_CONFSETTING( RS232_PARITY_NONE, "None") \
PORT_CONFSETTING( RS232_PARITY_NONE, DEF_STR(None)) \
PORT_CONFSETTING( RS232_PARITY_ODD, "Odd") \
PORT_CONFSETTING( RS232_PARITY_EVEN, "Even") \
PORT_CONFSETTING( RS232_PARITY_MARK, "Mark") \
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/rs232/swtpc8212.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ INPUT_PORTS_START(swtpc8212_terminal)

PORT_START("FLOW_CONTROL")
PORT_CONFNAME(0x1, 1, "Flow control") PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(swtpc8212_terminal_device::flow_control), 0)
PORT_CONFSETTING(0x00, "None")
PORT_CONFSETTING(0x00, DEF_STR(None))
PORT_CONFSETTING(0x01, "Terminal DTR to remote CTS")

INPUT_PORTS_END
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/s100/am310.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static INPUT_PORTS_START(s100_am310)

PORT_START("INTR")
PORT_DIPNAME(0xff, 0xfd, "Interrupt Line") PORT_DIPLOCATION("INTR:1,2,3,4,5,6,7,8")
PORT_DIPSETTING(0xff, "None")
PORT_DIPSETTING(0xff, DEF_STR(None))
PORT_DIPSETTING(0xfe, "VI0")
PORT_DIPSETTING(0xfd, "VI1")
PORT_DIPSETTING(0xfb, "VI2")
Expand Down
10 changes: 5 additions & 5 deletions src/devices/bus/tanbus/keyboard/spinveti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ static INPUT_PORTS_START( spinveti )
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Hold") PORT_CODE(KEYCODE_H)

PORT_START("SW")
PORT_CONFNAME(0x60, 0x20, "Difficulty")
PORT_CONFSETTING(0x00, "Easy")
PORT_CONFSETTING(0x20, "Normal")
PORT_CONFSETTING(0x40, "Hard")
PORT_CONFSETTING(0x60, "Hardest")
PORT_CONFNAME(0x60, 0x20, DEF_STR(Difficulty))
PORT_CONFSETTING(0x00, DEF_STR(Easy))
PORT_CONFSETTING(0x20, DEF_STR(Normal))
PORT_CONFSETTING(0x40, DEF_STR(Hard))
PORT_CONFSETTING(0x60, DEF_STR(Hardest))

PORT_START("RS")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Reset") PORT_CODE(KEYCODE_R) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(microtan_kbd_spinveti::trigger_reset), 0)
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/ti99/peb/hsgpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ INPUT_PORTS_START( ti99_hsgpl)
PORT_START( "HSGPLMODE" )
PORT_DIPNAME( 0x01, 0x01, "HSGPL mode" )
PORT_DIPSETTING( 0x00, "Flash" )
PORT_DIPSETTING( 0x01, "Normal" )
PORT_DIPSETTING( 0x01, DEF_STR( Normal ) )
INPUT_PORTS_END

void snug_high_speed_gpl_device::device_add_mconfig(machine_config &config)
Expand Down
2 changes: 1 addition & 1 deletion src/devices/bus/vme/cp31.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static INPUT_PORTS_START(cp31)
PORT_DIPSETTING(0x0c, "Monitor")
PORT_DIPNAME(0x10, 0x10, "Console port setup")
PORT_DIPSETTING(0x00, "Custom")
PORT_DIPSETTING(0x10, "Standard")
PORT_DIPSETTING(0x10, DEF_STR(Standard))
PORT_DIPNAME(0x20, 0x20, "Console port bits")
PORT_DIPSETTING(0x00, "7N1")
PORT_DIPSETTING(0x20, "8N2")
Expand Down
2 changes: 1 addition & 1 deletion src/devices/machine/genpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ static INPUT_PORTS_START( ibm5150_mb )

PORT_START("DSW1")
PORT_DIPNAME( 0x1f, 0x12, "Extra RAM size") PORT_DIPLOCATION("SW2:1,2,3,4,5")
PORT_DIPSETTING( 0x00, "None" )
PORT_DIPSETTING( 0x00, DEF_STR(None) )
PORT_DIPSETTING( 0x01, "32K" )
PORT_DIPSETTING( 0x02, "64K" )
PORT_DIPSETTING( 0x03, "96K" )
Expand Down
2 changes: 1 addition & 1 deletion src/mame/acorn/electron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static INPUT_PORTS_START( electron64 )

PORT_START("MRB")
PORT_CONFNAME(0x03, 0x02, "MRB Mode")
PORT_CONFSETTING(0x00, "Normal")
PORT_CONFSETTING(0x00, DEF_STR(Normal))
PORT_CONFSETTING(0x01, "Turbo")
PORT_CONFSETTING(0x02, "64K")
INPUT_PORTS_END
Expand Down
2 changes: 1 addition & 1 deletion src/mame/acorn/z88.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Small note about natural keyboard: currently,
static INPUT_PORTS_START( z88 )
PORT_START("BATTERY")
PORT_CONFNAME( 0x01, 0x00, "Battery Status" ) PORT_WRITE_LINE_DEVICE_MEMBER("blink", FUNC(upd65031_device::btl_w))
PORT_CONFSETTING( 0x01, DEF_STR( Low ) )
PORT_CONFSETTING( 0x00, DEF_STR( Normal ) )
PORT_CONFSETTING( 0x01, "Low" )

PORT_START("LINE0")
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Del") PORT_CODE(KEYCODE_BACKSPACE) PORT_CHAR(8)
Expand Down
2 changes: 1 addition & 1 deletion src/mame/amstrad/pda600.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static INPUT_PORTS_START( pda600 )
PORT_CONFNAME(0x0f, 0x0f, "Main battery status")
PORT_CONFSETTING(0x0f, "Good")
PORT_CONFSETTING(0x0c, "Fair")
PORT_CONFSETTING(0x06, "Low")
PORT_CONFSETTING(0x06, DEF_STR(Low))
PORT_CONFSETTING(0x00, "Replace")
PORT_CONFNAME(0x10, 0x00, "Backup battery status")
PORT_CONFSETTING(0x00, "Good")
Expand Down
2 changes: 1 addition & 1 deletion src/mame/apollo/apollo_m.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ INPUT_PORTS_START( apollo_config )
PORT_START( "apollo_config" )
PORT_CONFNAME(APOLLO_CONF_SERVICE_MODE, 0x00, "Normal/Service" )
PORT_CONFSETTING(0x00, "Service" )
PORT_CONFSETTING(APOLLO_CONF_SERVICE_MODE, "Normal" )
PORT_CONFSETTING(APOLLO_CONF_SERVICE_MODE, DEF_STR ( Normal ) )

PORT_CONFNAME(APOLLO_CONF_DISPLAY, APOLLO_CONF_8_PLANES, "Graphics Controller")
PORT_CONFSETTING(APOLLO_CONF_8_PLANES, "8-Plane Color")
Expand Down
Loading

0 comments on commit 5170019

Please sign in to comment.