mirror of
https://github.com/holub/mame
synced 2025-05-13 17:38:21 +03:00
Fixed interrupt vector in F8 CPU core [Sandro Ronco]
This commit is contained in:
parent
120f6c6571
commit
3ddbeb2975
@ -288,7 +288,7 @@ static void ROMC_0F(f8_Regs *cpustate)
|
|||||||
* must move the contents of the data bus into the low order
|
* must move the contents of the data bus into the low order
|
||||||
* byte of PC0.
|
* byte of PC0.
|
||||||
*/
|
*/
|
||||||
cpustate->irq_vector = (*cpustate->irq_callback)(cpustate->device, 0);
|
cpustate->irq_vector = (*cpustate->irq_callback)(cpustate->device, F8_INPUT_LINE_INT_REQ);
|
||||||
cpustate->dbus = cpustate->irq_vector & 0x00ff;
|
cpustate->dbus = cpustate->irq_vector & 0x00ff;
|
||||||
cpustate->pc1 = cpustate->pc0;
|
cpustate->pc1 = cpustate->pc0;
|
||||||
cpustate->pc0 = (cpustate->pc0 & 0xff00) | cpustate->dbus;
|
cpustate->pc0 = (cpustate->pc0 & 0xff00) | cpustate->dbus;
|
||||||
|
Loading…
Reference in New Issue
Block a user