OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbfb04f
)
[VM][FMTOWNS][MEMORY] Temporally revert value around NMI.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 4 Sep 2023 05:52:01 +0000
(14:52 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 4 Sep 2023 05:52:01 +0000
(14:52 +0900)
source/src/vm/fmtowns/towns_memory.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/fmtowns/towns_memory.cpp
b/source/src/vm/fmtowns/towns_memory.cpp
index
a6ca6e0
..
888f017
100644
(file)
--- a/
source/src/vm/fmtowns/towns_memory.cpp
+++ b/
source/src/vm/fmtowns/towns_memory.cpp
@@
-748,12
+748,12
@@
uint8_t TOWNS_MEMORY::read_sys_ports8(uint32_t addr)
val |= ((select_d0_rom) ? 0x00 : 0x02);
break;
case 0x05c0:
-
val = (extra_nmi_mask) ? 0xf7 : 0xff;
-
//
val = (extra_nmi_mask) ? 0x00 : 0x08;
+
//
val = (extra_nmi_mask) ? 0xf7 : 0xff;
+
val = (extra_nmi_mask) ? 0x00 : 0x08;
break;
case 0x05c2:
-
val = (extra_nmi_val) ? 0xff : 0xf7;
-
//
val = (extra_nmi_val) ? 0x08 : 0x00;
+
//
val = (extra_nmi_val) ? 0xff : 0xf7;
+
val = (extra_nmi_val) ? 0x08 : 0x00;
break;
case 0x05e0:
if(machine_id < 0x0200) { // Towns 1/2