(Based on Open-PS2-Loader 0.7 rev. 249)
Module Sequence
TO BE DONE - Please contribute!
Debug Colors per Module
loader.c
████████ blue After installing kernel hooks
████████ red After LoadExecPS2
syshook.c
Hook_SifSetReg
████████ black After replacing SifSetReg syscall in kernel
t_loadElf
████████ green After replacing cdrom in elf path by cddev
████████ white After replacing cddev in elf path by cdrom, applying needed game patches if any and running ExecPS2
NewLoadExecPS2
████████ white After Running ExecPS2
elfldr.c
main
████████ maroon Before ExecPS2
████████ white After ExecPS2
t_loadElf
████████ purple Before Reseting EE
████████ green After wiping user memory (0x00100000-0x01FFFFFF) and clearing scratchpad memory (0x70000000)
████████ black Before finally running the ELF
████████ grey After running the ELF
iopmgr.c
New_Reset_Iop: This function hook reset IOP (Input/Output Processor) if an update sequence is requested
████████ magenta Before SifInitRpc
████████ orange After LoadIRXfromKernel
████████ maroon After opening IOPRP path
████████ green When eeloadcnf_reset
████████ blue After Enabling Interrupts
████████ yellow After Sbv_Patch
padhook.c
t_loadElf
████████ Spring Green2 Load home ELF
████████ maroon Init RPC & CMD
████████ orchid Reset IO Processor
████████ Slate Blue Apply Sbv patches
████████ sienna Exit services
████████ red Execute BOOT.ELF
In Game Reset Thread
████████ white If Pad Combo is Start + Select then Return to Home
████████ NavyBlue Re-Init RPC & CMD
████████ green Remove kernel hook
████████ purple Reset Data Decompression Vector Unit 0 & 1
████████ red Reset SPU Sound processor
████████ yellow Check Translation Look-Aside Buffer, some game (GT4, GTA) modify memory map, so a re-init is needed to properly access memory, Init TLB, Check Performance Counter, Some game (GT4) start performance counter (when counter overflow, an exception occur, so stop them), Stop Performance Counter
This function patch the padOpen calls. (scePadPortOpen or scePad2CreateSocket), there is a loop for each libpad version
████████ purple While PadOpen pattern search
First try to locate the original libpad's PadOpen function
████████ green while PadOpen patches
████████ black Done!
I found the colors references using the following links and tools:
- "RGB to Color Name Mapping - Triplet and Hex" (http://web.njit.edu/~kevin/rgb.txt.html)
- "WhatColor - A PC Tool For ColorBlinds People" (http://www.hikarun.com/e/)
- "COLOURlovers" (http://www.colourlovers.com/)
Last words: This is a work in progress, so I will update this main post ASAP.
Of course, my actions can be based on your feedback i.e., from your typos/grammar/functional/technical suggestions and fixes.
You are all welcome here, please contribute ;-)


LinkBack URL
About LinkBacks






