Hi,
Any body knows why int386, int386x functions cause GP fault on QNX
4.25. I was trying to call BIOS int 10h fuctions but in vain.
MKS
MKS <mksami@comcast.net> wrote:
: Hi,
: Any body knows why int386, int386x functions cause GP fault on QNX
: 4.25. I was trying to call BIOS int 10h fuctions but in vain.
I don’t know about those specific functions, but a lot of those low-level
Intel functions require this:
Your program must be linked for privity level 1, and the process
must be run by the superuser (root) or a setuid program that’s
owned by the superuser but started by a regular user. For more
information on privity, see the cc -T option or the Linker
PRIVILEGE option.
I hope this helps.
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
MKS <mksami@comcast.net> wrote:
Hi,
Any body knows why int386, int386x functions cause GP fault on QNX
4.25. I was trying to call BIOS int 10h fuctions but in vain.
Unless the BIOS is explicitly callable from a 32-bit protected mode
program, you won’t be able to do it.
What BIOS calls were you trying to make/what were you trying to do
with your BIOS calls?
Much of what you might do using BIOS calls in a DOS environment is
done with library calls under QNX.
-David
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.