Just can't stay away
Joined: 2006/12/1 19:07 Last Login
: 11/16 10:57
From Germany
Group:
Registered Users
|
@LiveForIt There is no such thing as MEMF_VIRTUAL. Maybe it was in very early beta versions of AmigaOS 4.x, about 25 years ago (there were some plans for it, but I don't remember if it ever was implemented/used), but not in any current version of AmigaOS.
There are basically only 2 memory types in AmigaOS 4.x: - MEMF_SHARED (incl. MEMF_KICK, similar to MEMF_PUBLIC on AmigaOS <= 3.x): locked (can't be paged out and the physical address stays the same from AllocVecTags() until FreeVec()), shareable between different tasks and can be accessed from interrupt handlers. - MEMF_PRIVATE: Task local memory, unlocked (can be paged out to the swap partition or other, slower RAM (for example with my ZorroIII RAM pager on classic Amigas) and the physical address may change), can't be accessed from other tasks nor interrupt handlers.
|