|
|
1.1 root 1: /*
2: * UAE - The Un*x Amiga Emulator
3: *
4: * OS specific functions
5: *
6: * (c) 1995 Bernd Schmidt
7: */
8:
9: extern void read_joystick(UWORD *dir, int *button);
10: extern void init_joystick(void);
11: extern void close_joystick(void);
12:
13: extern struct audio_channel_data {
14: CPTR lc, pt, dmaen;
15: int data_written, snum, state, intreq2, wper, wlen;
16: UWORD dat, nextdat, vol, per, len;
17: int current_sample;
18: } audio_channel[4];
19:
20: extern int sound_available;
21: extern int joystickpresent;
22:
23: extern int init_sound (void);
24:
25: extern void aud0_handler(void);
26: extern void aud1_handler(void);
27: extern void aud2_handler(void);
28: extern void aud3_handler(void);
29: extern void AUDxDAT(int nr, UWORD value);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.