Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/libsnes/bsnes/snes/chip/hitachidsp/registers.hpp
2 views
1
struct Registers {
2
uint24 pc;
3
uint16 p;
4
bool n;
5
bool z;
6
bool c;
7
8
uint24 a;
9
uint24 acch;
10
uint24 accl;
11
uint24 busdata;
12
uint24 romdata;
13
uint24 ramdata;
14
uint24 busaddr;
15
uint24 ramaddr;
16
uint24 gpr[16];
17
18
//MMIO
19
uint24 dma_source; //$1f40-$1f42
20
uint24 dma_length; //$1f43-$1f44
21
uint24 dma_target; //$1f45-$1f47
22
uint8 r1f48; //$1f48
23
uint24 program_offset; //$1f49-$1f4b
24
uint8 r1f4c; //$1f4c
25
uint16 page_number; //$1f4d-$1f4e
26
uint8 program_counter; //$1f4f
27
uint8 r1f50; //$1f50
28
uint8 r1f51; //$1f51
29
uint8 r1f52; //$1f52
30
uint8 vector[32]; //$1f60-$1f7f
31
} regs;
32
33