src/mame/machine/archimds.c
| r8874 | r8875 | |
| 376 | 376 | if(IOC_LOG) |
| 377 | 377 | logerror("IOC: R %s = %02x (PC=%x) %02x\n", ioc_regnames[offset&0x1f], ioc_regs[offset&0x1f], cpu_get_pc( space->cpu ),offset & 0x1f); |
| 378 | 378 | |
| 379 | | if((offset & 0x1f) >= 0x40/4) |
| 380 | | printf("IOC: R %s = %02x (PC=%x) %02x\n", ioc_regnames[offset&0x1f], ioc_regs[offset&0x1f], cpu_get_pc( space->cpu ),offset & 0x1f); |
| 381 | | |
| 382 | 379 | switch (offset & 0x1f) |
| 383 | 380 | { |
| 384 | 381 | case CONTROL: |
| r8874 | r8875 | |
| 452 | 449 | if(IOC_LOG) |
| 453 | 450 | logerror("IOC: W %02x @ reg %s (PC=%x)\n", data&0xff, ioc_regnames[offset&0x1f], cpu_get_pc( space->cpu )); |
| 454 | 451 | |
| 455 | | if((offset & 0x1f) >= 0x40/4) |
| 456 | | printf("IOC: W %02x @ reg %s (PC=%x)\n", data&0xff, ioc_regnames[offset&0x1f], cpu_get_pc( space->cpu )); |
| 457 | | |
| 458 | | |
| 459 | 452 | switch (offset&0x1f) |
| 460 | 453 | { |
| 461 | 454 | case CONTROL: // I2C bus control |