1 /*
2  * VortexTracker2 Tracker Library (AY819x)
3  */
4 
5 #ifndef __PSG_VT2_H__
6 #define __PSG_VT2_H__
7 
8 #include <sys/compiler.h>
9 
10 typedef int vt2_song;
11 
12 extern void __LIB__ ay_vt2_init(vt2_song *song) __z88dk_fastcall;
13 extern void __LIB__ ay_vt2_play(void);  // Called on interrupt, trashes main register + ix,iy
14 extern void __LIB__ ay_vt2_start(void); // Setup to play song N
15 extern void __LIB__ ay_vt2_stop(void);  // Stop playing
16 extern void __LIB__ ay_vt2_mute(void);  // Mute playign
17 
18 #endif
19