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:
45b0be8
)
[VM][FMTOWNS][TOWNS_MEMORY] Make registers accessing related to Tsugaru,
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 8 Oct 2023 14:32:49 +0000
(23:32 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 8 Oct 2023 14:32:49 +0000
(23:32 +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
5b40eb4
..
455b811
100644
(file)
--- a/
source/src/vm/fmtowns/towns_memory.cpp
+++ b/
source/src/vm/fmtowns/towns_memory.cpp
@@
-548,13
+548,13
@@
uint8_t TOWNS_MEMORY::read_sys_ports8(uint32_t addr)
val = 0xfe;
break;
case 0x0404: // System Status Reg.
-
val = (dma_is_vram) ? 0x7f : 0xff;
-
//
val = (dma_is_vram) ? 0x00 : 0x80;
+
//
val = (dma_is_vram) ? 0x7f : 0xff;
+
val = (dma_is_vram) ? 0x00 : 0x80;
break;
case 0x0480:
val = (select_d0_dict) ? 0x01 : 0x00;
val |= ((select_d0_rom) ? 0x00 : 0x02);
-
val |= 0xfc;
+
//
val |= 0xfc;
break;
case 0x05c0:
// val = (extra_nmi_mask) ? 0xf7 : 0xff;