View Single Post
Old 21 March 2024, 13:00   #8
VladR
Registered User
 
Join Date: Dec 2019
Location: North Dakota
Posts: 741
Quote:
Originally Posted by Thomas Richter View Post
How AllocMem works is documented in the RKRM libraries, how the dos.library scatter loader aka LoadSeg() works is documented in the RKRM DOS.



The type of memory you get with TypeOfMem(), which is a function of exec. That provides you the memory attributes (or 0) a specific memory location has. Thus, if you requested MEMF_PUBLIC, but the system run out of fast memory, TypeOfMem() will give you MEMF_PUBLIC|MEMF_CHIP as result.
Thanks, I just checked out TypeOfMem, and it's exactly what I was looking for!

I also need to redownload the Amiga docs, as I couldn't find them in my Amiga Dev directory (it probably didn't make it to the new computer - I hate this part - you always forget some directories from old HDD).
VladR is offline  
 
Page generated in 0.04409 seconds with 11 queries