•  Back 
  •  Dsp_IOStream 
  •  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.11.19.1  Bindings for Dsp_IOStream                               TOS

 C:          #include <tos.h>

             void Dsp_IOStream( int8_t *data_in, int8_t *data_out, 
             int32_t block_insize, int32_t block_outsize, int32_t 
             num_blocks, int32_t *blocks_done );

 Assembler:

             pea       blocks_done          ; Offset 22
             move.l    num_blocks,-(sp)     ; Offset 18
             move.l    block_outsize,-(sp)  ; Offset 14
             move.l    block_insize,-(sp)   ; Offset 10
             pea       data_out             ; Offset  6
             pea       data_in              ; Offset  2
             move.w    #101,-(sp)           ; Offset  0
             trap      #14                  ; Call XBIOS
             lea       $1A(sp),sp           ; Correct stack