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,
25 #include <exec/types.h>
26 #include <exec/libraries.h>
27 #include <exec/ports.h>
28 #include <libraries/toccata.h>
30 /* Force 32 bit results */
35 /* Arguments in registers */
38 #define REG(x) register __ ## x
55 LONG InputVolumeRight
;
56 LONG OutputVolumeLeft
;
57 LONG OutputVolumeRight
;
64 LONG CaptureBufferPri
;
65 ULONG CaptureBlockSize
;
66 ULONG MaxCaptureBlocks
;
68 LONG PlaybackBufferPri
;
69 ULONG PlaybackBlockSize
;
70 ULONG PlaybackStartBlocks
;
100 #define MSG_LEVELOFF 9
105 extern char __far _LibID
[];
106 extern char __far _LibName
[];
108 extern struct ToccataBase
*ToccataBase
;
109 extern struct Process
*SlaveProcess
;
110 extern BOOL SlaveInitialized
;
111 extern struct AHIAudioCtrl
*audioctrl
;
112 extern struct toccataprefs tprefs
;
113 extern const Fixed negboundaries
[];
114 extern const Fixed posboundaries
[];
118 void kprintf(char *, ...);
120 ASM
void puta4(void);
122 ASM
void SlaveTaskEntry(void);
123 ASM
void IOTaskEntry(void);
124 ASM
void HookLoad(void);
125 ASM ULONG
GetRawReply(REG(a0
) struct ToccataBase
*);
128 void fillhardinfo(void);
130 #endif /* TOCCATAEMUL_H */