src/mess/machine/at.c
| r6864 | r6865 | |
| 489 | 489 | |
| 490 | 490 | static READ8_HANDLER( at_kbdc8042_p1_r ) |
| 491 | 491 | { |
| 492 | | logerror("%04x: reading P1\n", cpu_get_pc(cputag_get_cpu(space->machine, "maincpu")) ); |
| 492 | //logerror("%04x: reading P1\n", cpu_get_pc(cputag_get_cpu(space->machine, "maincpu")) ); |
| 493 | 493 | return 0xFF; |
| 494 | 494 | } |
| 495 | 495 | |
| r6864 | r6865 | |
| 505 | 505 | at_state *st = space->machine->driver_data; |
| 506 | 506 | const device_config *keyboard = devtag_get_device(space->machine, "keyboard"); |
| 507 | 507 | |
| 508 | | logerror("%04x: writing $%02x to P2\n", cpu_get_pc(cputag_get_cpu(space->machine, "maincpu")), data ); |
| 508 | //logerror("%04x: writing $%02x to P2\n", cpu_get_pc(cputag_get_cpu(space->machine, "maincpu")), data ); |
| 509 | 509 | |
| 510 | 510 | at_set_gate_a20( space->machine, ( data & 0x02 ) ? 1 : 0 ); |
| 511 | 511 | |
src/mess/machine/i82439tx.c
| r6864 | r6865 | |
| 106 | 106 | const address_space* space = cpu_get_address_space(machine->firstcpu,ADDRESS_SPACE_PROGRAM); |
| 107 | 107 | char bank[10]; |
| 108 | 108 | sprintf(bank,"bank%d",read_bank); |
| 109 | | logerror("conf %02x\n",val); |
| 110 | 109 | memory_install_read_bank(space, begin, end, 0, 0, bank); |
| 111 | 110 | if (val & 0x01) |
| 112 | 111 | memory_set_bankptr(machine, bank, i82439tx->bios_ram + (begin - 0xC0000) / 4); |
src/mess/machine/pc_ide.c
| r6864 | r6865 | |
| 248 | 248 | *************************************************************************/ |
| 249 | 249 | WRITE8_HANDLER(at_mfm_0_w) |
| 250 | 250 | { |
| 251 | | logerror("ide write %.2x %.2x\n", offset, data); |
| 251 | //logerror("ide write %.2x %.2x\n", offset, data); |
| 252 | 252 | switch (offset) { |
| 253 | 253 | case 0: pc_ide_data_w(ide->devs+ide->drv, data); break; |
| 254 | 254 | case 1: pc_ide_write_precomp_w(ide->devs+ide->drv, data); break; |
| r6864 | r6865 | |
| 275 | 275 | case 6: data = pc_ide_drive_head_r(ide); break; |
| 276 | 276 | case 7: data = pc_ide_status_r(ide->devs+ide->drv); break; |
| 277 | 277 | } |
| 278 | | logerror("ide read %.2x %.2x\n", offset, data); |
| 278 | //logerror("ide read %.2x %.2x\n", offset, data); |
| 279 | 279 | return data; |
| 280 | 280 | } |
| 281 | 281 | |