•  Back 
  •  Mxalloc 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.13.5.1  Bindings for Mxalloc                                     TOS

 C:          void *Mxalloc ( int32_t amount, int16_t mode );

 Assembler:

             move.w    mode,-(sp)    ; Offset 6
             move.l    amount,-(sp)  ; Offset 2
             move.w    #68,-(sp)     ; Offset 0
             trap      #1            ; GEMDOS
             addq.l    #8,sp         ; Correct stack