•  Back 
  •  soundcmd 
  •  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.17.13.1  Bindings für soundcmd                                   TOS

 C:          #include <tos.h>

             int32_t soundcmd( int16_t mode, int16_t data );
             int32_t NSoundcmd( int16_t mode, int16_t data, int32_t 
             data2);

 Assembler:

             move.w    data,-(sp)   ; Offset 4
             move.w    mode,-(sp)   ; Offset 2
             move.w    #130,-(sp)   ; Offset 0
             trap      #14          ; XBIOS aufrufen
             addq.l    #6,sp        ; Stack korrigieren