•  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.58  memplay                                                   TOS

 Name:         »memplay« - Memory playback without interrupt

 Opcode:       500, 113

 Syntax:       int32_t xbios ( 500, 113, int32_t startadr, int32_t 
               endadr, int16_t step, int16_t mode, int16_t midi );

 Description:

                startradr  Playback start address
                endadr     Playback end address (plays backwards if 
                           endadr<startadr)
                step       Playback speed (0..x)
                           0 = Normal
                           1 = Double
                           2 = Triple etc...
                mode       bit 0 -> Loop
                           bit 1 -> Crossplay
                           bit 2 -> MIDI
                midi       MIDI note, at which playback is to start, 
                           is only specified when mode bit 2 is set!

               Warning: MIDI not tested!

 Return value: Address return values, -1 = Error
               int32_t 0 Memposition
               int32_t 4 Loops (1 = played once, 2 = twice etc.)
               Each crossplay = two loops (for forwards & backwards)

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

 Group:        Sound routines

 See also:     Binding