OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[VM][FMTOWNS] May PLACE MSDOS-ROM to b00000-bfffff.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
fmtowns
/
msdosrom.cpp
diff --git
a/source/src/vm/fmtowns/msdosrom.cpp
b/source/src/vm/fmtowns/msdosrom.cpp
index
cea1700
..
24b7387
100644
(file)
--- a/
source/src/vm/fmtowns/msdosrom.cpp
+++ b/
source/src/vm/fmtowns/msdosrom.cpp
@@
-27,6
+27,8
@@
uint32_t MSDOSROM::read_memory_mapped_io8(uint32_t addr)
uint8_t d = 0xff;
if((addr >= 0xc2000000) && (addr < 0xc2080000)) {
d = rom[addr & 0x7ffff];
+ } else if((addr >= 0x000b0000) && (addr < 0x000c0000)) {
+ d = rom[addr & 0x0ffff];
}
return (uint32_t)d;
}