💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › CablesAndPino… captured on 2023-01-29 at 07:45:43.

View Raw

More Information

-=-=-=-=-=-=-

Path: news1.icaen!news.uiowa.edu!chi-news.cic.net!feeder.chicago.cic.net!howland.erols.net!newspump.sol.net!sol.net!spool.mu.edu!newsspool.sol.net!munnari.OZ.AU!metro!metro!news.uow.edu.au!david
From: david@uow.edu.au (David E A Wilson)
Newsgroups: comp.os.linux.networking,comp.sys.mac.comm,comp.sys.apple2.comm,alt.2600,comp.os.linux.hardware,comp.sys.ibm.pc.hardware.comm
Subject: Re: Linux box -> Apple /// and Mac 512?
Date: 25 Jun 97 00:09:33 GMT
Organization: University of Wollongong, NSW, Australia.
Lines: 90
Message-ID: <david.867197373@wraith>
References: <slrn5qunhg.8f1.matt@voyager.cris.com>
NNTP-Posting-Host: wraith.cs.uow.edu.au
X-Newsreader: NN version 6.5.0 #15 (NOV)
Xref: news1.icaen comp.os.linux.networking:89543 comp.sys.mac.comm:225206 comp.sys.apple2.comm:4792 alt.2600:325524 comp.os.linux.hardware:86314 comp.sys.ibm.pc.hardware.comm:28542

matt@mec.edu (Matt Bancroft) writes:
>Im attempting to connect a Mac512 and an apple /// to a RedHat 4.0 linux x86
>box DB-9 serial port. I recently purchased a "Null Modem Adapter" at Radio
>Shack with the following pinout

>Female DB9      Male DB9
>1               4
>2               3
>3               2
>4               6 and 1
>5               5
>6               4
>7               8
>8               7
>9               Not Connected

>However when i connect the "Null Modem Adapter" to the Mac 512 serial port,
>the computer shuts itself off until i pull out the "Null modem adapter".

No wonder it shuts down - you are shorting 12v to ground....

Here is the info I have collected on Mac serial pinouts:

=========================================================================
		Mac 128/512			Mac Plus & later
		DE-9F pinout:			Mini Din-8f socket pinout:

		5   4   3   2   1		  8  7  6
		.   .   .   .   .		  .  .  .
		  .   .   .   .
		  9   8   7   6			5.   4. 3.

						   .  .
						   2  1


Prot Gnd	Shield				Shield
Gnd		1,3				4
+5v		2				N/C
+12v		6				N/C

Tx+		4				6
Tx-		5				3

Rx+		8				8
Rx-		9				5

HSKi/Ext CLK	7				2
HSKo		N/C				1

N/C						7

Mac Plus to Mac 512 peripheral adapter cable (590-0553-A):

Din-8m		DE-9F
1	HSKo	6
2	HSKi	7
3	Tx-	5
4	Gnd	1,3
5	Rx-	9
6	Tx+	4
7	N/C
8	Rx+	8
	N/C	2
Shield	P Gnd	Shield

=========================================================================
What you need is something like:

PC end (DE-9F)		Mac end (DE-9M)
1	DCD	<-
2	RxD	<-	Tx-	5
3	TxD	->	Rx-	9
4	DTR	->
5	Gnd		Gnd,Rx+	1,3,8	(Note: Mac is RS-422 hence Rx+ grounded)
6	DSR	<-
7	RTS	->
8	CTS	<-
9	RI	<-

As the Mac 128/512 only has one handshake line (an input) you have a choice
of connecting one of 4 (DTR) and 7 (RTS) to pin 7 at the Mac end.

>Also what baud rate should can i reasonable expect from a mac 512? Its
>running MacOS version 4.1 with FreeTerm3 from a 400k startup floppy.
>Maybe it'll be faster if i downgrade to MacOS 0.97:)

No idea. I imagine that 9600 or 19200 should be no problem.
--
David Wilson	Dept CompSci Uni Wollongong Australia	david@cs.uow.edu.au
Path: news1.icaen!news.uiowa.edu!chi-news.cic.net!feeder.chicago.cic.net!howland.erols.net!newsfeed.internetmci.com!status.gen.nz!news.express.co.nz!news.actrix.gen.nz!dempson
From: dempson@actrix.gen.nz (David Empson)
Newsgroups: comp.sys.mac.comm,comp.sys.apple2.comm
Subject: Re: Linux box -> Apple /// and Mac 512?
Date: Thu, 26 Jun 1997 01:26:55 +1200
Organization: Empsoft
Lines: 90
Message-ID: <19970626012655883469@dempson.actrix.gen.nz>
References: <slrn5qunhg.8f1.matt@voyager.cris.com> <33b0924c.33095332@167.152.149.11>
NNTP-Posting-Host: news2.actrix.gen.nz
X-Newsreader: MacSOUP 2.2
Xref: news1.icaen comp.sys.mac.comm:225257 comp.sys.apple2.comm:4797

Edhel Iaur, Esq. <LOSETHECAPITALWORDSedhel@bigfoot.com> wrote:

> On 24 Jun 1997 05:42:08 GMT, matt@mec.edu (Matt Bancroft) wrote:
> 
> >Im attempting to connect a Mac512 and an apple /// to a RedHat 4.0 linux
> >x86 box DB-9 serial port.
> ...
> >However when i connect the "Null Modem Adapter" to the Mac 512 serial port,
> >the computer shuts itself off until i pull out the "Null modem adapter".
> 
> Maybe it needs to be flipped around (I hope not--this'd require 2
> gender changers, giving your cable a 5" plug at one end!)?

The Mac 128 and Mac 512 use a female 9-pin D connector, but it has
_nothing_ in common with the pinout of any other computer.  It also has
power supply voltages coming out the serial connector, which probably
explains why the computer shuts down if you do something like short out
out the 12V rail!

> >Does anyone know the pinout for the old Mac512 serial ports

1  Ground
2  +5V
3  Ground
4  Transmit Data +
5  Transmit Data -
6  +12V
7  Handshake input/external clock
8  Receive Data +
9  Receive Data -

Given this pinout, and my knowledge of the more recent Mac/IIgs serial
port (Mini-Din-8), the following cable wiring should be used for a null
modem connection to a PC.  I've given both D9 and D25 pin numbers for
the PC end.  The connector types refer to the plugs on the cable, not
the ones on the computers.

Mac (D9 male)              PC (D9 or D25 female)
1  --------------------------  5 Gnd 7
2  No connection
3  Loop back to pin 8
4  No connection
5  --------------------------  2 RxD 3
6  No connection
7  --------------------------  4 DTR 20
8  Loop back to pin 3
9  --------------------------  3 TxD 2

The handshake input (pin 7) is only useful for limiting the rate of
transmission by the Mac, and I don't know if any software will support
it without the corresponding handshake output pin (which is available on
the Mac Plus and later machines).  Both sides should be set to ignore
handshaking signals.  (If this is not possible at the PC end, loop some
signals back as required.)

> >Also what baud rate should can i reasonable expect from a mac 512?
> 
> My Mac 128K manual says 230.4K baud, but I think I read that usually
> only 9600 bps is possible.

That is the maximum data rate that can be achieved using the internal
clock with synchronous communication.  It is the rate used by AppleTalk,
for example.

Asynchronous serial is limited to 57600 bps by the serial driver
(possibly even less in old machines like the 128 and 512).  The highest
usable speed would be 9600 or 19200, and the lack of flow control output
is likely to be a problem at higher bit rates.

> >I tried running "ProTerm 2.0" in Apple II+
> >emulation mode but i get a "RELOCATION/ CONFIGURATION ERRO" and the program
> >refuses to load... 
> 
> ProTerm, a ProDOS program, requires 64K (128K?) of RAM, and almost all
> versions of ProDOS require 64K.  ProDOS gives that error message when
> it hasn't 64+K.

It is also displayed if you try to use ProDOS-8 2.0.1 or later on a
machine which does not have a 65C02 microprocessor (such as the Apple
][+).  Try booting from an older ProDOS-8 system disk and launching the
ProTerm application directly.

However, I'm pretty sure that ProTerm (along with nearly every other
decent communications package for the Apple II) requires at least an
enhanced 128K Apple IIe.

-- 
David Empson
dempson@actrix.gen.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand