1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/asic.h Tue Aug 01 21:56:48 2006 +0000
1.7 +#define EVENT_PVR_RENDER_DONE 2
1.8 +#define EVENT_SCANLINE1 3
1.9 +#define EVENT_SCANLINE2 4
1.10 +#define EVENT_RETRACE 5
1.11 +#define EVENT_PVR_UNK 6
1.12 +#define EVENT_PVR_OPAQUE_DONE 7
1.13 +#define EVENT_PVR_OPAQUEMOD_DONE 8
1.14 +#define EVENT_PVR_TRANS_DONE 9
1.15 +#define EVENT_PVR_TRANSMOD_DONE 10
1.16 +#define EVENT_MAPLE_DMA 12
1.17 +#define EVENT_MAPLE_ERR 13 /* ??? */
1.18 +#define EVENT_IDE_DMA 14
1.19 +#define EVENT_SPU_DMA0 15
1.20 +#define EVENT_SPU_DMA1 16
1.21 +#define EVENT_SPU_DMA2 17
1.22 +#define EVENT_SPU_DMA3 18
1.23 +#define EVENT_PVR_DMA 19
1.24 +#define EVENT_PVR_PUNCHOUT_DONE 21
1.26 +#define EVENT_IDE 32
1.27 +#define EVENT_AICA 33
1.30 + * Wait for an ASIC event.
1.31 + * @return 0 if the event occurred, otherwise -1 if the wait timed out.
1.33 +int asic_wait( int event );
1.36 + * Clear all asic events
1.41 + * Print the contents of the ASIC event registers to the supplied FILE
1.43 +void asic_dump( FILE *f );
1.45 +void asic_mask_all();