🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7503

Opening the gameport.device

#7503
From: Mathew W. Pierce
Date: Tue, 18 Dec 1990 01:15
19 lines
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
Technical Details
Message-ID: <1368@ewu.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!voder!pyramid!oliveb!isc-br!ewu!mpierce

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!voder!pyramid!oliveb!isc-br!ewu!mpierce
From: mpierce@ewu.UUCP (Mathew W. Pierce)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga,comp.sys.amiga.games
Subject: Opening the gameport.device
Message-ID: <1368@ewu.UUCP>
Date: 18 Dec 90 01:15:25 GMT
Followup-To: poster
Organization: Eastern Washington Univ. Cheney WA
Lines: 19