•  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.76  init_xmemrec                                              TOS

 Name:         »init_xmemrec« - Memory record in half-buffer system

 Opcode:       500, 140

 Syntax:       int32_t xbios ( 500, 140, int16_t select, int32_t 
               startadr1, int32_t startadr2, int32_t len, int32_t 
               endcount, int16_t fileart, int32_t peakbuf );

 Description:

                select      Recording type
                            0 = Record with 16 bits via FIFO
                            1 = Record with 16 bits via DSP
                            2 = 8-channel record with 16 bits via FIFO
                startadr1   Record start address buffer1
                startadr2   Record start address buffer2
                len         Block length of the buffers
                endcount    Recorded length or counter end (in bytes)
                fileart     3 = Create WAV file
                peakbuf     Address of temporary store for peak values

               mAt present, with select = 2 only 1 stereo channel is 
               stored!

 Return value: Address return values
               int32_t 0 Memposition
               int32_t 4 Memflag
               int32_t 8 Break
               int32_t 12 Error (not for select = 1)
               int32_t 16 Peak value (only for select = 0)
               int32_t 20 Peak buffer position (only for select = 0)
               int32_t 24 Counter position

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

 Group:        Sound routines

 See also:     Binding