Sapporo
I replaced the code in extend.m with the romlog code. Correct?
Yes, whatever script you intend to run, it must be placed into the extend.m file.
The romlog is OK.
What I see is
- this is still 32 bit ARM
- exception vector 0x10, data abort (can this be caused by permission problems?)
- one of the registers holds 0x100, the start address in the script
- SP is at 0x5E3558 which looks like a regular RAM address
- R0 is 0x4044F6E0, looks like an uncached RAM address
- PC is 0xDFFD41C8, could be a TCM
- LR is 0xE00278A1, thumb address, there are more 0xexxxxxxx addresses on stack
I think the ROM is located above 0xe0000000.
Modified the blind dumper to dump four 16MB segments, starting at 0xe0000000.
dim f,a,startadr=0,romsize=0x1000000,msgstr=0
private sub mydump(c)
startadr = c * 0x1000000
startadr = startadr + 0xe0000000
sprintf(msgstr,"A/DUMP%0X.BIN",c)
LCDMsg_SetStr(a,msgstr)
f=Fopen_Fut(msgstr,"w")
Fwrite_Fut(startadr,romsize,1,f)
Fclose_Fut(f)
Wait(500)
end sub
private sub Initialize()
UI.CreatePublic()
a=LCDMsg_Create()
LCDMsg_SetStr(a,"Running")
System.Create()
msgstr = AllocateMemory(80)
mydump(0)
mydump(1)
mydump(2)
mydump(3)
LCDMsg_SetStr(a,"Done")
FreeMemory(msgstr)
end sub