trunk/src/emu/bus/isa/mc1502_fdc.c
| r241494 | r241495 | |
| 162 | 162 | { |
| 163 | 163 | case 0: data = mc1502_wd17xx_aux_r(); break; |
| 164 | 164 | case 8: data = mc1502_wd17xx_drq_r(); break; |
| 165 | | case 10: data = mc1502_wd17xx_motor_r(); break; |
| 165 | case 10: data = mc1502_wd17xx_motor_r(); break; |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | return data; |
| 169 | 169 | } |
| 170 | 170 | |
| 171 | READ8_MEMBER( mc1502_fdc_device::mc1502_fdcv2_r ) |
| 172 | { |
| 173 | UINT8 data = 0xff; |
| 174 | |
| 175 | switch( offset ) |
| 176 | { |
| 177 | case 0: data = mc1502_wd17xx_aux_r(); break; |
| 178 | case 1: data = mc1502_wd17xx_motor_r(); break; |
| 179 | case 2: data = mc1502_wd17xx_drq_r(); break; |
| 180 | } |
| 181 | |
| 182 | return data; |
| 183 | } |
| 184 | |
| 171 | 185 | WRITE8_MEMBER( mc1502_fdc_device::mc1502_fdc_w ) |
| 172 | 186 | { |
| 173 | 187 | switch( offset ) |
| r241494 | r241495 | |
| 187 | 201 | { |
| 188 | 202 | } |
| 189 | 203 | |
| 190 | | #if 0 |
| 191 | | AM_RANGE(0x004c, 0x004c) AM_READWRITE(mc1502_wd17xx_aux_r, mc1502_wd17xx_aux_w) |
| 192 | | AM_RANGE(0x004d, 0x004d) AM_READ(mc1502_wd17xx_motor_r) |
| 193 | | AM_RANGE(0x004e, 0x004e) AM_READ(mc1502_wd17xx_drq_r) // blocking read! |
| 194 | | AM_RANGE(0x0048, 0x004b) AM_DEVREADWRITE("vg93", fd1793_t, read, write) |
| 195 | | |
| 196 | | AM_RANGE(0x0100, 0x0100) AM_READWRITE(mc1502_wd17xx_aux_r, mc1502_wd17xx_aux_w) |
| 197 | | AM_RANGE(0x0108, 0x0108) AM_READ(mc1502_wd17xx_drq_r) // blocking read! |
| 198 | | AM_RANGE(0x010a, 0x010a) AM_READ(mc1502_wd17xx_motor_r) |
| 199 | | AM_RANGE(0x010c, 0x010f) AM_DEVREADWRITE("vg93", fd1793_t, read, write) |
| 200 | | #endif |
| 201 | | |
| 202 | 204 | //------------------------------------------------- |
| 203 | 205 | // device_start - device-specific startup |
| 204 | 206 | //------------------------------------------------- |
| r241494 | r241495 | |
| 207 | 209 | { |
| 208 | 210 | set_isa_device(); |
| 209 | 211 | |
| 210 | | // BIOS 5.0, 5.2 |
| 212 | // BIOS 5.0-5.2x |
| 211 | 213 | m_isa->install_device(0x010c, 0x010f, 0, 0, |
| 212 | 214 | READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), |
| 213 | 215 | WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); |
| 214 | 216 | m_isa->install_device(0x0100, 0x010b, 0, 0, read8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_r), this ), write8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_w), this ) ); |
| 215 | | // BIOS 5.31, 5.33 |
| 216 | | /* |
| 217 | | m_isa->install_device(0x010c, 0x010f, 0, 0, |
| 218 | | READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), |
| 219 | | WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); |
| 220 | | m_isa->install_device(0x0100, 0x010b, 0, 0, read8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_r), this ), write8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_w), this ) ); |
| 221 | | */ |
| 222 | 217 | |
| 218 | // BIOS 5.3x |
| 219 | m_isa->install_device(0x0048, 0x004b, 0, 0, |
| 220 | READ8_DEVICE_DELEGATE(m_fdc, fd1793_t, read), |
| 221 | WRITE8_DEVICE_DELEGATE(m_fdc, fd1793_t, write) ); |
| 222 | m_isa->install_device(0x004c, 0x004f, 0, 0, read8_delegate( FUNC(mc1502_fdc_device::mc1502_fdcv2_r), this ), write8_delegate( FUNC(mc1502_fdc_device::mc1502_fdc_w), this ) ); |
| 223 | |
| 223 | 224 | motor_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mc1502_fdc_device::motor_callback),this)); |
| 224 | 225 | motor_on = 0; |
| 225 | 226 | } |
| 226 | | |
| 227 | | |
| 228 | | //------------------------------------------------- |
| 229 | | // device_reset - device-specific reset |
| 230 | | //------------------------------------------------- |
| 231 | | |
| 232 | | void mc1502_fdc_device::device_reset() |
| 233 | | { |
| 234 | | } |
trunk/src/mame/drivers/peplus.c
| r241494 | r241495 | |
| 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 |
| r241494 | r241495 | |
| 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 ) |