Home ⇒
RIO-OS ⇒
Programs ⇒
Utilities ⇒
ALLOCATE
::.. ALLOCATE ..::
Internal Command
Back
| Allocates Memory |
| Syntax |
Allocate low_boundary high_boundary block_size
|
| Description |
Attempts to allocate block_size bytes (rounded
up to a multiple of 80H bytes) of memory. The search
begins at address low_boundary (rounded down modulo 80H),
and the first block large enough and not extending beyond
high_boundary (rounded up to the next multiple of 80H - 1)
is marked as allocated in the system memory map. If allocation
is not possible, the message INSUFFICIENT MEMORY is given.
|
| I/O-Units |
None |
| Examples |
%ALLOCATE 0 FFFF 120
Starting at memory address 0, a search is made for
a 180H byte (120H bytes rounded up to a multiple of
80H) memory segment.
%ALLOCATE D800 D87F 80
Attempts to allocate the single 80H byte memory segment
starting at D800H.
%ALLOCATE 7400 8000 400
INSUFFICIENT MEMORY
No 400H byte block is available in the address range
7400-807FH.
|
| Notes |
See DEALLOCATE command. |
Top
Back