How to set Kernel mode in asm ?
Posted: Thu Mar 22, 2007 11:50 am
Is there any source out there that I could check?
Homebrew PS2, PSP & PS3 Development Discussions
https://forums.ps2dev.org./
Code: Select all
...
DI();
ee_kmode_enter();
iop_addr = (int *)(0xbc000000+ret[1]);
memcpy(&campacket[0],iop_addr, ret[0]);
ee_kmode_exit();
EI();
...
Forgive me if this isn't possible, but why not compile some code setting to kernel mode, and then disassemble it to see what it looks like in ASM?mad3d wrote:thanks a lot
but Im looking for asm way.