Closed soruk42 closed 3 years ago
Basalt for RISC OS extends DIM to allocate Dynamic Memory Areas. In Matrix Brandy this can be a wrapper for malloc() and friends.
Syntax: DIM HIMEM a% 4095: REM claim DIM HIMEM a% 512: REM resize DIM HIMEM a% -1: REM release
DIM HIMEM a% 4095: REM claim
DIM HIMEM a% 512: REM resize
DIM HIMEM a% -1: REM release
This was easier to implement than I had imagined!
Basalt for RISC OS extends DIM to allocate Dynamic Memory Areas. In Matrix Brandy this can be a wrapper for malloc() and friends.
Syntax:
DIM HIMEM a% 4095: REM claim
DIM HIMEM a% 512: REM resize
DIM HIMEM a% -1: REM release