src/mess/drivers/pc8801.c
| r10073 | r10074 | |
| 818 | 818 | // AM_RANGE(0xd0, 0xd7) AM_NOP /* music & GP-IB */ |
| 819 | 819 | // AM_RANGE(0xd8, 0xd8) AM_NOP /* GP-IB */ |
| 820 | 820 | // AM_RANGE(0xdc, 0xdf) AM_NOP /* MODEM */ |
| 821 | | AM_RANGE(0xe2, 0xe2) AM_WRITE(pc8801_extram_sel_w) /* expand RAM select */ |
| 821 | AM_RANGE(0xe2, 0xe2) AM_WRITE(pc8801_extram_sel_w) /* expand RAM select */ |
| 822 | 822 | AM_RANGE(0xe4, 0xe4) AM_WRITE(pc8801_irq_level_w) |
| 823 | 823 | AM_RANGE(0xe6, 0xe6) AM_WRITE(pc8801_irq_mask_w) |
| 824 | 824 | // AM_RANGE(0xe7, 0xe7) AM_NOP /* (unknown) */ |
| r10073 | r10074 | |
| 1218 | 1218 | /* YM2203 Interface */ |
| 1219 | 1219 | static void pc8801_sound_irq( device_t *device, int irq ) |
| 1220 | 1220 | { |
| 1221 | | printf("%02x\n",sound_irq_mask); |
| 1222 | | |
| 1223 | 1221 | if(sound_irq_mask) |
| 1224 | 1222 | pc8801_raise_irq(device->machine,4); |
| 1225 | 1223 | } |
| r10073 | r10074 | |
| 1297 | 1295 | { |
| 1298 | 1296 | ext_rom_bank = 0xff; |
| 1299 | 1297 | gfx_ctrl = 0x31; |
| 1300 | | window_offset_bank = 0x00; |
| 1298 | window_offset_bank = 0x80; |
| 1301 | 1299 | misc_ctrl = 0x90; |
| 1302 | 1300 | layer_mask = 0x00; |
| 1303 | 1301 | bankr[0] = pc8801_bankswitch_0_r(machine); |