Newsgroups: comp.sys.apple2 Path: utzoo!utgpu!watserv1!maytag!daemon From: ckirie@csg.UWaterloo.CA (Chris Irie) Subject: GS/OS Device Driver Question Message-ID: <1990Jul25.145501.25289@maytag.waterloo.edu> Sender: daemon@maytag.waterloo.edu (Admin) Organization: Computer Systems Group, U of Waterloo Disclaimer: The opinions expressed are solely the author's. Distribution: na Date: Wed, 25 Jul 90 14:55:01 GMT Lines: 27 Ahoy one and all... I have a question regarding GS/OS Device Drivers that maybe someone out there could answer (please?) Here's the thing. I have noticed that whenever the GS switches into PRODOS 8 (or out of it) that a device driver I am writing gets reloaded into memory. This is a problem for me because my driver needs to maintain a certain amount of state information. 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? Or is this the wrong thinking for writing a GS/OS device driver? Would it be better to keep the state info in an initialization file? I'm using the MPW IIGS cross development package, writing for the most part in C. Any thoughts? Thanks for reading... -- Chris Irie (ckirie@csg.uwaterloo.ca) ------------------ DISCLAIMER: The above thoughts are my own, and do not necessarily represent those of my employer.