Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!usc!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: GS/OS Device Driver Question Message-ID: <43374@apple.Apple.COM> Date: 27 Jul 90 01:56:47 GMT References: <1990Jul25.145501.25289@maytag.waterloo.edu> Distribution: na Organization: Apple Computer Inc, Cupertino, CA Lines: 21 In article <1990Jul25.145501.25289@maytag.waterloo.edu> ckirie@csg.UWaterloo.CA (Chris Irie) writes: >Ahoy one and all... >I have a question regarding GS/OS Device Drivers that maybe someone >out there could answer (please?) >[...] >So, the question is: How do I keep my driver in memory at all times, >even when I switch into and out of PRODOS 8? The "restartable" bit is bit 15 of your device_characteristics word. Set that, and make sure your driver is prepared to be started again (in other words, watch out for pre-initialized storage locations in your driver...you can restore them to their initial values at driver-shutdown time if that's convenient for you), and you're set. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.