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
Wanna have a laugh?   Message List  
Reply | Forward Message #287 of 328 |
Parallel port connections. Update.

Parallel port connections. Update.
Hi Geoff,

Still no success with hand shaking using mode 1 on port A the port
used for the Einey printer port.

I have though established parallel port import with hand shaking from
the PC printer port by using port A for data and polling bit 2 busy
in the Einey auxiliary register and using port b Einey user port line
2 bit 0 to toggle acknowledge on the PC.

Both ports are used in mode 3; port A set for 8 bit import; port B
bit 0 for output. The data output pin from the user port was only
3.4v multi metre reading not enough to put acknowledge high on the
PC. To get it to higher voltage the data line was put through a
74ls244 (an 8 line buffer)taken off an old Einey mother board. VCC
for the IC came from the 5v pin 1 of the user port. After the IC the
voltage was still 3.4v so a 1k resister was used to pull up to the 5v
from pin 1 (I think a 2k should be used here). This brought the
output up to around 4v enough to set acknowledge on the PC. The
74ls244 might not be needed just the pull up resister but I'm
guessing the IC gives Einey some protection against to much power
back feeding.

I have programming on the PC and Einey to receive streams of data to
Einey without bytes missing or duplicating.

As a test for data output power levels from Einey's port A to the PC
I used some simple programming for Einey to send and the PC to
receive. Einey streamed data over to the PC ok (no hand shaking
established here yet) but it shows no additional hardware circuitry
is needed for data lines for the PC.

Regarding mode 1: A multi metre test on the printer port showed
strobe pin 1 of printer port connected to Aready of the z80 pio to
have a healthy 5v. Enough to hold acknowledge high for the PC. With a
connection to the PC there is no sign of strobe going low with a
negative pulse. This should happen when strobe from the PC to
acknowledge pin 19 (connected to ASTB of z80 PIO) goes from low to
high. Triggering on the rising edge.

A test I can try later (when I can disconnect my present improvised
connection) is to use strobe pin 1 to power a LED.
run the program
10 PUT &31,&4F
20 N=GET(&30)
30 PRINT N
40 GOTO 20
Then touch the line attached to acknowledge pin 19 to 5v an see if
the LED blinks off.

Given that this works unlike my present set up where I have
programming polling control over monitoring hand shaking inputs and
setting handshaking outputs-: mode 1 hand shaking is invisible to the
programmer. There is no control in mode 1 to read the state of
acknowledge or set a hand shake to the peripheral. The only way I can
see mode 1 handshaking to be effective is that the programming to
import a byte as above or its machine code equivalent is only run
when triggered by an interrupt.

I'm still mode 1 confused.

Regards Chris Coxall





Thu Apr 24, 2008 9:33 pm

bbcchris2000
Offline Offline
Send Email Send Email

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

Read this and enjoy. http://www.oualline.com/col/cpm.html...
fil_simmons
Offline Send Email
Nov 22, 2006
10:50 am

I strongly refute these results. Only 1 minute to boot up? I'd say 2 or 3 Regards Andrew ... From: fil_simmons To: tatung_einstein@... Sent:...
Andrew McRobbie
am011c0538@...
Send Email
Nov 22, 2006
7:50 pm

Hi phil, I don't know if anyone already sent you this but I've just found my ZBASIC disk. The attached inage was made with CPCDiskXP v1.6 If you have any...
Geoff Latham
id_fugu_is_u...
Offline Send Email
Apr 24, 2008
2:03 pm

Sorry about that, It wasn't meant to go to everyone....
Geoff Latham
id_fugu_is_u...
Offline Send Email
Apr 24, 2008
2:21 pm

Parallel port connections. Update. Hi Geoff, Still no success with hand shaking using mode 1 on port A the port used for the Einey printer port. I have though...
Chris Coxall
bbcchris2000
Offline Send Email
Apr 24, 2008
9:33 pm
Advanced

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