The Memory Manager Library provides a handle based memory manager with backing store. It automatically searches for the best backing store device: RAM disk, then hard disk, then floppy disk.
Compatibility: II, ///
II, ///
Usage: include "inc/memmgr.plh"
include "inc/memmgr.plh"
Values:
// // Max size of a memory block // const MAX_MEMBLK_SIZE = $2000
Functions:
// // Utility Functions // sweep()#0 brk(addr) sbrk(size) // // Memory Handle Functions // hmemNew(size) hmemLock(hmem) hmemUnlock(hmem)#0 hmemRef(hmem)#0 hmemDel(hmem)#0 hmemFre(lptr)
Source Code: memmgr.pla
memmgr.pla
Sample Source: memtest.pla
memtest.pla
Command Line & System Environment
code/text EDitor
PLASM compiler
Trivial FTP Daemon
CATalog files
COPY files
REName files
DELete files
TYPE files
NEWDIR
ZIPCHIP
DHGR SPRite EDitor
DHGR RGB converter
System Library
Command Line Args
Console I/O
File I/O
Network I/O
Memory Manager
Fibers (Threads)
Long Jump
Double HiRes Graphics
HiRes Graphics
Double LoRes Graphics
LoRes Graphics
32 Bit Integers
SANE Floating Point
Joystick
GamePort SPI
GamePort Wiring
Music Sequencer
Hello World
Sieve
Rod's LoRes Colors
Double LoRes Test
HiRes Test
Double HiRes Test
ROGUE
RPN Calculator
HTTP Server
Chat Client
MockingBoard/Speaker Music
Installation Guide
Tutorial
Reference
Implementation
Porting Guide
Links
Deleting the wiki page "Memory Manager" cannot be undone. Continue?