src/mess/drivers/ex800.c
| r3687 | r3688 | |
| 189 | 189 | static READ8_HANDLER(ex800_porta_r) |
| 190 | 190 | { |
| 191 | 191 | logerror("PA R @%x\n", cpu_get_pc(space->cpu)); |
| 192 | | return mame_rand(machine); |
| 192 | return mame_rand(space->machine); |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | static READ8_HANDLER(ex800_portb_r) |
| 196 | 196 | { |
| 197 | 197 | logerror("PB R @%x\n", cpu_get_pc(space->cpu)); |
| 198 | | return mame_rand(machine); |
| 198 | return mame_rand(space->machine); |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | static READ8_HANDLER(ex800_portc_r) |
| 202 | 202 | { |
| 203 | 203 | logerror("PC R @%x\n", cpu_get_pc(space->cpu)); |
| 204 | | return mame_rand(machine); |
| 204 | return mame_rand(space->machine); |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | static WRITE8_HANDLER(ex800_porta_w) |
| r3687 | r3688 | |
| 252 | 252 | static READ8_HANDLER(ex800_devsel_r) |
| 253 | 253 | { |
| 254 | 254 | logerror("DEVSEL R @%x with offset %x\n", cpu_get_pc(space->cpu), offset); |
| 255 | | return mame_rand(machine); |
| 255 | return mame_rand(space->machine); |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | static WRITE8_HANDLER(ex800_devsel_w) |
| r3687 | r3688 | |
| 263 | 263 | static READ8_HANDLER(ex800_gate5a_r) |
| 264 | 264 | { |
| 265 | 265 | logerror("GATE5A R @%x with offset %x\n", cpu_get_pc(space->cpu), offset); |
| 266 | | return mame_rand(machine); |
| 266 | return mame_rand(space->machine); |
| 267 | 267 | } |
| 268 | 268 | |
| 269 | 269 | static WRITE8_HANDLER(ex800_gate5a_w) |
| r3687 | r3688 | |
| 274 | 274 | static READ8_HANDLER(ex800_iosel_r) |
| 275 | 275 | { |
| 276 | 276 | logerror("IOSEL R @%x with offset %x\n", cpu_get_pc(space->cpu), offset); |
| 277 | | return mame_rand(machine); |
| 277 | return mame_rand(space->machine); |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | 280 | static WRITE8_HANDLER(ex800_iosel_w) |
| r3687 | r3688 | |
| 285 | 285 | static READ8_HANDLER(ex800_gate7a_r) |
| 286 | 286 | { |
| 287 | 287 | logerror("GATE7A R @%x with offset %x\n", cpu_get_pc(space->cpu), offset); |
| 288 | | return mame_rand(machine); |
| 288 | return mame_rand(space->machine); |
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | static WRITE8_HANDLER(ex800_gate7a_w) |