2 * toccata
.library
- AHI
-based Toccata emulation library
3 * Copyright
(C
) 1997-2005 Martin Blom
<martin@blom
.org
> and Teemu Suikki
.
5 * This library
is free software
; you can redistribute it
and/or
6 * modify it under the terms
of the GNU Library General Public
7 * License as published by the Free Software Foundation
; either
8 * version
2 of the License
, or (at your option
) any later version
.
10 * This library
is distributed
in the hope that it will be useful
,
11 * but WITHOUT ANY WARRANTY
; without even the implied warranty
of
12 * MERCHANTABILITY
or FITNESS
FOR A PARTICULAR PURPOSE
. See the GNU
13 * Library General Public License
for more details
.
15 * You should have received a copy
of the GNU Library General Public
16 * License along
with this library
; if not, write to the
17 * Free Software Foundation
, Inc
., 59 Temple Place
- Suite
330, Cambridge
,
23 include utility
/hooks
.i
74 XREF _t_BytesPerSample
116 XDEF _T_BytesPerSample
145 move
.l #
1,_NextBufferOK
(a0
)
152 move
.l h_SubEntry
(a0
),a5
159 move
.l _ToccataBase
(a4
),a6
164 move
.l _ToccataBase
(a4
),a6
168 * T_NextFrequency
(freq
)(d0
)
176 * T_FindFrequency
(freq
)(d0
)
184 * T_SetPart
(tags
)(a0
)
200 * T_Capture
(tags
)(a0
)
208 * T_Playback
(tags
)(a0
)
232 * T_StartLevel
(tags
)(a0
)
248 * T_Expand
(value
,mode
)(d0
,d1
)
256 * T_SaveSettings
(flags
)(d0
)
264 * T_LoadSettings
(flags
)(d0
)
272 * T_RawPlayback
(tags
)(a0
)
279 * functions added
in v2
:
290 * functions added
in v4
:
293 * T_Open
(name
,tags
)(a0
,a1
)
301 * T_Close
(handle
)(a0
)
309 * T_Record
(handle
,tags
)(a0
,a1
)
317 * T_Play
(handle
,tags
)(a0
,a1
)
325 * T_Convert
(src
,dest
,samples
,srcMode
,destMode
)(a0
,a1
,d0
,d1
,d2
)
333 * T_BytesPerSample
(mode
)(d0
)
337 jsr _t_BytesPerSample
341 * T_OpenFile
(name
,flags
)(a0
,d0
)
348 * T_CloseFile
(msh
)(a0
)
356 * T_ReadFile
(msh
,buffer
,size
)(a0
,a1
,d0
)
364 * functions added
in v5
:
367 * T_WriteSmpte
(startVal
,fps
,task,mask
)(d0
,d1
,a0
,d2
)
375 * T_StopSmpte
(sh
)(a0
)
384 * functions added
in v6
:
387 *---------- End of public part.
388 *---------- Private part is subject to change!
440 * T_SetReg
(reg
,val
)(d0
,d1
)
456 *****************************************************
462 varbase dc
.l $BADC0DED