X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=Pico%2Fcarthw%2Fsvp%2Fssp16.h;h=ec363f091e3906e67330ec944418dfac5f410261;hb=8e5427a06854695302a879dba5f0cbb3886e7253;hp=e2be484ffb6313eddb43092fb33c4a0e0742ac06;hpb=30752975e044377d40b2d496d17591d96a02c3af;p=picodrive.git diff --git a/Pico/carthw/svp/ssp16.h b/Pico/carthw/svp/ssp16.h index e2be484f..ec363f09 100644 --- a/Pico/carthw/svp/ssp16.h +++ b/Pico/carthw/svp/ssp16.h @@ -1,3 +1,10 @@ +// basic, incomplete SSP160x (SSP1601?) interpreter + +// (c) Copyright 2008, Grazvydas "notaz" Ignotas +// Free for non-commercial use. + +// For commercial use, separate licencing terms must be obtained. + // register names enum { @@ -39,8 +46,10 @@ 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_30FE06_WAIT 0x4000 // ssp tight loops on 30FE08 to become non-zero - #define SSP_30FE08_WAIT 0x8000 // same for 30FE06 + #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_30FE08 0x8000 // same for 30FE06 + #define SSP_WAIT_MASK 0xe000 unsigned int emu_status; unsigned int pad[30]; } ssp1601_t;