Previous 15994 Revisions Next

r10074 Monday 17th January, 2011 at 15:56:38 UTC by Angelo Salese
[PC-8801]: Fixed window offset bank init bug, fixes The Goonies and Alpha booting
[src/mess/drivers]pc8801.c

src/mess/drivers/pc8801.c
r10073r10074
818818//  AM_RANGE(0xd0, 0xd7) AM_NOP                                     /* music & GP-IB */
819819//  AM_RANGE(0xd8, 0xd8) AM_NOP                                     /* GP-IB */
820820//  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 */
822822   AM_RANGE(0xe4, 0xe4) AM_WRITE(pc8801_irq_level_w)
823823   AM_RANGE(0xe6, 0xe6) AM_WRITE(pc8801_irq_mask_w)
824824//  AM_RANGE(0xe7, 0xe7) AM_NOP                                     /* (unknown) */
r10073r10074
12181218/* YM2203 Interface */
12191219static void pc8801_sound_irq( device_t *device, int irq )
12201220{
1221   printf("%02x\n",sound_irq_mask);
1222
12231221   if(sound_irq_mask)
12241222      pc8801_raise_irq(device->machine,4);
12251223}
r10073r10074
12971295{
12981296   ext_rom_bank = 0xff;
12991297   gfx_ctrl = 0x31;
1300   window_offset_bank = 0x00;
1298   window_offset_bank = 0x80;
13011299   misc_ctrl = 0x90;
13021300   layer_mask = 0x00;
13031301   bankr[0] = pc8801_bankswitch_0_r(machine);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team