Article View: comp.sys.mac
Article #24592Serial Drivers (RAM and ROM)
From: Byron Han, fire fighter
Date: Tue, 02 Feb 1988 16:14
Date: Tue, 02 Feb 1988 16:14
18 lines
1448 bytes
1448 bytes
With regards to the serial drivers... it is a VERY good idea to close your
serial driver when you are finished. In other words, using RAMSDopen and
RAMSDClose are strongly recommended. It is cheesy to leave the drivers open
when your application terminates. Using the ROM driver does not allow you
to close it without causing people to become sad :-(
So, 1 - try and use the RAM based drivers
2 - try not to directly open driver's by refnum (-6, -7, -8, -9)
use their name if at all possible (.Ain, .Aout, .Bin, .Bout)
3 - always always always close the RAM based serial driver when
quitting your application. There is a means to insure that
DTR stays high when closing the serial driver. Documented in
IM IV.
--
------------------------ Byron Han, Communications Tool ----------------------
Apple Computer, Inc. 20525 Mariani Ave, MS 27Y Cupertino, CA 95014
ATTnet:408-973-6450 applelink:HAN1 domain:han@apple.COM MacNET:HAN
GENIE:BYRONHAN COMPUSERVE:72167,1664 UUCP:{sun,voder,nsc,decwrl}!apple!han
Technical Details
Message-ID:
<7312@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!claris!apple!hanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!claris!apple!han From: han@apple.UUCP (Byron Han, fire fighter) Newsgroups: comp.sys.mac Subject: Serial Drivers (RAM and ROM) Message-ID: <7312@apple.UUCP> Date: 2 Feb 88 16:14:44 GMT Organization: Communication Tools Group - Apple Computer, Inc. Lines: 17 Keywords: be good please