X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=blobdiff_plain;f=pico%2Fpico_int.h;h=2249148f5fb15bdd2113df02c0c75d5e04f94d33;hp=15ab616fd133dc5c841b4662a4ac42b1a191a7d1;hb=e0bcb7a90d06b295b1ca989b6ad70412912cca5b;hpb=1a08dec0e0d3667556ce61307d055b8d19a02034 diff --git a/pico/pico_int.h b/pico/pico_int.h index 15ab616..2249148 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -281,6 +281,15 @@ extern SH2 sh2s[2]; #define OSC_NTSC 53693100 #define OSC_PAL 53203424 +#define PVD_KILL_A (1 << 0) +#define PVD_KILL_B (1 << 1) +#define PVD_KILL_S_LO (1 << 2) +#define PVD_KILL_S_HI (1 << 3) +#define PVD_KILL_32X (1 << 4) +#define PVD_FORCE_A (1 << 5) +#define PVD_FORCE_B (1 << 6) +#define PVD_FORCE_S (1 << 7) + struct PicoVideo { unsigned char reg[0x20]; @@ -292,8 +301,10 @@ struct PicoVideo unsigned char pending_ints; // pending interrupts: ??VH???? signed char lwrite_cnt; // VDP write count during active display line unsigned short v_counter; // V-counter + unsigned short debug; // raw debug register + unsigned char debug_p; // ... parsed: PVD_* unsigned char addr_u; - unsigned char pad[0x0f]; + unsigned char pad[0x0c]; }; struct PicoMisc