🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #951

Serial (Modem) Port Communication

#951
From: Steve Osella
Date: Wed, 05 Jul 1989 19:44
9 lines
1053 bytes
I'm trying to write som routines to communicate through the MacII
serial (modem) port.  I'm using LighttSpeed C.  The problem I seem to
be having is with the SerGetBuf function (See Inside Mac II).  The first 
argument to this function is the reference number which is -6 for
modem port inputs.  The second argument is a pointer to a LONGINT which
represents the number of bytes available in the input buffer.  I'm
pretty sure I'm setting up the ports and buffers correctly.  The
SerGetBuf function consistently returns an ASTRONOMICAL value for the count
argument.  Has anyone experienced any problems.  Do you have any code.
Technical Details
Message-ID: <1332@fester.cme.nbs.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!ames!lll-winken!uunet!cme!osella

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!ames!lll-winken!uunet!cme!osella
From: osella@cme.nbs.gov (Steve Osella)
Newsgroups: comp.sys.mac
Subject: Serial (Modem) Port Communication
Keywords: rs232, Modem, Serial
Message-ID: <1332@fester.cme.nbs.gov>
Date: 5 Jul 89 19:44:15 GMT
Distribution: usa
Organization: National Institute of Standards & Technology, Gaithersburg, MD
Lines: 9