32x: built-in BIOS; reset handling; 68k memhandler split
[picodrive.git] / pico / cd / gfx_cd.h
CommitLineData
d1df8786 1#ifndef _GFX_CD_H
2#define _GFX_CD_H
3
4
5typedef struct
6{
a4030801 7 unsigned int Reg_58; // Stamp_Size
d1df8786 8 unsigned int Reg_5A;
9 unsigned int Reg_5C;
10 unsigned int Reg_5E;
11 unsigned int Reg_60;
12 unsigned int Reg_62;
a4030801 13 unsigned int Reg_64; // V_Dot
d1df8786 14 unsigned int Reg_66;
15
16 unsigned int Stamp_Map_Adr;
d1df8786 17 unsigned int Vector_Adr;
a4030801 18 unsigned int Function; // Jmp_Adr;
d1df8786 19 unsigned int Float_Part;
20 unsigned int Draw_Speed;
d1df8786 21 unsigned int YD;
75736070 22
528ec956 23 int pad[10];
d1df8786 24} Rot_Comp;
cb4a513a 25
26
eff55556 27PICO_INTERNAL void gfx_cd_update(void);
cb4a513a 28
eff55556 29PICO_INTERNAL_ASM unsigned int gfx_cd_read(unsigned int a);
30PICO_INTERNAL_ASM void gfx_cd_write16(unsigned int a, unsigned int d);
cb4a513a 31
eff55556 32PICO_INTERNAL void gfx_cd_reset(void);
51a902ae 33
eff55556 34PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, unsigned char inc);
fa1e5e29 35
d1df8786 36#endif // _GFX_CD_H
37