Previous 15994 Revisions Next

r3185 Saturday 6th September, 2008 at 08:35:08 UTC by Barry Rodewald
[CPCPLUS,GX4000] Set upper ROM to be enabled on boot (needed for Epyx World of Sports)
[src/mess/drivers]amstrad.c

src/mess/drivers/amstrad.c
r3184r3185
18081808   {
18091809      logerror("IRQ: Not cleared, IRQ was called by DMA [%i]\n",amstrad_plus_irq_cause);
18101810      amstrad_plus_asic_ram[0x2c0f] &= ~0x80;  // not a raster interrupt, so this bit is reset
1811      return (amstrad_plus_asic_ram[0x2805] & 0xf8) + amstrad_plus_irq_cause;
1811      return (amstrad_plus_asic_ram[0x2805] & 0xf8) | amstrad_plus_irq_cause;
18121812   }
18131813   cpunum_set_input_line(machine, 0,0, CLEAR_LINE);
18141814   amstrad_CRTC_HS_Counter &= 0x1F;
r3184r3185
18211821         amstrad_plus_asic_ram[0x2c0f] &= ~0x80;
18221822         amstrad_plus_asic_ram[0x2c0f] &= (0x40 >> amstrad_plus_irq_cause/2);
18231823      }
1824      return (amstrad_plus_asic_ram[0x2805] & 0xf8) + amstrad_plus_irq_cause;
1824      return (amstrad_plus_asic_ram[0x2805] & 0xf8) | amstrad_plus_irq_cause;
18251825   }
18261826   return 0xFF;
18271827}
r3184r3185
21352135   amstrad_plus_asic_ram[0x2805] = 0x01;  // interrupt vector is undefined at startup, except that bit 0 is always 1.
21362136   AmstradCPC_GA_SetRamConfiguration(machine);
21372137   amstrad_plus_setsplitline(0,0);
2138   amstrad_GateArray_write(machine, 0x081); // Epyx World of Sports requires upper ROM to be enabled by default
2139   
21382140   //  multiface_init();
21392141}
21402142
r3184r3185
21852187   amstrad_plus_asic_ram[0x2805] = 0x01;  // interrupt vector is undefined at startup, except that bit 0 is always 1.
21862188   AmstradCPC_GA_SetRamConfiguration(machine);
21872189   amstrad_plus_setsplitline(0,0);
2190   amstrad_GateArray_write(machine, 0x081); // Epyx World of Sports requires upper ROM to be enabled by default
21882191   //  multiface_init();
21892192}
21902193

Previous 15994 Revisions Next


© 1998-2018 The MESS Team