1 void configure_rtc_emulation_amiga(uint8_t enabled);
2 void set_hard_drive_image_file_amiga(uint8_t index, char *filename);
3 int custom_read_amiga(struct emulator_config *cfg, unsigned int addr, unsigned int *val, unsigned char type);
4 int custom_write_amiga(struct emulator_config *cfg, unsigned int addr, unsigned int val, unsigned char type);
6 void adjust_gayle_4000();
7 void adjust_gayle_1200();
9 #define GAYLEBASE 0xD80000
10 #define GAYLESIZE 0x070000
11 #define GAYLEMASK 0xDF0000
13 #define CLOCKBASE 0xDC0000
14 #define CLOCKSIZE 0x010000
15 #define CLOCKMASK 0x00FFFF
18 #define GARY_REG0 0xDE0000
19 #define GARY_REG1 0xDE0001
20 #define GARY_REG2 0xDE0002
21 #define GARY_REG3 0xDE1000
22 #define GARY_REG4 0xDE1001
23 #define GARY_REG5 0xDE1002
25 /* RAMSEY ADDRESSES */
26 #define RAMSEY_REG 0xDE0003 /* just a nibble, it should return 0x08 for defaults with 16MB */
27 #define RAMSEY_ID 0xDE0043 /* Either 0x0D or 0x0F (most recent version) */
29 #define RAMSEY_REV4 0x0D
30 #define RAMSEY_REV7 0x0F