ALi M1489 and a CPU fix.
This commit is contained in:
@@ -319,7 +319,7 @@ ali1489_write(uint16_t addr, uint8_t val, void *priv)
|
|||||||
smi_line = 1;
|
smi_line = 1;
|
||||||
break;
|
break;
|
||||||
case 0x10:
|
case 0x10:
|
||||||
nmi = 1;
|
nmi_raise();
|
||||||
break;
|
break;
|
||||||
case 0x20:
|
case 0x20:
|
||||||
picint(1 << 15);
|
picint(1 << 15);
|
||||||
|
|||||||
@@ -1838,7 +1838,7 @@ sysret(uint32_t fetchdat)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
raise_smi(void)
|
smi_raise(void)
|
||||||
{
|
{
|
||||||
if (is486 && (cpu_fast_off_flags & 0x80000000))
|
if (is486 && (cpu_fast_off_flags & 0x80000000))
|
||||||
cpu_fast_off_count = cpu_fast_off_val + 1;
|
cpu_fast_off_count = cpu_fast_off_val + 1;
|
||||||
@@ -1848,7 +1848,7 @@ raise_smi(void)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
raise_nmi(void)
|
nmi_raise(void)
|
||||||
{
|
{
|
||||||
if (is486 && (cpu_fast_off_flags & 0x20000000))
|
if (is486 && (cpu_fast_off_flags & 0x20000000))
|
||||||
cpu_fast_off_count = cpu_fast_off_val + 1;
|
cpu_fast_off_count = cpu_fast_off_val + 1;
|
||||||
|
|||||||
@@ -733,4 +733,7 @@ extern uint8_t do_translate, do_translate2;
|
|||||||
|
|
||||||
extern void reset_808x(int hard);
|
extern void reset_808x(int hard);
|
||||||
|
|
||||||
|
extern void smi_raise();
|
||||||
|
extern void nmi_raise();
|
||||||
|
|
||||||
#endif /*EMU_CPU_H*/
|
#endif /*EMU_CPU_H*/
|
||||||
|
|||||||
Reference in New Issue
Block a user