[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4678.0. "Parallel Port Programming" by VARESE::FRANZONI (Blue like a Blues) Mon Apr 15 1991 05:23

Hello,

I'm writing a pseudo-driver task (connecting to the interrupt vector), to handle
data to/from the parallel port ...

I had a look at the exec and hw ref manuals but did not find enough information
about it so here are some questions: 

1) before all, which is the interrupt number of the parralel port (which I have
to connect to, by means of SetInterruptVector)

2) what are the addresses and bitmaps of the parallel port registers (i.e.,
   the information one could find in the programming section of DEC's device
   users guide (csr, lpr, ...)) ?

3) I found the handshacking/timing diagrams of the standard parallel driver
   I/O (actually the only interesting stuff about parallel :-( ) ... but I'm
   unsure about handshacking and unsatisfied with timing (only few are shown).
   I've done some testing with a sort of break box (the equivalent of a serial
   interface analyzer) I built to monitor/force data/control signals but I
   wasn't able to make the system think my board was actually a 'printer' ...
   Does anyone have an exact handshacking sequence and timing diagram for I/O ?

4) Is there somewhere any good code sample about advanced programming for the
   parallel port ?
   (all the Amiga's doc I have seems to refer to it as:
    "there's a parallel port that is normally used for printers")

Thank you in advance,
cheers, Mauro.
T.RTitleUserPersonal
Name
DateLines
4678.1Mats DNET might help.CSC32::A_ANDERSONDTN 592-4170 NSU/VAXMon Apr 15 1991 14:145
    I think Mat Dillon wrote something to connect two Amigas together via
    the parralel port.  I anm running from memory but I believe it was DNEt
    and on one of the later Fred Fish disk (FF400 and up).   If the source
    was included it might help to take a peek.
     
4678.2VARESE::FRANZONIBlue like a BluesTue Apr 16 1991 04:3910
>    I think Mat Dillon wrote something to connect two Amigas together via
>    the parralel port.
>    I anm running from memory but I believe it was DNEt
>    and on one of the later Fred Fish disk (FF400 and up).   If the source
>    was included it might help to take a peek.
Dnet uses serial.device or any look-alike (latest on disk 294),
I found ParNet on disk 400, it uses the parallel port to connect two Amigas
but it's distributed with binary only ... sigh :-(

Mauro.
4678.3CLO::COBURNGrowing older, but not up...Tue Apr 16 1991 18:214
    PARNET is a Software Distllery product I believe, maybe <CB> can get
    the source for you?
    
    John
4678.4VARESE::FRANZONIBlue like a BluesThu Apr 18 1991 09:218
>    PARNET is a Software Distllery product I believe, maybe <CB> can get
>    the source for you?
This would be great ... I wouldn't need the whole code but just the (few) pieces
referencing to the port programming/register layout (and the handshaking).
Any pointer to (advanced) documentation about the parallel port would be
appreciated as well.

Thanks, Mauro.
4678.5BARD::mcafeeSteve McAfeeThu Apr 18 1991 11:3516
I think Matt Dillon also wrote parnet.  It's in:

TAPE::AMIGA:[AMIGA.NETWORK]PARNET.ZOO

but it looks like there is a newer version on ab20...

Sun  14-Oct-90  19:02:23    43856  
	usenet/comp.binaries.amiga/volume90/comm/parnet-2.4/part01.Z

Sources ARE available somewhere.  Matt just said so on usenet recently
though I didn't take notice where.  Someone was looking for examples
of how to use the parallel port bidirectionally.

regards,

steve
4678.6Not me...FROCKY::BALZERChristian Balzer DTN:785-1029Thu Apr 18 1991 12:5210
Re: .3

Ahh, the common confusion. We are the Software *Brewery* while the Software
Distillery is headed by John Toebes VIII of SAS/C fame.

But .5 seems to have right pointers...

Cheers,

<CB>
4678.7oops, thanks for the correction(s)CLO::COBURNGrowing older, but not up...Thu Apr 18 1991 13:521
    
4678.8WELSWS::FINNISTue Apr 23 1991 09:469
    I believe the code for the original Sound Sampler is about on one of
    the  early fish disks if that is any use .
    	Your right about the R.K.M stuff not much advanced stuff for PAR:
    
    		Please post a pointer if you do get anywhere.
    
    
    			_Pete_
    
4678.9VARESE::FRANZONIBlue like a BluesMon Apr 29 1991 03:508
Thanks for the pointers,

I've also found ParOut on FF 237 ... I'm downloading it to have a look at the
source.

I'll let you know what I can work out of the parallel port ...

Thanks, Mauro.