Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!han From: han@Apple.COM (Byron Han, wyl E. coyote ) Newsgroups: comp.sys.mac.programmer Subject: Re: Installing a CODE as a VBL Message-ID: <31489@apple.Apple.COM> Date: 24 May 89 06:25:43 GMT References: <5586@hubcap.clemson.edu> Organization: Apple R&D - Networking & Communications Lines: 24 In article <5586@hubcap.clemson.edu> mikeoro@hubcap.clemson.edu (Michael K O'Rourke) writes: >I am trying to install a precompiled LSP unit as a VBL task. I compiled it >as a CODE resource and all it does is a sysbeep(1). > You do realize that VBL tasks, when they run, are run at interrupt level where calls to the Memory Manager (and calls to the Resource Manager) are not legal? A VBL task that beeps via SysBeep will need to load the 'snd ' resource for the beep which is a call to the memory manager and resource manager. This is like crossing the beams (apologies to Ghostbusters) +-----------------------------------------------------------------------------+ | Disclaimer: Apple has no connection with my postings. | +-----------------------------------------------------------------------------+ Byron Han, Communications Scapegoat At Apple, we change the world everyday. Apple Computer, Inc. ----------------------------------------- 20525 Mariani Ave, MS27Y Internet: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han ------------------------------------ GENIE:BYRONHAN CompuServe:72167,1664 ATTnet: 408-974-6450 Applelink:HAN1 HAN1@applelink.apple.COM -------------------------------------------------------------------------------