[comp.sys.amiga] Opening the gameport.device

mpierce@ewu.UUCP (Mathew W. Pierce) (12/18/90)

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