Previous 15994 Revisions Next

r5048 Thursday 18th June, 2009 at 22:50:51 UTC by Barry Rodewald
[FM7] Re-ordered DIP switch locations and settings.
[src/mess/drivers]fm7.c

src/mess/drivers/fm7.c
r5047r5048
10391039  PORT_BIT(0x20,IP_ACTIVE_HIGH,IPT_BUTTON1) PORT_NAME("LPT Joystick Button 1") PORT_PLAYER(1)
10401040
10411041  PORT_START("DSW")
1042  PORT_DIPNAME(0x01,0x00,"Switch A") PORT_DIPLOCATION("SWA:1")
1042  PORT_DIPNAME(0x01,0x01,"Switch A") PORT_DIPLOCATION("SWA:1")
10431043  PORT_DIPSETTING(0x00,DEF_STR( Off ))
10441044  PORT_DIPSETTING(0x01,DEF_STR( On ))
1045  PORT_DIPNAME(0x02,0x00,"Boot mode") PORT_DIPLOCATION("SWA:2")
1046  PORT_DIPSETTING(0x00,"BASIC")
1047  PORT_DIPSETTING(0x02,"DOS")
1048  PORT_DIPNAME(0x04,0x00,"FM-8 Compatibility mode") PORT_DIPLOCATION("SWA:3")
1045  PORT_DIPNAME(0x02,0x02,"Boot mode") PORT_DIPLOCATION("SWA:2")
1046  PORT_DIPSETTING(0x00,"DOS")
1047  PORT_DIPSETTING(0x02,"BASIC")
1048  PORT_DIPNAME(0x04,0x00,"Switch C") PORT_DIPLOCATION("SWA:3")
10491049  PORT_DIPSETTING(0x00,DEF_STR( Off ))
10501050  PORT_DIPSETTING(0x04,DEF_STR( On ))
1051  PORT_DIPNAME(0x08,0x00,"Switch D") PORT_DIPLOCATION("SWA:4")
1051  PORT_DIPNAME(0x08,0x00,"FM-8 Compatibility mode") PORT_DIPLOCATION("SWA:4")
10521052  PORT_DIPSETTING(0x00,DEF_STR( Off ))
10531053  PORT_DIPSETTING(0x08,DEF_STR( On ))
10541054
r5047r5048
11051105   fdc_drive = 0;
11061106   
11071107   // set boot mode
1108   if(input_port_read(machine,"DSW") & 0x02)
1108   if(!(input_port_read(machine,"DSW") & 0x02))
11091109   {  // DOS mode
11101110      memory_set_bankptr(machine,2,memory_region(machine,"dos"));
11111111   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team