Article View: comp.sys.mac
Article #25910Re: New Question about the Serial Drivers
From: chrisj
Date: Thu, 03 Mar 1988 05:29
Date: Thu, 03 Mar 1988 05:29
20 lines
1446 bytes
1446 bytes
In <1413@vaxb.calgary.UUCP>, freedman@calgary.UUCP (Dan Freedman) wants to
prefix patch the serial driver on his Mac SE, but cannot find the resource.
IM IV-225 "In the 128K ROM, a single new Serial Driver replaces the RAM and
ROM Serial Drivers." (You might find SERD resources in the System File of
your system software master disk, but they probably get dropped out by the
Installer when you build a system for a 512KE, +, SE, or II.)
IM IV-215 lists the unit numbers for the devices, including .{A|B}{In|Out}.
You can use the unit numbers to index the unit table (found via low memory
variable UTableBase), and change the dCtlDriver fields of the Device Control
Entries from a ROM address to a RAM handle to your driver. (IM II-187..192)
If you want your code to be compatible with all models, remember that
dCtlDriver might be a handle to the RAM serial driver on a machine with 64K
ROMs, or perhaps a RAM driver fixing a bug in 128K or 256K ROMs, instead
of a direct pointer to the ROM driver.
Christopher Jewell | chrisj@cup.portal.com | sun!cup.portal.com!chrisj
Technical Details
Message-ID:
<3640@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!cup.portal.com!chrisjReferences:
<1413@vaxb.calgary.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!portal!cup.portal.com!chrisj From: chrisj@cup.portal.com Newsgroups: comp.sys.mac Subject: Re: New Question about the Serial Drivers Message-ID: <3640@cup.portal.com> Date: 3 Mar 88 05:29:23 GMT References: <1413@vaxb.calgary.UUCP> Organization: The Portal System (TM) Lines: 19 XPortal-User-Id: 1.1001.2041