🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #4510

Re: Atari modems

#4510
From: Steven Grimm
Date: Tue, 03 Oct 1989 14:49
17 lines
1372 bytes
In article <1344@ultb.UUCP> adw3345@ultb.UUCP (A.D. Williams) writes:
> However, I would like to know how to detect a cut off connection, such
>as if the host computer hangs up or line noise cuts off the carrier.

Carrier detect is at $fffa01, bit 1 (i.e., (*(char *)0xfffa01)&2), but
you'll have to be in supervisor mode to read that.  The GEMDOS Super()
or XBIOS Supexec() calls work well for this purpose.

Also, if you're tweaking DTR, keep in mind that Offgibit() requires a mask
to AND with, so if you want to turn off bit 0x10 you'll have to pass 0xef
to Offgibit().  This had me scratching my head for a while, as it's not
mentioned in any of the documentation I have.

---
This message is a figment of your imagination.  Any opinions are yours.
Steven Grimm		Moderator, comp.{sources,binaries}.atari.st
sgrimm@sun.com		...!sun!sgrimm
Technical Details
Message-ID: <34434@grapevine.uucp>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!sun-barr!newstop!sun!grapevine!sgrimm@sun.com
References: <1344@ultb.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!sun-barr!newstop!sun!grapevine!sgrimm@sun.com
From: sgrimm@sun.com (Steven Grimm)
Newsgroups: comp.sys.atari.st
Subject: Re: Atari modems
Keywords: modems, dtr, help
Message-ID: <34434@grapevine.uucp>
Date: 3 Oct 89 14:49:37 GMT
References: <1344@ultb.UUCP>
Sender: news@grapevine.EBay
Reply-To: sgrimm@sun.com (Steven Grimm)
Organization: Sun Microsystems Federal, Milpitas, CA
Lines: 17