Memory allocation from assembler
Michael Grunditz (8594) 259 posts |
Hi I wonder if there are any other way than dynamic areas and or Os_Module 6? I Have a pet project where I need to get ram in a effective way. |
Rick Murray (539) 13806 posts |
Well, you could perhaps use SetMemMapEntries to hijack the memory mapping and allocation used by the OS? Looks like something liable to blow up, mind you… How are RMA claims and/or Dynamic Areas not effective? |
Theo Markettos (89) 919 posts |
Depends what you mean by assembler: what environment are you in? If you’re an application, you can use Wimp_SlotSize or Wimp_Extend 15 to expand your WimpSlot and use that memory. If you’re a module or Utility you can’t do that, so RMA or DA are the primary tools you have. (Apart from silliness like misusing the sprite area, which I think was one way to simulate DAs before they arrived in RO3.5) |
Michael Grunditz (8594) 259 posts |
OK. I will try DA again. |