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.41.1 Bindings for volda TOS C: int32_t xbios ( 500, 51, int16_t lvol, int16_t rvol ); Assembler: move.w rvol,-(sp) ; Offset 6 move.w lvol,-(sp) ; Offset 4 move.w #51,-(sp) ; Offset 2 move.w #500,-(sp) ; Offset 0 trap #14 ; Call XBIOS addq.l #8,sp ; Correct stack