Apple2.gs Forums
Discussions for Apple IIgs Programming and other fun stuff. // Infinitum!

Home » Apple IIgs Programming » Video Game Programming » Memory Allocation under GS/OS
Re: Memory Allocation under GS/OS [message #60 is a reply to message #46] Thu, 09 October 2014 18:32 Go to previous messageGo to previous message
AppleIIGSMarc is currently offline  AppleIIGSMarc
Messages: 6
Registered: September 2014
Contributor
I don't have easy access to the Toolbox References at the moment (my copies are buried somewhere in a storage unit), so maybe you can help me out with something related. I've started messing around with graphics programming on the IIGS again and so far I've just been writing to the shadow memory in $01/2000 without actually asking for it. Since I'm starting to work on something that I'd actually like to release one day, I need to do it the proper way and request the memory through the memory manager. What parameters can I pass into the NewHandle call to get this specific block of memory and mark it as non-moveable? And yes...I promise to never stomp on memory again without asking first.

Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Loading Files from Disk in Assembly Language using GS/OS
Next Topic: Unpack a Picture using the PackBytes compression format
Goto Forum:
  


Current Time: Wed Feb 05 16:46:21 MST 2025

Total time taken to generate the page: 0.01159 seconds