Skip to content

Commit c6df030

Browse files
Fix memory size for m500
1 parent 126b2cf commit c6df030

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/dbvzRegisterAccessors.c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static void updateCsdAddressLines(void){
345345
dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask |= 0x00800000;
346346

347347
//address line 22 is enabled
348-
if((sdctrl & 0x0030) == 0x0010)
348+
if(palmEmulatingM500 || (sdctrl & 0x0030) == 0x0010)
349349
dbvzChipSelects[DBVZ_CHIP_DX_RAM].mask |= 0x00400000;
350350
}
351351
else{

tools/desktop/getOs4FunctionNames.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def makeString(location):
2121

2222
return string
2323

24-
#scan from ROM start to ROM end
25-
for func in idautils.Functions(0x10000000, 0x103D7C00):
24+
for func in idautils.Functions():
2625
str = makeString(idc.get_func_attr(func, FUNCATTR_END) + 1) + ('_%X' % idc.get_func_attr(func, FUNCATTR_START))
2726
idc.set_name(idc.get_func_attr(func, FUNCATTR_START), str, SN_NOCHECK)
2827
print str

0 commit comments

Comments
 (0)