Page 1 of 1

I/O Interface

Posted: Mon Dec 09, 2013 4:34 pm
by Mobsie
today i give the I/O interface to one of my hardware guru. This is the last he made for me, is the Enterprise 128 Diskcontroller.
Foto 1.JPG
So the CV I/O is easy.
Foto 2.JPG
Here is really not much to do.

Re: I/O Interface

Posted: Mon Dec 09, 2013 5:03 pm
by Mobsie
the big one on the pictures is a Hitachi HD468B21P PIA, also standard.

Re: I/O Interface

Posted: Wed Dec 11, 2013 10:11 pm
by Mobsie
i am finish now with the analyze of the I/O Interface. I have now the pinout for the big port.
I also make a interface to connect 3 led´s and write a program to let them blink. Not a big step but the beginning…

Re: I/O Interface

Posted: Sun Dec 15, 2013 11:39 am
by Mobsie
today i have success with reading from the i/o interface parallel port. This is great because not all centronics from old days are bi-directional. The PIA 6821 yes, but some boards have wrong buffer and bi-directional is not possible then.
On the CV we can use all 8 Data Pins as output or input, and any mix. My test-board with 4 LED on the output pins, and 4 transistor switch on the input pins work perfect. Now we can begin with high-speed communication.

Re: I/O Interface

Posted: Sun Dec 15, 2013 6:11 pm
by MADrigal
This is really great news indeed!

What are your plans? A modded version of the BASIC, capable of storing/loading data to/from a floppy disk drive?

Re: I/O Interface

Posted: Tue Dec 31, 2013 12:14 am
by Clockmeister
Mobsie wrote:today i have success with reading from the i/o interface parallel port. This is great because not all centronics from old days are bi-directional. The PIA 6821 yes, but some boards have wrong buffer and bi-directional is not possible then.
On the CV we can use all 8 Data Pins as output or input, and any mix. My test-board with 4 LED on the output pins, and 4 transistor switch on the input pins work perfect. Now we can begin with high-speed communication.
How are you reading/writing to the output pins? Poking/peeking specific memory locations?

Re: I/O Interface

Posted: Tue Dec 31, 2013 8:12 am
by Mobsie
the i/o interface use the PIA 6821, but ONLY PortB. PortA is not used. At the address $E800 and $E801 (59392 and 59393) you can program the PIA. Each of the 8 i/o pins can be defined at input or output. As Input test with an 1.1k switch. Thats all.

Re: I/O Interface

Posted: Tue Dec 31, 2013 12:05 pm
by Clockmeister
Easy. Thanks for that, time to experiment to see if my i/o interface works.
I have plenty of spare 6821's at hand...

Re: I/O Interface

Posted: Tue Dec 31, 2013 12:06 pm
by Mobsie
thats cool you have that pia. i have now ordered 10, not easy to find.