Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: Accessing BUSY, SEL, and POUT via "parallel.device"? Message-ID: Date: 14 Apr 91 02:16:37 GMT References: <1991Apr12.165832.12620@jarvis.csri.toronto.edu> Organization: Not an Organization Lines: 38 In article <1991Apr12.165832.12620@jarvis.csri.toronto.edu> leblanc@eecg.toronto.edu (Marcel LeBlanc) writes: > >The parallel port on the Amiga (and other computers) includes a few >bi-directional I/O lines other than the 8 data lines (BUSY, SEL, and POUT >.. > >I am building a ROM emulator for my hardware prototyping (which I do >regularly), and I'd like to be able to quickly transfer the ROM code to the >... > >Can these lines be set to ouput, and written via the 2.0 parallel.device? I >am using KS 2.02 (I forget the KS version number). If anyone can describe >.. > >Thanks for any info! > >Marcel A. LeBlanc -- Electrical Eng. Computer Group, Univ. of Toronto >----------------------------------------------------------------------- >leblanc@eecg.toronto.edu else: uunet!utcsri!eecg!leblanc The parallel.device only handles a printer. To use the parall port in a bidirectional manner you must allocate the appropriate resources and access it manually. By the way, the 8 data lines are also bidirectional. I believe I have stuck my PARNET source via FTP on FTP.UU.NET in amiga-sources/dillon, if you have FTP access. If it isn't there give me an email ring and I'll put it up. This code makes for a good example on how to use the parallel port in a bidirectional manner. -Matt -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA