src/mess/drivers/amstrad.c
| r3184 | r3185 | |
| 1808 | 1808 | { |
| 1809 | 1809 | logerror("IRQ: Not cleared, IRQ was called by DMA [%i]\n",amstrad_plus_irq_cause); |
| 1810 | 1810 | 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; |
| 1812 | 1812 | } |
| 1813 | 1813 | cpunum_set_input_line(machine, 0,0, CLEAR_LINE); |
| 1814 | 1814 | amstrad_CRTC_HS_Counter &= 0x1F; |
| r3184 | r3185 | |
| 1821 | 1821 | amstrad_plus_asic_ram[0x2c0f] &= ~0x80; |
| 1822 | 1822 | amstrad_plus_asic_ram[0x2c0f] &= (0x40 >> amstrad_plus_irq_cause/2); |
| 1823 | 1823 | } |
| 1824 | | return (amstrad_plus_asic_ram[0x2805] & 0xf8) + amstrad_plus_irq_cause; |
| 1824 | return (amstrad_plus_asic_ram[0x2805] & 0xf8) | amstrad_plus_irq_cause; |
| 1825 | 1825 | } |
| 1826 | 1826 | return 0xFF; |
| 1827 | 1827 | } |
| r3184 | r3185 | |
| 2135 | 2135 | amstrad_plus_asic_ram[0x2805] = 0x01; // interrupt vector is undefined at startup, except that bit 0 is always 1. |
| 2136 | 2136 | AmstradCPC_GA_SetRamConfiguration(machine); |
| 2137 | 2137 | amstrad_plus_setsplitline(0,0); |
| 2138 | amstrad_GateArray_write(machine, 0x081); // Epyx World of Sports requires upper ROM to be enabled by default |
| 2139 | |
| 2138 | 2140 | // multiface_init(); |
| 2139 | 2141 | } |
| 2140 | 2142 | |
| r3184 | r3185 | |
| 2185 | 2187 | amstrad_plus_asic_ram[0x2805] = 0x01; // interrupt vector is undefined at startup, except that bit 0 is always 1. |
| 2186 | 2188 | AmstradCPC_GA_SetRamConfiguration(machine); |
| 2187 | 2189 | amstrad_plus_setsplitline(0,0); |
| 2190 | amstrad_GateArray_write(machine, 0x081); // Epyx World of Sports requires upper ROM to be enabled by default |
| 2188 | 2191 | // multiface_init(); |
| 2189 | 2192 | } |
| 2190 | 2193 | |