Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!nosc!crash!pro-graphics.cts.com!johnk From: johnk@pro-graphics.cts.com (John Kohanski) Newsgroups: comp.sys.amiga Subject: Re: Sound sampling from C Message-ID: <6421@crash.cts.com> Date: 20 Dec 90 02:16:32 GMT Sender: root@crash.cts.com Lines: 21 In-Reply-To: message from lab@spader.UUCP You are right in that the reguler parallel device does not work when trying to talk to a device other then a printer. The normal parallel.device want to receive paerout, and other standared printer port signals. The only way to acces the port directly is to talk to the CIA ( complex interface adapter chips ) whic the amiga uses. I have had no succes myself yet in talking to these chips. However you might have better luck. You will need the ROM-KERNEL manual which has a brief chunk of code in assembly that is supposed to acces the cia chips. Also there is some source code on a fred fish disk ( I dont remeber whic number) that contains the assebmly source to acces the chips. However when I use the assebler that comes with lattice-c to assemble the code it dose not work. John Kohanski -- John Kohanski Pro-Graphics BBS 908/469-0049 "It's better than a sharp stick in the eye!" Internet: johnk@pro-graphics.cts.com UUCP: crash!pro-graphics!johnk ARPA: crash!pro-graphics!johnk@nosc.mil