From: | Curt Esser |
Date: | 11 Aug 99 at 01:16:01 |
Subject: | Re: Violation of privilages (??!?) |
Hi david
On 10-Aug-99, david white wrote:
> Anyway I changed the size of the chunky bitmap to 704x320, to give me a
> chunky superbitmap of 640x256 with a border, changed the settings in the
> c2p window etc, and everything seems to be working perfectly... that is
> until I try and free the planar bitmaps.
>
> Using 'Free bitmap <blah>', then 'Freemem <blah>,<blah>' to get rid of the
> planar bitmaps returns an error in the debugger :
What exactly are you FreeMem'ing? Is it some additional memory you
allocated?
The bitmap's memory is automatically freed when you FreeBitMap - if you are
trying to free the same memory again, you will definately get a GURU...
>
> GURU! : Privilage violation
>
> then the computer locks up...
>
> wtf?!?!?!?!?! This only seems to happen when the chunky bitmaps are
> 704x320, as changing them back to 384x320 works perfectly. I cant see how
> changing the size of the CHUNKY bitmap can affect the freeing of the
> PLANAR bitmap at all?
It shouldn't - I still think it must have to do with the memory you are
Free'ing.
Why are you freeing it, anyway? Unless you used the OS's AllocMem_ command,
Blitz will free the memory for you when the program ends. Did you try just
removing the FreeMem command to see what happens?
> Anyone got any Ideas???
That's mine - I hope it helps...
Later...
Yours electronically,
Curt Esser
camge@ix.netcom.com
http://members.xoom.com/Curt_Esser/
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie