🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Reading gameports - analog input?

#10423
From: Dan Wallach
Date: Tue, 29 Nov 1988 03:55
13 lines
1017 bytes
Does anybody have any example C code for reading analog joysticks on either
mouse port?  I basically want to turn my Amiga into a small-scale oscilloscope
(4096 color!) and this would be the simplest way to get input.  It doesn't
have to be extremely accurate - I'm not looking for an audio quality digitizer -
it just has to function like calling PDL(0) on an Apple // series machine.

Would it be easier to pay attention to pin 16 on the serial ("Audio into amiga")
or pins 5 and 9 on the game controller ("Horizontal/Vertical Potentiometer")

Thanks much.

Dan Wallach
{...!uunet!}convex!danny
Technical Details
Message-ID: <737@convex.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!killer!convex!concave!danny

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!killer!convex!concave!danny
From: danny@concave.uucp (Dan Wallach)
Newsgroups: comp.sys.amiga.tech
Subject: Reading gameports - analog input?
Message-ID: <737@convex.UUCP>
Date: 29 Nov 88 03:55:28 GMT
Sender: news@convex.UUCP
Reply-To: danny@concave.UUCP (Dan Wallach)
Organization: Convex Computer Corporation, Richardson, Tx.
Lines: 13