mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Added bootrom access to virtual memory drive
... still protected by system, no hype pls.
This commit is contained in:
parent
2bb0888973
commit
e35c87335d
@ -32,7 +32,7 @@ _start:
|
||||
mcr p15, 0, r5, c5, c0, 3 @ write instruction access
|
||||
|
||||
@ Sets MPU permissions and cache settings
|
||||
ldr r0, =0xFFFF001D @ ffff0000 32k | bootrom (unprotected part)
|
||||
ldr r0, =0xFFFF001F @ ffff0000 64k | bootrom (unprotected / protected)
|
||||
ldr r1, =0x3000801B @ 30000000 16k | dtcm
|
||||
ldr r2, =0x01FF801D @ 01ff8000 32k | itcm
|
||||
ldr r3, =0x08000029 @ 08000000 2M | arm9 mem (O3DS / N3DS)
|
||||
|
@ -62,7 +62,7 @@ _start:
|
||||
mcr p15, 0, r5, c5, c0, 3 @ write instruction access
|
||||
|
||||
@ Sets MPU permissions and cache settings
|
||||
ldr r0, =0xFFFF001D @ ffff0000 32k | bootrom (unprotected part)
|
||||
ldr r0, =0xFFFF001F @ ffff0000 64k | bootrom (unprotected / protected)
|
||||
ldr r1, =0x3000801B @ 30000000 16k | dtcm
|
||||
ldr r2, =0x01FF801D @ 01ff8000 32k | itcm
|
||||
ldr r3, =0x08000029 @ 08000000 2M | arm9 mem (O3DS / N3DS)
|
||||
|
@ -15,7 +15,7 @@ static const VirtualFile vMemFileTemplates[] = {
|
||||
{ "fcramext.mem" , 0x28000000, 0x08000000, 0xFF, VFLAG_N3DS_ONLY },
|
||||
{ "dtcm.mem" , 0x30008000, 0x00004000, 0xFF, 0 },
|
||||
// { "otp.mem" , 0x10012000, 0x00000108, 0xFF, 0 },
|
||||
// { "bootrom.mem" , 0xFFFF0000, 0x00010000, 0xFF, 0 },
|
||||
{ "bootrom.mem" , 0xFFFF0000, 0x00010000, 0xFF, 0 },
|
||||
{ "bootrom_unp.mem" , 0xFFFF0000, 0x00008000, 0xFF, 0 },
|
||||
#ifdef EXEC_A9LH
|
||||
{ "godmode9.bin" , 0x23F00000, 0x00040000, 0xFF, 0 } // arbitrary size
|
||||
|
Loading…
x
Reference in New Issue
Block a user