•  Back 
  •  Protobt 
  •  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-File4.13.20.1  Bindings for Protobt                                    TOS

 C:          #include <tos.h>

             void Protobt( void *buf, int32_t serialno, int16_t 
             disktype, int16_t execflag );

 Assembler:

             move.w    execflag,-(sp)  ; Offset 12
             move.w    disktype,-(sp)  ; Offset 10
             move.l    serialno,-(sp)  ; Offset  6
             pea       buf             ; Offset  2
             move.w    #18,-(sp)       ; Offset  0
             trap      #14             ; Call XBIOS
             lea       $E(sp),sp       ; Correct stack

 GFA-Basic 
             Fehler%=Xbios(18,L:buf%,L:serialno%,W:disktype%,W:execflag%)