]> git.sesse.net Git - pistorm/blob - platforms/amiga/Gayle.h
2bcb9c3cd5a4a6bd5f23366ff1544762179f00e7
[pistorm] / platforms / amiga / Gayle.h
1 //
2 //  Gayle.h
3 //  Omega
4 //
5 //  Created by Matt Parsons on 06/03/2019.
6 //  Copyright © 2019 Matt Parsons. All rights reserved.
7 //
8
9 #ifndef Gayle_h
10 #define Gayle_h
11
12 #define GAYLE_MAX_HARDFILES 8
13
14 #include <stdio.h>
15 #include <stdint.h>
16
17 uint8_t CheckIrq(void);
18 void InitGayle(void);
19 void writeGayleB(unsigned int address, unsigned value);
20 void writeGayle(unsigned int address, unsigned value);
21 void writeGayleL(unsigned int address, unsigned value);
22 uint8_t readGayleB(unsigned int address);
23 uint16_t readGayle(unsigned int address);
24 uint32_t readGayleL(unsigned int address);
25
26 struct ide_controller *get_ide(int index);
27 #endif /* Gayle_h */