sh4_dmacreg.h Source File
Back to the index.
Go to the documentation of this file.
35 #define N_SH4_DMA_CHANNELS 8
37 #define SH4_SAR0 0xffa00000
38 #define SH4_DAR0 0xffa00004
39 #define SH4_DMATCR0 0xffa00008
40 #define SH4_CHCR0 0xffa0000c
42 #define SH4_SAR1 0xffa00010
43 #define SH4_DAR1 0xffa00014
44 #define SH4_DMATCR1 0xffa00018
45 #define SH4_CHCR1 0xffa0001c
47 #define SH4_SAR2 0xffa00020
48 #define SH4_DAR2 0xffa00024
49 #define SH4_DMATCR2 0xffa00028
50 #define SH4_CHCR2 0xffa0002c
52 #define SH4_SAR3 0xffa00030
53 #define SH4_DAR3 0xffa00034
54 #define SH4_DMATCR3 0xffa00038
55 #define SH4_CHCR3 0xffa0003c
57 #define SH4_DMAOR 0xffa00040
58 #define DMAOR_DDT 0x00008000
59 #define DMAOR_PR1 0x00000200
60 #define DMAOR_PR0 0x00000100
61 #define DMAOR_AE 0x00000004
62 #define DMAOR_NMIF 0x00000002
63 #define DMAOR_DME 0x00000001
67 #define SH4_SAR4 0xffa00050
68 #define SH4_DAR4 0xffa00054
69 #define SH4_DMATCR4 0xffa00058
70 #define SH4_CHCR4 0xffa0005c
72 #define SH4_SAR5 0xffa00060
73 #define SH4_DAR5 0xffa00064
74 #define SH4_DMATCR5 0xffa00068
75 #define SH4_CHCR5 0xffa0006c
77 #define SH4_SAR6 0xffa00070
78 #define SH4_DAR6 0xffa00074
79 #define SH4_DMATCR6 0xffa00078
80 #define SH4_CHCR6 0xffa0007c
82 #define SH4_SAR7 0xffa00080
83 #define SH4_DAR7 0xffa00084
84 #define SH4_DMATCR7 0xffa00088
85 #define SH4_CHCR7 0xffa0008c
92 #define CHCR_SSA_MASK 0xe0000000
94 #define CHCR_SSA_RESERVED (0 << 29)
95 #define CHCR_SSA_DYNAMIC_BUS_SIZING (1 << 29)
96 #define CHCR_SSA_8BIT_IO_SPACE (2 << 29)
97 #define CHCR_SSA_16BIT_IO_SPACE (3 << 29)
98 #define CHCR_SSA_8BIT_COMMON_MEMORY_SPACE (4 << 29)
99 #define CHCR_SSA_16BIT_COMMON_MEMORY_SPACE (5 << 29)
100 #define CHCR_SSA_8BIT_ATTRIBUTE_MEMORY_SPACE (6 << 29)
101 #define CHCR_SSA_16BIT_ATTRIBUTE_MEMORY_SPACE (7 << 29)
102 #define CHCR_STC 0x10000000
103 #define CHCR_DSA_MASK 0x0e000000
104 #define CHCR_DSA_RESERVED (0 << 25)
105 #define CHCR_DSA_DYNAMIC_BUS_SIZING (1 << 25)
106 #define CHCR_DSA_8BIT_IO_SPACE (2 << 25)
107 #define CHCR_DSA_16BIT_IO_SPACE (3 << 25)
108 #define CHCR_DSA_8BIT_COMMON_MEMORY_SPACE (4 << 25)
109 #define CHCR_DSA_16BIT_COMMON_MEMORY_SPACE (5 << 25)
110 #define CHCR_DSA_8BIT_ATTRIBUTE_MEMORY_SPACE (6 << 25)
111 #define CHCR_DSA_16BIT_ATTRIBUTE_MEMORY_SPACE (7 << 25)
112 #define CHCR_DTC 0x01000000
113 #define CHCR_DS 0x00080000
114 #define CHCR_RL 0x00040000
115 #define CHCR_AM 0x00020000
116 #define CHCR_AL 0x00010000
117 #define CHCR_DM 0x0000c000
118 #define CHCR_DM_FIXED (0 << 14)
119 #define CHCR_DM_INCREMENTED (1 << 14)
120 #define CHCR_DM_DECREMENTED (2 << 14)
121 #define CHCR_SM 0x00003000
122 #define CHCR_SM_FIXED (0 << 12)
123 #define CHCR_SM_INCREMENTED (1 << 12)
124 #define CHCR_SM_DECREMENTED (2 << 12)
125 #define CHCR_RS 0x00000f00
126 #define CHCR_TM 0x00000080
127 #define CHCR_TS 0x00000070
128 #define CHCR_TS_8BYTE (0 << 4)
129 #define CHCR_TS_1BYTE (1 << 4)
130 #define CHCR_TS_2BYTE (2 << 4)
131 #define CHCR_TS_4BYTE (3 << 4)
132 #define CHCR_TS_32BYTE (4 << 4)
133 #define CHCR_CHSET 0x00000008
134 #define CHCR_IE 0x00000004
135 #define CHCR_TE 0x00000002
136 #define CHCR_TD 0x00000001
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18