leblanc@eecg.toronto.edu (Marcel LeBlanc) (04/13/91)
[] 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 connected to the 'other' CIA device). Is it possible to read and write these using the parallel.device, or is it necessary to write to CIA A directly? I have the 1.2 Libraries and Devices reference, but it doesn't mention anything about this (unless I missed it, of course). 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 emulator via the Amiga's parallel port. Since I'm using the Amiga for all my software development, it makes sense to plug the emulator into the Amiga for instant ROM updates (and not some dumb clone). 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 to me how this is done (or where to find references I missed in the 1.2 RKM), I'd be very greatful!!! I don't want to acces the CIAs directly!!! Thanks for any info! Marcel A. LeBlanc -- Electrical Eng. Computer Group, Univ. of Toronto ----------------------------------------------------------------------- leblanc@eecg.toronto.edu else: uunet!utcsri!eecg!leblanc
valentin@public.BTR.COM (Valentin Pepelea) (04/13/91)
In article <1991Apr12.165832.12620@jarvis.csri.toronto.edu> leblanc@eecg.toronto.edu (Marcel LeBlanc) writes: > You're Canadian, so you deserve a prompt answer. >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 >connected to the 'other' CIA device). Is it possible to read and write >these using the parallel.device, or is it necessary to write to CIA A >directly? I have the 1.2 Libraries and Devices reference, but it doesn't >mention anything about this (unless I missed it, of course). It is not possible to twiddle these pins using the parallel device. You would have to access the hardware directly, after allocating the parallel port and bit resources. >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 >emulator via the Amiga's parallel port. Since I'm using the Amiga for all >my software development, it makes sense to plug the emulator into the Amiga >for instant ROM updates (and not some dumb clone). That's a fine use you have in mind, but what do you need these three extra lines for? These lines are otherwise used for handshaking, as per the Centronics standard. (if you can consider it a standard) Valentin -- "An operating system without virtual memory Name: Valentin Pepelea is an operating system without virtue." Phone: (408) 985-1700 Usenet: mips!btr!valentin - Ancient Inca Proverb Internet: valentin@btr.com