Could the User Port be set up to better support EPP (Enhanced Parallel Port)?
Posted: Thu Jul 16, 2020 8:00 am
In the FB group is a block header pinout for a parallel port.
Translating to the standards documents pinouts for parallel ports, which are (block header# ->parallel port pin#):
1->1, 3->2, 5->3. 7->4, 9->5, 11->6, 13->7, 15->8, 17->9, 19->10, 21->11, 23->12, 25->13
2->14, 4->15, 6->16, 8->17, 10->18, 12->19, 14->20, 16->21, 18->22, 20->23, 22->24, 24->25, 26->NC
The block header pinout shows parallel port pin #1 at PB0, pin#12-#15 at PB1-4, pin#16 (block header 6) is shown as an inverted line connected to RESB, the VIA6522 reset line. So when RESB is High, the Initialize signal is Low.
In the EPP protocol, this seems to mean that in order to use the external device Reset output (in EPP mode), you must also reset the VIA6522. It would be more convenient if the EPP external device initialize line was on a GPIO.
The EPP doesn't use as many input lines as the Standard Parallel Port, because it relies on setting the correct IDE register address(es) and then reading the register(s) contents in order to determine what is the reason for the external device raising an Interrupt. Therefore parallel port pins 12 &13 (Block header 23 & 25) connecting to PB1&2, and parallel port 15 (Block Header 4) connecting to PB4 are Spare pins in the EPP protocol. https://allpinouts.org/pinouts/connectors/parallel/epp-parallel/
So a jumper that selects between the spare PB4 to go out on the block header pin 6 (parallel port pin #16) rather than the inverted mirror of the RESB being sent to the VIA would seem to suffice to allow an external EPP device to be reset without also having to reset the 6522.