Sign In
New User? Sign Up
tatung_einstein · Tatung Einstein Computer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
PC/EINEY printer port connection.   Message List  
Reply | Forward Message #277 of 328 |
Re: PC/EINEY printer port connection. Thanks Geoff

Hi Geoff,

A bit map of Einey mother board can be downloaded from the web site.

http://mysite.wanadoo-members.co.uk/retrocomputer/download.htm
http://mysite.wanadoo-
members.co.uk/retrocomputer/download/mb_wiring.zip

Thanks for the correction.
I was using the wrong pair of glasses miss read &47 for &4F in the
Einey Mags.
Unfortunately making a change made no difference.

I don't know if my theory is right but I tried this test.

I ran this BBCBASIC prog on Einey for the user port without anything
connected to it.

10 PUT &33,&4F
20 N=GET(&32)
30 PRINT N
40 GOTO 20

The value of N variable 253 streamed down the screen probably a
default value.

According to the Z80 PIO manual if a steady high is applied to STB
pin 11 without a negative pulse the data from the port should not be
accessed.

To test I crossed pin 11 STB with pin 1 5v. The streaming didn't stop.

I think the Z80 PIO handshake for mode 1 and 2 on Einey has been hard
wired out for normal access just leaving line input and output. STB &
RDY for the port a must be available for Einey's printer driver. So
it might be available with some other configuaring.

This extract from the Tatung Einstein Hardware Manual
might hold the answere.

Parallel Input/Output (Printer and User I/0)

The PIO has two 8 bit parallel ports which can be used as
either inputs or outputs under software control. Port A is
dedicated as a printer output by the MOS at power-on, and
this port has a monostable (1053b) which provides a (lus)
pulse triggered by the Ready (ARDY;I063 pin 18) line of the
PTO port A and is fed to the STROBE output (M001, pin 1).
This pulse is needed to comply with the Centronics printer
-interface timing. As well as the eight data-line outputs
(1063 pins 7,8,9,10,12,13,14,15) which are fed direct to the
printer connector (M001 pins 3,5,7,9,11,13,15,17
respectively). there are three "handshake" input lines from
the printer connector BUSY, PAPER EMPTY, ERROR (M001 pins
21,23,28) which are connected to the tri-state buffer 1036
(pins 15,13,11) to allow printer error conditions to be
detected. The even-numbered pins of the printer connector
(M001) are connected to OV.

The data-lines from port B (1063 pins
27,28,29,30,31,32,33,34) are connected to the user 1/0
connector (M002, pins. 2,4,6,8,10,12,14,16) and the Ready
(BRDY; I063 pin 2) is connected to M002 pin 5. Strobe lines
from each connector (M001, pin 19 and M002 pin 11) are
connected to pull- up resistors R057 and R058 as well as the
strobe inputs of the P10 (ASB,BSTB; 1063 pins 16,17
respectively)


Try to make sense of it later.

Thanks for your help.

Regards Chris Coxall





Tue Mar 25, 2008 10:25 pm

bbcchris2000
Offline Offline
Send Email Send Email

Forward
Message #277 of 328 |
Expand Messages Author Sort by Date

Hi, Does anyone have programming examples of using the Einstein user ports in mode 1 (eight bit import) in their Einey Docs. From the Z80 PIO tech doc (can be...
Chris Coxall
bbcchris2000
Offline Send Email
Mar 24, 2008
10:37 am

Hi Chris, Mode 0 Either A or B as 8-bit output (active strobe after output) Mode 1 Either A or B as 8-bit input (triggering interrupt request if enabled) Mode...
Geoff Latham
id_fugu_is_u...
Offline Send Email
Mar 25, 2008
9:28 am

Hi Chris, I think I was was wildly wrong earlier (depending on how things were implemented in the Einstein). Mode 1 should handle the handshaking. I did,...
geoff
id_fugu_is_u...
Offline Send Email
Mar 25, 2008
4:18 pm

Hi Geoff, A bit map of Einey mother board can be downloaded from the web site. http://mysite.wanadoo-members.co.uk/retrocomputer/download.htm ...
Chris Coxall
bbcchris2000
Offline Send Email
Mar 25, 2008
10:25 pm

damn the computer crashed and I have to re-type. Einey running in X5 (XTAL Basic V5) 10 OUT &33,&4F 20 A=INP(&32) 30 PRINT A 40 GOTO 20 I made a 16 way IDC...
geoff
id_fugu_is_u...
Offline Send Email
Apr 6, 2008
12:22 am

Hi Chris, Further to my tests with the User Port, there's some code here http://www.alioth.net/Projects/Z80/piotest-intr.asm to use the interrupts from the PIO...
geoff
id_fugu_is_u...
Offline Send Email
Apr 6, 2008
11:01 am
Advanced

Copyright © 2009 Yahoo! UK. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help