Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!cory.Berkeley.EDU!fadden From: fadden@cory.Berkeley.EDU (Andy McFadden) Newsgroups: comp.sys.apple Subject: Re: Serial Port Status questions... Message-ID: <22070@pasteur.Berkeley.EDU> Date: 13 Feb 90 23:02:45 GMT References: <269@bucsb.UUCP> <2182@ultb.isc.rit.edu> Sender: news@pasteur.Berkeley.EDU Reply-To: fadden@cory.Berkeley.EDU.UUCP (Andy McFadden) Distribution: na Organization: University of California, Berkeley Lines: 31 In article <2182@ultb.isc.rit.edu> lmb7421@ultb.isc.rit.edu (Les Barstow: Phoenix) writes: >On a similar note, could someone please send me mail on the inner >workings of the SCC calls - specifically, I want to set up an >interrupt-driven read from a modem.... [ snip ] >The GS Technical Reference (not Apple's references) is more than a >little vague on SCC programming, and I could use some major help. The //gs Technical Reference by Michael Fischer is not only vague but is just plain wrong in a couple of spots. I wound up disassembling the firmware to figure out the parameter count byte and to determine what exactly was going on. Finally got it to buffer the input and to do a SendQueue, but not without a lot of hassle. Do yourself a favor and get the Apple //gs Firmware Reference. It has everything you need to know about SCC calls (both standard serial port stuff and the //gs extended calls). It can also be vague at times (there's a few spots where sample code would have helped - but then it is a reference manual, right?), but there's nothing you can't figure out. There's also a lot of good stuff about the SmartPort, interrupt vectors, the ADB, the mouse, and others (most of which I haven't read; I bought it from the campus bookstore last night...) The table of vectors and the softswitch listings are also invaluable. >Les Barstow |RIT - A citadel of gleaming brick towering over a snowy swamp -- fadden@cory.berkeley.edu (Andy McFadden) ...!ucbvax!cory!fadden