X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fssp16.h;h=f6c00770584a3687c6e73c3fcec504bbe89d33f1;hb=e122fae6f47c4ca4fce5a178d6d2055b3cef6423;hp=f4a5746a64afa968e668394179ce5c7a9de348b6;hpb=b9c1d0129a0842bb545dd30cef73aa975acbb1ac;p=picodrive.git diff --git a/Pico/carthw/svp/ssp16.h b/Pico/carthw/svp/ssp16.h index f4a5746..f6c0077 100644 --- a/Pico/carthw/svp/ssp16.h +++ b/Pico/carthw/svp/ssp16.h @@ -48,13 +48,16 @@ typedef struct #define SSP_PMC_SET 0x0002 // PMAC is set #define SSP_WAIT_PM0 0x2000 // bit1 in PM0 #define SSP_WAIT_30FE06 0x4000 // ssp tight loops on 30FE06 to become non-zero - #define SSP_WAIT_30FE08 0x8000 // same for 30FE08 + #define SSP_WAIT_30FE08 0x8000 // same for 30FE06 #define SSP_WAIT_MASK 0xe000 unsigned int emu_status; // 484 - unsigned int rom_ptr; // 488 recompiler convenience - unsigned int iram_ptr; // 48c - unsigned int dram_ptr; // 490 - unsigned int pad[27]; + /* used by recompiler only: */ + struct { + unsigned int ptr_rom; // 488 + unsigned int ptr_iram_rom; // 48c + unsigned int ptr_dram; // 490 + unsigned int iram_dirty; // 494 + } drc; } ssp1601_t;