Bios

After qnx4 has been loaded by bios on x86 platform, when operating
low-level hardware,does qnx call bios interrupt? do bios’s System Management
Mode and VGA function still work?
thanks

Photon may call it at startup to switch graphic mode

Aside from that QNX4 never accesses the BIOS it
talk directly to the hardware



“zeng tao” <zengt@jinglun.com.cn> wrote in message
news:8tl8pc$ia3$2@inn.qnx.com

After qnx4 has been loaded by bios on x86 platform, when operating
low-level hardware,does qnx call bios interrupt? do bios’s System
Management
Mode and VGA function still work?
thanks

zeng tao <zengt@jinglun.com.cn> wrote:

After qnx4 has been loaded by bios on x86 platform, when operating
low-level hardware,does qnx call bios interrupt?

No, QNX doesn’t call BIOS interrupts, with the explicit exception of the
_CA_PCI calls which will jump into the PCI configuration BIOS, since that
is a BIOS that is designed to be called form 32-bit protected mode.

Most other BIOS calls expect to be called in 16-bit real mode, so they
will not work (cause your program to SIGSEGV) in protected mode.

do bios’s System Management
Mode and VGA function still work?

I don’t know about SMM mode – but it is something you want to avoid
as it can destroy your real-time responsiveness. As to the VGA functions,
probably not. Look at using Photon is you need graphics.

-David