pica.h Source File
Back to the index.
Go to the documentation of this file.
46 #define PICA_PHYS_MIN 0x00000000
47 #define PICA_PHYS_MAX 0x0fffffff
53 #define PICA_PHYS_MEMORY_START 0x00000000
54 #define PICA_PHYS_MEMORY_END 0x0fffffff
56 #define PICA_MEMORY_SIZE_REG 0xe00fffe0
57 #define PICA_CONFIG_REG 0xe00ffff0
63 #define R4030_P_LOCAL_IO_BASE 0x80000000
64 #define R4030_V_LOCAL_IO_BASE 0xe0000000
65 #define R4030_S_LOCAL_IO_BASE 0x00040000
67 #define R4030 R4030_V_LOCAL_IO_BASE
72 #define R4030_SYS_CONFIG (R4030+0x0000)
73 #define R4030_SYS_TL_BASE (R4030+0x0018)
74 #define R4030_SYS_TL_LIMIT (R4030+0x0020)
75 #define R4030_SYS_TL_IVALID (R4030+0x0028)
76 #define R4030_SYS_DMA0_REGS (R4030+0x0100)
77 #define R4030_SYS_DMA1_REGS (R4030+0x0120)
78 #define R4030_SYS_DMA2_REGS (R4030+0x0140)
79 #define R4030_SYS_DMA3_REGS (R4030+0x0160)
80 #define R4030_SYS_DMA_INT_SRC (R4030+0x0200)
81 #define R4030_SYS_NVRAM_PROT (R4030+0x0220)
82 #define R4030_SYS_IT_VALUE (R4030+0x0228)
83 #define R4030_SYS_IT_STAT (R4030+0x0230)
84 #define R4030_SYS_ISA_VECTOR (R4030+0x0238)
85 #define R4030_SYS_EXT_IMASK (R4030+0x00e8)
88 #define PVLB R4030_V_LOCAL_IO_BASE
93 #define PICA_SYS_SONIC (PVLB+0x1000)
94 #define PICA_SYS_SCSI (PVLB+0x2000)
95 #define PICA_SYS_FLOPPY (PVLB+0x3000)
96 #define PICA_SYS_CLOCK (PVLB+0x4000)
97 #define PICA_SYS_KBD (PVLB+0x5000)
98 #define PICA_SYS_COM1 (PVLB+0x6000)
99 #define PICA_SYS_COM2 (PVLB+0x7000)
100 #define PICA_SYS_PAR1 (PVLB+0x8000)
101 #define PICA_SYS_NVRAM (PVLB+0x9000)
102 #define PICA_SYS_PNVRAM (PVLB+0xa000)
103 #define PICA_SYS_NVPROM (PVLB+0xb000)
104 #define PICA_SYS_SOUND (PVLB+0xc000)
106 #define PICA_SYS_ISA_AS (PICA_V_ISA_IO+0x70)
108 #define PICA_P_DRAM_CONF 0x800e0000
109 #define PICA_V_DRAM_CONF 0xe00e0000
110 #define PICA_S_DRAM_CONF 0x00020000
112 #define PICA_P_INT_SOURCE 0xf0000000
113 #define PICA_V_INT_SOURCE R4030_V_LOCAL_IO_BASE+R4030_S_LOCAL_IO_BASE
114 #define PICA_S_INT_SOURCE 0x00001000
115 #define PVIS PICA_V_INT_SOURCE
116 #define PICA_SYS_LB_IS (PVIS+0x0000)
117 #define PICA_SYS_LB_IE (PVIS+0x0002)
119 #define PICA_P_LOCAL_VIDEO_CTRL 0x60000000
120 #define PICA_V_LOCAL_VIDEO_CTRL 0xe0200000
121 #define PICA_S_LOCAL_VIDEO_CTRL 0x00200000
123 #define PICA_P_EXTND_VIDEO_CTRL 0x60200000
124 #define PICA_V_EXTND_VIDEO_CTRL 0xe0400000
125 #define PICA_S_EXTND_VIDEO_CTRL 0x00200000
127 #define PICA_P_LOCAL_VIDEO 0x40000000
128 #define PICA_V_LOCAL_VIDEO 0xe0800000
129 #define PICA_S_LOCAL_VIDEO 0x00800000
131 #define PICA_P_ISA_IO 0x90000000
132 #define PICA_V_ISA_IO 0xe2000000
133 #define PICA_S_ISA_IO 0x01000000
135 #define PICA_P_ISA_MEM 0x91000000
136 #define PICA_V_ISA_MEM 0xe3000000
137 #define PICA_S_ISA_MEM 0x01000000
142 #define PICA_MONO_BASE (PICA_V_LOCAL_VIDEO_CTRL + 0x3B4)
143 #define PICA_MONO_BUF (PICA_V_LOCAL_VIDEO + 0xB0000)
144 #define PICA_CGA_BASE (PICA_V_LOCAL_VIDEO_CTRL + 0x3D4)
145 #define PICA_CGA_BUF (PICA_V_LOCAL_VIDEO + 0xB8000)
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17