Calling Bios32-Service -> General Protection Fault
Posted: Tue Mar 27, 2007 2:43 am
Hi guys,
I've written a routine to detect the BIOS32 Service directory and his entry point (I've checked it also with a hex-editor). But if I try to call it, I get a "General Protection Fault". So what I'm doing wrong?
Here are some more infos for you
- CS and DS have the same base
- CS is execute-only
- DS is read / write (because if I set it to read only my System will not boot)
- I think the calling environment has access to IO space
Maybe it's because I didn't enabled paging, but is it neccessary?
Thank you for your help!
I've written a routine to detect the BIOS32 Service directory and his entry point (I've checked it also with a hex-editor). But if I try to call it, I get a "General Protection Fault". So what I'm doing wrong?
Here are some more infos for you
- CS and DS have the same base
- CS is execute-only
- DS is read / write (because if I set it to read only my System will not boot)
- I think the calling environment has access to IO space
Maybe it's because I didn't enabled paging, but is it neccessary?
Thank you for your help!