•  Back 
  •  Sound routines 
  •  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.17.65  init_imemplay                                             TOS

 Name:         »init_imemplay« - Memory playback in interrupt

 Opcode:       500, 122

 Syntax:       int32_t xbios ( 500, 122, int16_t select, int32_t 
               startadr, int32_t endadr, int32_t counter, int16_t 
               step, int16_t mode, int16_t midi );

 Description:

                select     Playback type
                           0 = Playback with 16 bits via FIFO
                           1 = Playback with 16 bits via DSP
                           2 = Playback with 24 bits via FIFO
                startadr   Playback start address
                endadr     Playback end address
                counter    Counter start value
                step       Playback speed
                           0 = Normal
                           1 = Double
                           2 = Triple etc...
                mode       bit 0 -> Loop
                           bit 1 -> Crossplay (not for select = 2)
                           bit 2 -> MIDI
                midi       MIDI note, at which playback is to start, 
                           is only specified when mode bit 2 is set!

 Return value: Address return values, -1 = Error
               int32_t 0 Memposition
               int32_t 8 Break
               int32_t 12 Error
               int32_t 24 Counter position
               int32_t 28 Loops

 Availability: This function is only available when the driver of the 
               StarTrack sound card has been launched.

 Group:        Sound routines

 See also:     Binding