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.17.4.1 Bindings for dsptristate TOS C: #include <tos.h> int32_t dsptristate( int16_t dspxmit, int16_t dsprec ); Assembler: move.w dsprec,-(sp) ; Offset 4 move.w dspxmit,-(sp) ; Offset 2 move.w #137,-(sp) ; Offset 0 trap #14 ; Call XBIOS addq.l #6,sp ; Correct stack