•  Back 
  •  Dsp_LoadProg 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.11.20.1  Bindings für Dsp_LoadProg                               TOS

 C:          #include <tos.h>

             int16_t Dsp_LoadProg( int8_t *file, int16_t ability, 
             int8_t *buffer );

 Assembler:

             pea       buffer         ; Offset 8
             move.w    ability,-(sp)  ; Offset 6
             pea       file           ; Offset 2
             move.w    #108,-(sp)     ; Offset 0
             trap      #14            ; XBIOS aufrufen
             lea       $C(sp),sp      ; Stack korrigieren