trunk/src/emu/bus/isa/hdc.c
r241496 | r241497 | |
121 | 121 | ROM_LOAD("wdbios.rom", 0x00000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF */ |
122 | 122 | ROM_END |
123 | 123 | |
| 124 | static INPUT_PORTS_START( isa_hdc ) |
| 125 | PORT_START("HDD") |
| 126 | PORT_BIT( 0xb0, 0xb0, IPT_UNUSED ) |
| 127 | PORT_DIPNAME( 0x40, 0x40, "IRQ level") |
| 128 | PORT_DIPSETTING( 0x40, "5" ) |
| 129 | PORT_DIPSETTING( 0x00, "2" ) |
| 130 | PORT_DIPNAME( 0x0c, 0x0c, "Type of 1st drive") |
| 131 | PORT_DIPSETTING( 0x0c, "0" ) |
| 132 | PORT_DIPSETTING( 0x08, "1" ) |
| 133 | PORT_DIPSETTING( 0x04, "2" ) |
| 134 | PORT_DIPSETTING( 0x00, "3" ) |
| 135 | PORT_DIPNAME( 0x03, 0x03, "Type of 2nd drive") |
| 136 | PORT_DIPSETTING( 0x03, "0" ) |
| 137 | PORT_DIPSETTING( 0x02, "1" ) |
| 138 | PORT_DIPSETTING( 0x01, "2" ) |
| 139 | PORT_DIPSETTING( 0x00, "3" ) |
| 140 | |
| 141 | PORT_START("ROM") |
| 142 | PORT_DIPNAME( 0x01, 0x01, "Install ROM?") |
| 143 | PORT_DIPSETTING( 0x01, DEF_STR(Yes) ) |
| 144 | PORT_DIPSETTING( 0x00, DEF_STR(No) ) |
| 145 | INPUT_PORTS_END |
| 146 | |
124 | 147 | //************************************************************************** |
125 | 148 | // GLOBAL VARIABLES |
126 | 149 | //************************************************************************** |
r241496 | r241497 | |
146 | 169 | return ROM_NAME( hdc ); |
147 | 170 | } |
148 | 171 | |
| 172 | //------------------------------------------------- |
| 173 | // input_ports - device-specific input ports |
| 174 | //------------------------------------------------- |
| 175 | |
| 176 | ioport_constructor isa8_hdc_device::device_input_ports() const |
| 177 | { |
| 178 | return INPUT_PORTS_NAME( isa_hdc ); |
| 179 | } |
| 180 | |
149 | 181 | //************************************************************************** |
150 | 182 | // LIVE DEVICE |
151 | 183 | //************************************************************************** |
r241496 | r241497 | |
167 | 199 | void isa8_hdc_device::device_start() |
168 | 200 | { |
169 | 201 | set_isa_device(); |
170 | | m_isa->install_rom(this, 0xc8000, 0xc9fff, 0, 0, "hdc", "hdc"); |
171 | 202 | m_isa->install_device(0x0320, 0x0323, 0, 0, read8_delegate( FUNC(isa8_hdc_device::pc_hdc_r), this ), write8_delegate( FUNC(isa8_hdc_device::pc_hdc_w), this ) ); |
172 | 203 | m_isa->set_dma_channel(3, this, FALSE); |
173 | 204 | buffer.resize(17*4*512); |
r241496 | r241497 | |
203 | 234 | csb = 0; |
204 | 235 | status = 0; |
205 | 236 | error = 0; |
206 | | dip = 0xff; |
| 237 | dip = ioport("HDD")->read(); |
207 | 238 | |
| 239 | if (ioport("ROM")->read() == 1) |
| 240 | m_isa->install_rom(this, 0xc8000, 0xc9fff, 0, 0, "hdc", "hdc"); |
208 | 241 | } |
209 | 242 | |
210 | 243 | hard_disk_file *isa8_hdc_device::pc_hdc_file(int id) |
trunk/src/mame/drivers/peplus.c
r241496 | r241497 | |
141 | 141 | PPnnnn Poker games. Several different types of poker require specific CG graphics + CAP color prom |
142 | 142 | IPnnnn International Poker games. Several different types of poker require specific CG graphics + CAP color prom |
143 | 143 | PSnnnn Slot games. Each slot game requires specific CG graphics + CAP color prom |
144 | | MGnnnn Multi Game programs for the Player's Choice machines that had optional touchscreens and or printers |
145 | 144 | |
146 | 145 | Super PE+ |
147 | 146 | Program Types |
r241496 | r241497 | |
8953 | 8952 | GAMEL(1987, peip0120, peip0031, peplus, peplus_poker, peplus_state, nonplus, ROT0, "IGT - International Game Technology", "Player's Edge Plus (IP0120) Standard Draw Poker - French", 0, layout_pe_poker ) |
8954 | 8953 | |
8955 | 8954 | /* Normal board : Blackjack */ |
8956 | | GAMEL(1994, pebe0014, 0, peplus, peplus_bjack, peplus_state, peplus, ROT0, "IGT - International Game Technology", "Player's Edge Plus (BE0014) Blackjack", 0, layout_pe_bjack ) |
| 8955 | GAMEL(1994, pebe0014, 0, peplus, peplus_bjack, peplus_state, peplus, ROT0, "IGT - International Game Technology", "Player's Edge Plus (BE0014) Blackjack", 0, layout_pe_bjack ) |
8957 | 8956 | |
8958 | 8957 | /* Normal board : Keno */ |
8959 | 8958 | GAMEL(1994, peke1012, 0, peplus, peplus_keno, peplus_state, peplus, ROT0, "IGT - International Game Technology", "Player's Edge Plus (KE1012) Keno", 0, layout_pe_keno ) |