How to set Kernel mode in asm ?
How to set Kernel mode in asm ?
Is there any source out there that I could check?
Does it have to be asm?
from ps2cam_rpc.c :
from ps2cam_rpc.c :
Code: Select all
...
DI();
ee_kmode_enter();
iop_addr = (int *)(0xbc000000+ret[1]);
memcpy(&campacket[0],iop_addr, ret[0]);
ee_kmode_exit();
EI();
...
infj
-
- Posts: 86
- Joined: Thu Aug 17, 2006 3:27 am
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.
Why does it specifically need to be in asm anyway? The PS2 SDK supports ASM embedded inside the C++ code.
Cloudy
:)