irwin@oscar.ccm.udel.edu (02/28/90)
Ok guys. Here is one for the experts. I am writing an application that deals with 8-bit images. So far, it has been working fine just using a PixMap and CopyBits'ing to the window. before trying to go to animated colors, I decided to expand that PixMap by using a CGrafPort that points to the PixMap as is demonstrated in the TechNote. I haven't actually used the CGrafPort yet, just let it tag around as an unused data structure. I am using Think C with the object stuff and the CGrafPort is declared as part of my document class. Note that I am not using this structure yet. In the Initialization code for the document, I do the following: theState = HGetState(this); HLock(this); GetPort(&aport); OpenCPort(&dataPort); SetPort(aport); HSetState(this,theState); just to initialize the CGrafPort Structure. That part works OK unless, now get this, I have Boomerang installed and I change the bit depth of the screen. If the OpenCPort is called in my program, then I go to the monitors cdev and change the screen depth from 8 to 4 bits, crashola to Macsbug in _HClrBit. Unrecoverable. If Boomerang is not installed, it works fine. If I comment out the OpenCPort, no problem. Is this a bug in Boomerang? Is it in my code and only gets shown by this combination? Is it the Monitors Cdev? If it is in my code, can you point out perhaps where/how to find it. System specifics follow: MacEnvy System Environment Report (2.0) Item Type/Status Machine: Macintosh II Memory: 5120K (5 megabytes) Processor: Motorola 68020 Coprocessor: MC68881 installed PMMU Chip: MC68851 installed Sound Chip: Installed (ASC rev.8) Graphics: 32-Bit Color QuickDraw Keyboard: ADB Extended (U.S.) ADB Devices: 2 devices attached SCSI Chip: NCR 5380 installed ROM Version: 256K (Version 120), rev. 2 ROM Info: $9779D2C4 (new II ROM) System: Version 6.0.3 (1602K) Finder: Version 6.1 MultiFinder: Version 6.0.3 (active) PS If you could send me some more specifics about copybitsing with animated colors, I would appreciate it. Thank you for any and all assistance. Rich Irwin irwin@oscar.ccm.udel.edu Center for Composite Materials University of Delaware Newark, DE 19716