•  Back 
  •  Flopwr 
  •  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.7.1  Bindings for Flopwr                                      TOS

 C:          #include <tos.h>

             int16_t Flopwr( VOID *buf, int32_t filler, int16_t devno, 
             int16_t sectno, int16_t trackno, int16_t sideno, int16_t 
             count );

 Assembler:

             move.w    count,-(sp)    ; Offset 18
             move.w    sideno,-(sp)   ; Offset 16
             move.w    trackno,-(sp)  ; Offset 14
             move.w    sectno,-(sp)   ; Offset 12
             move.w    devno,-(sp)    ; Offset 10
             move.l    filler,-(sp)   ; Offset  6
             pea       buf            ; Offset  2
             move.w    #9,-(sp)       ; Offset  0
             trap      #14            ; Call XBIOS
             lea       $14(sp),sp     ; Correct stack

 GFA-Basic 
             Fehler%=Xbios(9,L:buf%,L:filler%,W:devno%,W:sectno%,W:trackno%,W:sideno,W:count%)