]> Shamusworld >> Repos - virtualjaguar/blob - src/include/blitter.h
Added InitGUI & GUIDone functions ;-)
[virtualjaguar] / src / include / blitter.h
1 #ifndef __BLITTER_H__
2 #define __BLITTER_H__
3
4 #include "types.h"
5
6 void blitter_init(void);
7 void blitter_reset(void);
8 void blitter_done(void);
9
10 uint8 BlitterReadByte(uint32, uint32 who = UNKNOWN);
11 uint16 BlitterReadWord(uint32, uint32 who = UNKNOWN);
12 uint32 BlitterReadLong(uint32, uint32 who = UNKNOWN);
13 void BlitterWriteByte(uint32, uint8, uint32 who = UNKNOWN);
14 void BlitterWriteWord(uint32, uint16, uint32 who = UNKNOWN);
15 void BlitterWriteLong(uint32, uint32, uint32 who = UNKNOWN);
16
17 uint32 blitter_reg_read(uint32 offset);
18 void blitter_reg_write(uint32 offset, uint32 data);
19
20 extern uint8 blitter_working;
21
22 #endif