Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!cmcl2!rutgers!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga Subject: Re: How to gain Exclusive Right to the Serial Port? Message-ID: <2132@cbmvax.UUCP> Date: Fri, 17-Jul-87 09:53:41 EDT Article-I.D.: cbmvax.2132 Posted: Fri Jul 17 09:53:41 1987 Date-Received: Wed, 22-Jul-87 02:26:06 EDT References: <944@gumby.WISC.EDU> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 26 Keywords: amiga serial resources parallel In article <944@gumby.WISC.EDU> g-cheng@gumby.WISC.EDU (Chin-long cheng) writes: > > After reading the posting of Philip Lindsay (thanks) on how to access >the paralle port, I was able to convert it to gain access the >serial port resource. However, there seems to be one problem: >After some program finishes using the serial device(like the aux: handler), >the MR_SERIALPORT is not automatically freed, resulting in a failure >when my program tries to gain access. When the serial.device is close it does a FreeMiscResource on both the bits and the port. Something else might be in operation here. Perhaps it isn't getting closed ? You can check this by testing if you can Expunge it (use the FlushLibs option on the hidden menu you get by using the Loadwb -debug command, or some other means. If it doesn't go away, something still has it open) andy -- andy finkel {ihnp4|seismo|allegra}!cbmvax!andy Commodore-Amiga, Inc. "The goal of Computer Science is to build something that will last at least until we've finished building it." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.