mirror of
https://github.com/CTurt/FreeDVDBoot.git
synced 2026-02-08 17:32:36 +00:00
2.10
This commit is contained in:
Binary file not shown.
@@ -7,6 +7,7 @@ _start:
|
||||
# Point stack to end of scratchpad RAM
|
||||
#la $sp, 0x70004000
|
||||
|
||||
# debug
|
||||
la $v0, 0x01FFF7D0
|
||||
sw $v0, 0($v0)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -25,12 +25,13 @@ int main(void) {
|
||||
|
||||
flush();
|
||||
|
||||
SifInitRpc(0);
|
||||
SifExitRpc();
|
||||
while(!SifIopReset("", 0));
|
||||
while(!SifIopSync()){};
|
||||
|
||||
// These aren't needed to launch uLE at least, and make compatibility worse, so commented out...
|
||||
//SifInitRpc(0);
|
||||
//SifExitRpc();
|
||||
//while(!SifIopReset("", 0));
|
||||
//while(!SifIopSync()){};
|
||||
|
||||
// //SifInitRpc(0);
|
||||
|
||||
volatile void **entry_point_address = (void *)0x01FFF7E0;
|
||||
ExecPS2(*entry_point_address, 0, 0, 0);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,8 +4,10 @@
|
||||
# entry (0xb7548 + 0x5c700 - 0xb1000) = 0x62C48 (0xa0062C48) # hardware
|
||||
|
||||
|
||||
|
||||
#readSector = 0xb260c # repacked
|
||||
readSector = (0xb260c + 0x5c700 - 0xb1000) # real hardware
|
||||
readSector = (0xb260c + 0x5c700 - 0xb1000) # real hardware - through wle
|
||||
#readSector = (0xb260c + - 0xb1000 - 0x400) # real hardware
|
||||
|
||||
flushIcache = 0x00002f40
|
||||
flushDcache = 0x0003044
|
||||
@@ -36,10 +38,12 @@ _start:
|
||||
|
||||
# Return gracefully back to original return address
|
||||
#la $a0, 0x1f62ac # repacked
|
||||
la $a0, (0x1f62ac + 0x1F3058 - 0x1f6258) # hardware
|
||||
#la $a0, (0x1f62ac + 0x1F3058 - 0x1f6258) # hardware
|
||||
la $a0, (0x1f62ac + 0x001F3058 - 0x1f6258) # hardware
|
||||
|
||||
#la $ra, 0xb3630 # repacked
|
||||
la $ra, (0xb3630 + 0x5c700 - 0xb1000) # hardware
|
||||
#la $ra, (0xb3630 + - 0xb1000 - 0x400) # hardware
|
||||
|
||||
sw $ra, 0($a0)
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user