I just have an audio card with a game port connected to QNX6.2.0, I need
to read the joystick from the game port, but I don’t know what the I/O
port number is that used in the program with out8(), and what the memory
address is.
The infomation I got from “pci -vvv” is:
Class = Multimedia (Audio)
Vendor ID = 1274h, Ensoniq
Device ID = 5880h, 5880 AudioPCI
PCI index = 0h
Class Codes = 040100h
Revision ID = 2h
Bus number = 2
Device number = 12
Function num = 0
Status Reg = 3410h
Command Reg = 105h
I/O space access enabled
Memory space access disabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI IO Address = dc00h length 64 enabled
Subsystem Vendor ID = 1274h
Subsystem ID = 2000h
Max Lat = 128ns
Min Gnt = 12ns
PCI Int Pin = INT A
Interrupt line = 5
Capabilities Pointer = dch
Capability ID = 1h
Capabilities = 421h - 3h
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 21 04
0xE0: 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Can anyone tell me where I can find it? Thanks a lot.
Lily