Applied the NMI mask patch from Greatpsycho;
All PS/1 and PS/2 models are now fixed to their built-in graphics cards and use the legacy VGA monitor pin emulation - fixes the 2401 errors; The S3 ViRGE no longer dumps the video RAM on close.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "io.h"
|
||||
#include "mem.h"
|
||||
#include "model.h"
|
||||
#include "nmi.h"
|
||||
#include "nvr.h"
|
||||
#include "pic.h"
|
||||
#include "rom.h"
|
||||
@@ -184,7 +185,11 @@ void writenvr(uint16_t addr, uint8_t val, void *priv)
|
||||
}
|
||||
}
|
||||
}
|
||||
else nvraddr=val&nvrmask;
|
||||
else
|
||||
{
|
||||
nvraddr=val&nvrmask;
|
||||
nmi_mask = ~val & 0x80;
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t readnvr(uint16_t addr, void *priv)
|
||||
|
||||
Reference in New Issue
Block a user