Thread View: comp.sys.amiga.tech
1 messages
1 total messages
Started by Mathew W. Pierce
Tue, 18 Dec 1990 01:15
Opening the gameport.device
Author: Mathew W. Pierce
Date: Tue, 18 Dec 1990 01:15
Date: Tue, 18 Dec 1990 01:15
19 lines
1032 bytes
1032 bytes
Hello netters,
I am having trouble opening the gameport.device, here is some sample
code:
struct MsgPort *joyport ;
struct IOStdReq *joymsg ;
joyport = CreatePort(NULL,0) ;
joymsg = CreateStdIO(joyport) ;
OpenDevice("gameport.device",1,joymsg,0) ;
I put error checking to bailout at each step, which it does at the
OpenDevice() step. A chech with IoErr reveals an error code of
1624121418, what am I doing wrong in the above sequence of steps
( I put main() {} around the last 3 steps ) ?
Any help would be greatly appreciated,
thanks,
Mathew Pierce
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads