I’ve used QNX 4 & many other OSs for years and used the parallel port
(0x378) for I/O. Under QNX 6 I have tried several programs that are intermittant at best an do not seem to operate at all in other cases.
I’m a newbie with QNX 6 so bear with me…
I have a scope on the outputs.
I have alread slayed devc-par.
Here is a code snippet:
int main( void )
if (-1 == ThreadCtl( _NTO_TCTL_IO, 0 ))
fprintf(stderr, “Failed to acquire hardware access privity.\n”);
printf("\n\tNO mmap_device_io\n" );
The port works with a quick DOS Floppy boot with debug
out 378 1
out 378 0
so BIOS is OK.