File: platform.h

package info (click to toggle)
atari800 0.9.8a-2
  • links: PTS
  • area: contrib
  • in suites: potato, slink
  • size: 1,844 kB
  • ctags: 3,008
  • sloc: ansic: 29,881; asm: 2,142; makefile: 78; sh: 8
file content (28 lines) | stat: -rw-r--r-- 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __PLATFORM__
#define __PLATFORM__

/*
 * This include file defines prototypes for platforms specific functions.
 */

void Atari_Initialise(int *argc, char *argv[]);
int Atari_Exit(int run_monitor);
int Atari_Keyboard(void);
#ifdef WIN32
void (*Atari_DisplayScreen)(UBYTE *screen);
#else
void Atari_DisplayScreen (UBYTE *screen);
#endif

int Atari_PORT(int num);
int Atari_TRIG(int num);
int Atari_POT(int num);
int Atari_CONSOL(void);
#ifdef SET_LED
void Atari_Set_LED(int how);
#endif
void Atari_AUDC(int channel, int byte);
void Atari_AUDF(int channel, int byte);
void Atari_AUDCTL(int byte);

#endif