Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/libsnes/bsnes/snes/chip/icd2/mmio/mmio.hpp
2 views
1
void render(const uint16 *source);
2
3
uint8 r6000_ly; //SGB BIOS' cache of LY
4
uint8 r6000_row; //SGB BIOS' cache of ROW
5
uint8 r6001; //VRAM conversion
6
uint8 r6003; //control port
7
uint8 r6004; //joypad 1
8
uint8 r6005; //joypad 2
9
uint8 r6006; //joypad 3
10
uint8 r6007; //joypad 4
11
uint8 r7000[16]; //JOYP packet data
12
unsigned r7800; //VRAM offset
13
uint8 mlt_req; //number of active joypads
14
15
struct LCD {
16
uint16 buffer[4 * 160 * 8]; //four tile rows of linear video data
17
uint16 output[320]; //one tile row of 2bpp video data
18
unsigned row; //active ICD2 rendering tile row
19
} lcd;
20
21