Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileSsbrk() XBIOSSyntaxVOIDP Ssbrk( len )
WORD len;
Function Ssbrk() is designed to reserve memory at the top of RAM
prior to the initialization of GEMDOS.
Opcode 1 (0x01)
Availability All TOSversions.
Parameters len is a WORD value specifying the number of bytes to
reserve at the top of RAM.
Binding move.w len,-(sp)
move.w #$01,-(sp)
trap #14
addq.l #4,sp
Return Value Ssbrk() returns a pointer to the allocated block.
Caveats Ssbrk() was only used on early development systems.
Currently the function is unimplemented and does not do
anything.