APM in QNX4

Hello,

Is it possible to switch PC to SUSPENDED-mode under QNX 4?

Does QNX have the APM-related functions? Or may be I can use BIOS INT15 by
some way?

Thanks,
Ilya.

Ilya Gartseev wrote:

Hello,

Is it possible to switch PC to SUSPENDED-mode under QNX 4?

Does QNX have the APM-related functions? Or may be I can use BIOS INT15 by
some way?

ftp://ftp.qnx.com/usr/free/tmp/Apm-1.3.tar.gz

Is a reference for doing APM things in QNX4.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Adam Mallory wrote:

Is it possible to switch PC to SUSPENDED-mode under QNX 4?

Does QNX have the APM-related functions? Or may be I can use BIOS INT15
by
some way?

ftp://ftp.qnx.com/usr/free/tmp/Apm-1.3.tar.gz

Is a reference for doing APM things in QNX4.

Where can I find description of data structure used by this library (struct
_proc_pm_control, struct _proc_apmbios_data, for example)?
Applied binary (apm) cause kernel fault (4.25H, 4.25O), but recompiling
cause error of indefinite data structure.

With respect, Ilya Gartseev.

Ilya Gartseev wrote:

Where can I find description of data structure used by this library (struct
_proc_pm_control, struct _proc_apmbios_data, for example)?
Applied binary (apm) cause kernel fault (4.25H, 4.25O), but recompiling
cause error of indefinite data structure.

Those should be in /usr/include/sys/proc_msg.h as a symlink for
/usr/watcom/10.6/usr/include/sys/proc_msg.h (replace 10.6 with your
watcom version if it’s different).

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Adam Mallory wrote:

Where can I find description of data structure used by this library
(struct
_proc_pm_control, struct _proc_apmbios_data, for example)?
Applied binary (apm) cause kernel fault (4.25H, 4.25O), but recompiling
cause error of indefinite data structure.

Those should be in /usr/include/sys/proc_msg.h as a symlink for
/usr/watcom/10.6/usr/include/sys/proc_msg.h (replace 10.6 with your
watcom version if it’s different).

Watcom ‘C’ Compiler version 10.6 (patch level B)
There aren’t such or similar definitions in <proc_msg.h> or other
header-files. :frowning:
proc_msg.h: 1997.07.15, 24627 bytes. Is this version obsolete?


With respect - Ilya Gartseev, gartseev@mirea.ru,
Moscow State Institute of Radiotechnics, Electronics and Automation.