src/mess/drivers/fm7.c
| r5047 | r5048 | |
| 1039 | 1039 | PORT_BIT(0x20,IP_ACTIVE_HIGH,IPT_BUTTON1) PORT_NAME("LPT Joystick Button 1") PORT_PLAYER(1) |
| 1040 | 1040 | |
| 1041 | 1041 | 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") |
| 1043 | 1043 | PORT_DIPSETTING(0x00,DEF_STR( Off )) |
| 1044 | 1044 | 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") |
| 1049 | 1049 | PORT_DIPSETTING(0x00,DEF_STR( Off )) |
| 1050 | 1050 | 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") |
| 1052 | 1052 | PORT_DIPSETTING(0x00,DEF_STR( Off )) |
| 1053 | 1053 | PORT_DIPSETTING(0x08,DEF_STR( On )) |
| 1054 | 1054 | |
| r5047 | r5048 | |
| 1105 | 1105 | fdc_drive = 0; |
| 1106 | 1106 | |
| 1107 | 1107 | // set boot mode |
| 1108 | | if(input_port_read(machine,"DSW") & 0x02) |
| 1108 | if(!(input_port_read(machine,"DSW") & 0x02)) |
| 1109 | 1109 | { // DOS mode |
| 1110 | 1110 | memory_set_bankptr(machine,2,memory_region(machine,"dos")); |
| 1111 | 1111 | } |