Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!pasteur!ucbvax!UMDD.BITNET!BBOURBIN From: BBOURBIN@UMDD.BITNET (Brett S Bourbin) Newsgroups: comp.sys.amiga Subject: assembly use of gameport.device Message-ID: <8802160312.AA22247@jade.berkeley.edu> Date: 16 Feb 88 03:05:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 24 Does anyone out there have any good examples of using and setting up the gameport devices in assembly language? I have been trying to use the ones in the ROM KM but it seems to use heavy "C" support. I also wrote some code ( with some help from Kodiak's example ) in assembly to release port 0 from intuitions control, so I can use that port for my mouse control. Last question: What is the difference between using a: DoIo( IO_Message) ; or using : SendIO( IO_Message ) ; WaitPort( MsgPort ); GetMsg( MsgPort ); I thought that the only difference between DoIO and SendIO is that SendIO returns right away? If this is true than the two examples should do the same thing. Why would they use the 3 system commands instead of using DoIO? Am I missing something here? - Brett Bourbin BITNET: bbourbin@umdd