X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fssp16.h;h=9f395e35c91d7bf5ee80f968fae8e4d3c1dfc0be;hb=67c81ee2e41f86851aeb221aed911980c07274bf;hp=c7db4de9b69bad6ba007e96d8edacf14f791a2f1;hpb=5c129565f0646a1ac7f9c57fd3425f3246aecb84;p=picodrive.git diff --git a/Pico/carthw/svp/ssp16.h b/Pico/carthw/svp/ssp16.h index c7db4de..9f395e3 100644 --- a/Pico/carthw/svp/ssp16.h +++ b/Pico/carthw/svp/ssp16.h @@ -47,18 +47,26 @@ typedef struct #define SSP_PMC_HAVE_ADDR 0x0001 // address written to PMAC, waiting for mode #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 30FE08 to become non-zero + #define SSP_WAIT_30FE06 0x4000 // ssp tight loops on 30FE06 to become non-zero #define SSP_WAIT_30FE08 0x8000 // same for 30FE06 #define SSP_WAIT_MASK 0xe000 unsigned int emu_status; // 484 - unsigned int pad[30]; + /* 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 + unsigned int iram_context; // 498 + unsigned int ptr_btable; // 49c + unsigned int ptr_btable_iram; // 4a0 + unsigned int tmp0; // 4a4 + unsigned int tmp1; // 4a8 + unsigned int tmp2; // 4ac + } drc; } ssp1601_t; void ssp1601_reset(ssp1601_t *ssp); void ssp1601_run(int cycles); -int ssp1601_dyn_init(void); -void ssp1601_dyn_reset(ssp1601_t *ssp); -void ssp1601_dyn_run(int cycles); -