Search
lxdream.org :: lxdream/src/asic.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.h
changeset 753:1fe39c3a9bbc
prev728:4dfc293b9d96
next855:b937948d79d9
author nkeynes
date Sun Jul 20 11:36:48 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Initial implementation for sort-dma channel
file annotate diff log raw
1.1 --- a/src/asic.h Sun Jul 06 05:30:32 2008 +0000
1.2 +++ b/src/asic.h Sun Jul 20 11:36:48 2008 +0000
1.3 @@ -32,12 +32,13 @@
1.4 LONG_PORT( 0x810, SORTDMATBL, PORT_MRW, 0, "Sort DMA Table address" )
1.5 LONG_PORT( 0x814, SORTDMADATA, PORT_MRW, 0, "Sort DMA Data base address" )
1.6 LONG_PORT( 0x818, SORTDMATSIZ, PORT_MRW, 0, "Sort DMA Table entry size" )
1.7 - LONG_PORT( 0x81C, SORTDMADSIZ, PORT_MRW, 0, "Sort DMA Data size" )
1.8 + LONG_PORT( 0x81C, SORTDMAASIZ, PORT_MRW, 0, "Sort DMA Table address size" )
1.9 LONG_PORT( 0x820, SORTDMACTL, PORT_MRW, 0, "Sort DMA Control" )
1.10 LONG_PORT( 0x840, ASICUNK5, PORT_MRW, 0, "ASIC <unknown5>" )
1.11 LONG_PORT( 0x844, ASICUNK6, PORT_MRW, 0, "ASIC <unknown6>" )
1.12 LONG_PORT( 0x848, ASICUNK7, PORT_MRW, 0, "ASIC <unknown7>" )
1.13 LONG_PORT( 0x84C, ASICUNK8, PORT_MRW, 0, "ASIC <unknown8>" )
1.14 + LONG_PORT( 0x860, SORTDMACNT, PORT_MR, 0, "Sort DMA Transfer count" )
1.15 LONG_PORT( 0x884, PVRDMARGN1, PORT_MRW, 0, "PVR DMA Dest region 1" )
1.16 LONG_PORT( 0x888, PVRDMARGN2, PORT_MRW, 0, "PVR DMA Dest region 2" )
1.17 LONG_PORT( 0x88C, G2STATUS, PORT_MR|PORT_NOTRACE, 0x0E, "G2 Fifo status" )
1.18 @@ -189,6 +190,7 @@
1.19 #define EVENT_G2_DMA2 17
1.20 #define EVENT_G2_DMA3 18
1.21 #define EVENT_PVR_DMA 19
1.22 +#define EVENT_SORT_DMA 20
1.23 #define EVENT_PVR_PUNCHOUT_DONE 21
1.24 #define EVENT_CASCADE1 30 /* Set if something in the second word is active */
1.25 #define EVENT_CASCADE2 31 /* Set if something in the third word is active */
1.26 @@ -199,6 +201,7 @@
1.27 #define EVENT_PVR_PRIM_ALLOC_FAIL 66
1.28 #define EVENT_PVR_MATRIX_ALLOC_FAIL 67
1.29 #define EVENT_PVR_BAD_INPUT 68
1.30 +#define EVENT_SORT_DMA_ERR 92
1.31
1.32 #define IS_IDE_REGISTER(x) ( (x) <= IDEDMACTL2 )
1.33
.