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.77.1 Bindings für init_xmemplay TOS C: int32_t xbios ( 500, 141, int16_t select, int32_t startadr1, int32_t startadr2, int32_t len, int32_t counter, int32_t endcount, int16_t fileart, int16_t step, int16_t mode, int16_t midi ); Assembler: move.w midi,-(sp) ; Offset 32 move.w mode,-(sp) ; Offset 30 move.w step,-(sp) ; Offset 28 move.w fileart,-(sp) ; Offset 26 move.l endcount,-(sp) ; Offset 22 move.l counter,-(sp) ; Offset 18 move.l len,-(sp) ; Offset 14 move.l startadr2,-(sp) ; Offset 10 move.l startadr1,-(sp) ; Offset 6 move.w select,-(sp) ; Offset 4 move.w #141,-(sp) ; Offset 2 move.w #500,-(sp) ; Offset 0 trap #14 ; XBIOS aufrufen addq.l #34,sp ; Stack korrigieren