10 #define min(a,b) ((a) < (b) ? (a) : (b))
13 #define RSPMSG_CLOSE 0
14 #define RSPMSG_UPDATESCREEN 1
15 #define RSPMSG_PROCESSDLIST 2
16 #define RSPMSG_CAPTURESCREEN 3
17 #define RSPMSG_DESTROYTEXTURES 4
18 #define RSPMSG_INITTEXTURES 5
22 u32 PC[18], PCi, busy, halt, close, DList, uc_start, uc_dstart, cmd, nextCmd, count;
27 #define RSP_SegmentToPhysical( segaddr ) ((gSP.segment[(segaddr >> 24) & 0x0F] + (segaddr & 0x00FFFFFF)) & 0x00FFFFFF)
30 void RSP_ProcessDList();
31 void RSP_LoadMatrix( f32 mtx[4][4], u32 address );