User guide

124 Enhanced OS-9 for X86 PCAT
1
Installing and Configuring Enhanced OS-9
Syntax: dmppci <bus_number> <device_number> <function_number> {<size>}
Function: dump PCI configuration space.
Options:
none.
(Super)[/h0/>] dmppci 0 4 0
PCI DUMP Bus:0 Dev:4 Func:0 Size:64
-----------------------------------
VID DID CMD STAT CLASS RV CS IL IP LT HT BI MG ML SVID SDID
--- ---- ---- ---- ----- -- -- -- -- -- -- -- -- -- ---- ----
1013 00d6 0007 00a0 030000 03 00 0a 01 40 00 00 10 10 1013 8000
BASE[0] BASE[1] BASE[2] BASE[3] BASE[4] BASE[5] CIS_P EXROM
-------- -------- -------- -------- -------- -------- -------- --------
e0000000 e2100000 00000000 00000000 00000000 00000000 00000000 00000000
Offset 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
------------------------------------------------------
0000 13 10 d6 00 07 00 a0 00 03 00 00 03 00 40 00 00
0010 00 00 00 e0 00 00 10 e2 00 00 00 00 00 00 00 00
0020 00 00 00 00 00 00 00 00 00 00 00 00 13 10 00 80
0030 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 10 10
GIMMEIO
GIMMEIO is an example trap handler and test program that
demonstrates how to allow I/O port access in user state programs. The
MWOS/OS9000/80386/PORTS/PCAT/UTILS/GIMMEIO
directory contains both the test program and trap handler source code.
tcall.c OS-9/x86 trap handler source file
thandler.c OS-9/x86 trap handler source file
trapc.a OS-9/x86 trap handler source file
ttest.c example test program source code
makefile makefile for creating test program and trap handler
PCAT/CMDS/gimmeio system state trap handler module
PCAT/CMDS/ttest user state test program
PCAT/LIB/gimmeio.l GIMMEIO trap handler library
ttest.c is a example of how to call the trap handler in order to be granted
access to performing I/O in user state.