0 Members and 2 Guests are viewing this topic.
Is it easy to accidentally write to Flash on Casios and mess up the calc OS certificate/boot code or stuff like that?
This table has several thousand entries...
else if ( iSyscall == 0x0031 ) name = "GetSystemSetting"; else if ( iSyscall == 0x0032 ) name = "SetSystemSetting"; else if ( iSyscall == 0x0033 ) name = "SetSystemSettingPtr"; else if ( iSyscall == 0x01E5 ) name = "GetVRAMBackgroundAddress"; else if ( iSyscall == 0x01E6 ) name = "GetVRAMAddress"; else if ( iSyscall == 0x025F ) name = "VRAMtoDD"; else if ( iSyscall == 0x0262 ) name = "PutNextYPixel"; else if ( iSyscall == 0x0263 ) name = "PutPixel"; else if ( iSyscall == 0x0266 ) name = "GetNextYPixel"; else if ( iSyscall == 0x0267 ) name = "GetPixel"; else if ( iSyscall == 0x0272 ) name = "ClearVRAM"; else if ( iSyscall == 0x02BB ) name = "DrawHeaderLine"; else if ( iSyscall == 0x0BD0 ) name = "Ly555_Table"; else if ( iSyscall == 0x0E96 ) name = "KeyMapper"; else if ( iSyscall == 0x0E97 ) name = "KeyMapper"; else if ( iSyscall == 0x0EA9 ) name = "Keyboard_PutKeycode"; else if ( iSyscall == 0x0EAA ) name = "GetKey_4"; else if ( iSyscall == 0x0EAB ) name = "GetKey"; else if ( iSyscall == 0x1161 ) name = "MB_IsLead"; else if ( iSyscall == 0x1163 ) name = "MB_ElementCount"; else if ( iSyscall == 0x1164 ) name = "MB_ByteCount"; else if ( iSyscall == 0x1166 ) name = "MB_strcat"; else if ( iSyscall == 0x1167 ) name = "MB_strncat"; else if ( iSyscall == 0x1168 ) name = "MB_strcpy"; else if ( iSyscall == 0x116C ) name = "MB_GetSecondElemPtr"; else if ( iSyscall == 0x116D ) name = "MB_GetElement"; else if ( iSyscall == 0x116E ) name = "memcmp"; else if ( iSyscall == 0x116F ) name = "Disp_strcpy"; else if ( iSyscall == 0x1171 ) name = "char_to_upper"; else if ( iSyscall == 0x1172 ) name = "char_to_lower"; else if ( iSyscall == 0x12bf ) name = "GetKeyWait"; else if ( iSyscall == 0x12c0 ) name = "GetKeyWait"; else if ( iSyscall == 0x12c6 ) name = "Keyboard_PutKeyCode"; else if ( iSyscall == 0x1514 ) name = "MCS_SearchDirectory"; else if ( iSyscall == 0x1519 ) name = "MCS_SearchDirectoryItem"; else if ( iSyscall == 0x1535 ) name = "str8cpy_with_upper_lower_mode"; else if ( iSyscall == 0x1536 ) name = "MCS_SearchItem"; else if ( iSyscall == 0x1545 ) name = "MCS_DirtypeToName"; else if ( iSyscall == 0x1561 ) name = "MCS_OpenInternalDirectoryItem"; else if ( iSyscall == 0x1633 ) name = "ItoA_10digit"; else if ( iSyscall == 0x1638 ) name = "Ly555_Table"; else if ( iSyscall == 0x18F9 ) name = "PrintXY"; else if ( iSyscall == 0x18FF ) name = "PrintPixXY"; else if ( iSyscall == 0x1a37 ) name = "GetShiftStatus"; else if ( iSyscall == 0x1a38 ) name = "ClrShiftStatus"; else if ( iSyscall == 0x1A2C ) name = "GetStackPtr"; else if ( iSyscall == 0x1A2E ) name = "SetSystemSetting"; else if ( iSyscall == 0x1A2F ) name = "GetSystemSetting"; else if ( iSyscall == 0x1d81 ) name = "DisplayStatusLine"; else if ( iSyscall == 0x1dd0 ) name = "memcpy"; else if ( iSyscall == 0x1dd1 ) name = "memcmp"; else if ( iSyscall == 0x1dd2 ) name = "Bfile_GetFilenameLength"; else if ( iSyscall == 0x1dd3 ) name = "Bfile_Name_cmp"; else if ( iSyscall == 0x1dd4 ) name = "Bfile_Name_cpy"; else if ( iSyscall == 0x1E62 ) name = "SaveVRAM_1"; else if ( iSyscall == 0x1E63 ) name = "LoadVRAM_1"; else if ( iSyscall == 0x1E82 ) name = "Ly555ptr"; else if ( iSyscall == 0x1E83 ) name = "Ly555ptr"; else if ( iSyscall == 0x1EF8 ) name = "SetBackGround";
GetStackPtr
QuoteGetStackPtrUm, MOV.L R15,Rn was too difficult?
else if ( iSyscall == 0x1161 ) name = "MB_IsLead"; else if ( iSyscall == 0x1163 ) name = "MB_ElementCount"; else if ( iSyscall == 0x1164 ) name = "MB_ByteCount"; else if ( iSyscall == 0x1166 ) name = "MB_strcat"; else if ( iSyscall == 0x1167 ) name = "MB_strncat"; else if ( iSyscall == 0x1168 ) name = "MB_strcpy"; else if ( iSyscall == 0x116C ) name = "MB_GetSecondElemPtr"; else if ( iSyscall == 0x116D ) name = "MB_GetElement"; else if ( iSyscall == 0x116E ) name = "memcmp"; else if ( iSyscall == 0x116F ) name = "Disp_strcpy"; else if ( iSyscall == 0x1171 ) name = "char_to_upper"; else if ( iSyscall == 0x1172 ) name = "char_to_lower"; ... else if ( iSyscall == 0x1dd0 ) name = "memcpy"; else if ( iSyscall == 0x1dd1 ) name = "memcmp";
Quote from: SimonLothar on February 18, 2011, 09:17:26 am else if ( iSyscall == 0x116E ) name = "memcmp"; ... else if ( iSyscall == 0x1dd1 ) name = "memcmp";Are you sure the first one isn't some kind of strcmp? :p
else if ( iSyscall == 0x116E ) name = "memcmp"; ... else if ( iSyscall == 0x1dd1 ) name = "memcmp";
Quote from: Goplat on February 18, 2011, 07:13:37 pmQuote from: SimonLothar on February 18, 2011, 09:17:26 am else if ( iSyscall == 0x116E ) name = "memcmp"; ... else if ( iSyscall == 0x1dd1 ) name = "memcmp";Are you sure the first one isn't some kind of strcmp? :pYes, you are right. 0x116E is strncmp.
teststr1 .SDATA "123" .DATA.B 0 .SDATA "1" .DATA.B 0teststr2 .SDATA "123" .DATA.B 0 .SDATA "2" .DATA.B 0strncmp( teststr1, teststr2, 6) yields "equal".0x116E( teststr1, teststr2, 6) yields -1 ("lower").
Firstly, what do you know about the G3A header checksum...it's the last information I need for my G3A wrapper
Then, do you progressed about the keyboard mapping comprehension?I wrote a FastGetKey for fx9860...
And finally, I don't understand what the syscall you call "GetVRAMBackgroundAddress" is. There are two VRAM? So what is copied to DD when "VRAMtoDD" is called?