Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!linac!att!ucbvax!UTCVM.BITNET!JWANKERL From: JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") Newsgroups: comp.sys.apple2 Subject: Re: firmware/DRivers Message-ID: <9105201802.AA22575@apple.com> Date: 20 May 91 16:35:50 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 41 On Sun, 19 May 91 17:59:09 GMT Matt Deatherage said: >In article <9105171740.AA09361@ensu.ucalgary.ca> hockley@ENSU.UCALGARY.CA > (Dallas C. Hockley) writes: >>...If a sequence of charcters >>which can be interpreted as a control sequence for the firmware is to be >>transmitted, how can the control be embedded or otherwise stopped from >>executing routines in the communication hardware? Well, I assume you're trying to write some kind of program to communicate with a super serial card and you're trying to send a control-a (the command character). There are two ways to approach this problem - the first, and efficient, way is to disable your command character recognition by sending control-a Z. This has a drawback, however... you can never issue commands to the ssc again. The other way is to first change the command character to something else. Send control-a, some other control character (like control-b) - this changes the command character to control-b, send control-a (this sends the character through the ssc), send control-b, send control-a (this sets the command character back to control-a). This lets you issue commands to the ssc later on. >I don't have a final GS/OS Device Driver Reference here at home and I'm in >ProDOS 8 (where's that GS/OS version of ProTERM, anyway?) so I can't use the >Exerciser DA to check it out. But I'll bet the A-W book is wrong. Page 232, Apple IIGS GS/OS Device Driver Reference - character device status word: bit 14 - linked device, bit 13 - background busy. (bit 5 - no-wait mode, which is wrong, right Matt? :-) >-- >============================================================================ >Matt Deatherage, Developer Technical | The opinions expressed herein are >Support, Apple Computer, Inc. | not those of Apple Computer, and >Personal mail only, please. Thanks. | shame on you for thinking otherwise. >^^^^^^^^ Technical questions are not personal. Please post them instead. >============================================================================ -- ===> Josef W. Wankerl, Technical Editor for GS+ Magazine BITNET: JWANKERL@UTCVM.BITNET | America Online: JWankerl ProLine: jwankerl@pro-gsplus |-------------------------------- Internet: jwankerl@pro-gsplus.cts.com | "I am a Viking" -Y. Malmsteen