Path: utzoo!utgpu!news-server.csri.toronto.edu!dgp.toronto.edu!tracyn Newsgroups: comp.sys.mac.programmer From: tracyn@dgp.toronto.edu (Tracy Narine) Subject: device driver question Message-ID: <1990Oct9.231737.2342@jarvis.csri.toronto.edu> Organization: CSRI, University of Toronto Distribution: na Date: 10 Oct 90 03:17:37 GMT Lines: 10 I am trying to write a device driver. The problem I have run into is globals variables are not allowed. How do programmers get around this barrier? Will the suggestions of technote 256 -> 'globals in stand-alone code' apply here? (Is a driver stand-alone code? ) Also, you can set a driver to wake up periodically. Which one of the driver interface routines is called everytime the driver wakes up? mahendra