🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #1771

Setting up Z8530 for nonstandard baud rates

#1771
From: Steven S. O'Connell
Date: Mon, 17 Jun 1985 17:59
24 lines
1784 bytes
I just got my 68000 development kit for the mac last week.  I am
interested in writing my own MIDI interfaces so that I can control
my MIDI synth (DX7).  In the copy of "Inside Macintosh" that comes
with the development kit, the serial drivers are discussed.  However,
in the Serial Driver's Manual, there is no mention of how to get
nonstandard baud rates - they just give the typical ones.  I'm sure
the number you use for a particular baud rate is simply counted down
to get you the baud rate, but it does not seem that simple.  One problem
is that the baud rate number to use for the function SerReset is only
9 bits, the Z8530 uses a 16 bit register for the baud rate.  Probably,
the nine bits are mapped to the least 16 bits, with the rest filled in
with zeros.  If this were the case, then you would expect that

	baud rate = sampling frequency / number to load   or

	baud rate = sampling frequency / (number to load + 1)

but this does not seem to be the case.  Maybe they are playing around
with the X2, X4, etc clocks for the Z8530.

Anyways, does anyone have any light to shed on the subject?  To put it
all in a nutshell - how do you reset the Z8530 to get a 31.25 k baud?

Thanks,    Steve O'Connell   ihnp4!harpo!sso
Technical Details
Message-ID: <2710@harpo.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!sso

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site harpo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!sso
From: sso@harpo.UUCP (Steven S. O'Connell)
Newsgroups: net.micro.mac
Subject: Setting up Z8530 for nonstandard baud rates
Message-ID: <2710@harpo.UUCP>
Date: Mon, 17-Jun-85 13:59:52 EDT
Article-I.D.: harpo.2710
Posted: Mon Jun 17 13:59:52 1985
Date-Received: Wed, 19-Jun-85 02:03:00 EDT
Organization: AT&T Bell Laboratories, Whippany
Lines: 24