]> git.sesse.net Git - pistorm/blob - a314/a314.h
Add A314 Amiga binaries
[pistorm] / a314 / a314.h
1 // A314 emulation.
2
3 #ifndef A314_H
4 #define A314_H
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 #define A314_ENABLED 1
11
12 extern unsigned int a314_base;
13 extern int a314_base_configured;
14
15 #define A314_COM_AREA_SIZE (64 * 1024)
16
17 int a314_init();
18 void a314_set_mem_base_size(unsigned int base, unsigned int size);
19 void a314_process_events();
20 void a314_set_config_file(char *filename);
21
22 unsigned int a314_read_memory_8(unsigned int address);
23 unsigned int a314_read_memory_16(unsigned int address);
24 unsigned int a314_read_memory_32(unsigned int address);
25
26 void a314_write_memory_8(unsigned int address, unsigned int value);
27 void a314_write_memory_16(unsigned int address, unsigned int value);
28 void a314_write_memory_32(unsigned int address, unsigned int value);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif /* A314_H */