pica.h File Reference

Back to the index.

Macros
pica.h File Reference

Go to the source code of this file.

Macros

#define RELATIVE
 
#define PICA_PHYS_MIN   0x00000000 /* 256 Meg */
 
#define PICA_PHYS_MAX   0x0fffffff
 
#define PICA_PHYS_MEMORY_START   0x00000000
 
#define PICA_PHYS_MEMORY_END   0x0fffffff /* 256 Meg in 8 slots */
 
#define PICA_MEMORY_SIZE_REG   0xe00fffe0 /* Memory size register */
 
#define PICA_CONFIG_REG   0xe00ffff0 /* Hardware config reg */
 
#define R4030_P_LOCAL_IO_BASE   0x80000000 /* I/O Base address */
 
#define R4030_V_LOCAL_IO_BASE   0xe0000000
 
#define R4030_S_LOCAL_IO_BASE   0x00040000 /* Size */
 
#define R4030   0
 
#define R4030_SYS_CONFIG   (R4030+0x0000) /* Global config register */
 
#define R4030_SYS_TL_BASE   (R4030+0x0018) /* DMA transl. table base */
 
#define R4030_SYS_TL_LIMIT   (R4030+0x0020) /* DMA transl. table limit */
 
#define R4030_SYS_TL_IVALID   (R4030+0x0028) /* DMA transl. cache inval */
 
#define R4030_SYS_DMA0_REGS   (R4030+0x0100) /* DMA ch0 base address */
 
#define R4030_SYS_DMA1_REGS   (R4030+0x0120) /* DMA ch0 base address */
 
#define R4030_SYS_DMA2_REGS   (R4030+0x0140) /* DMA ch0 base address */
 
#define R4030_SYS_DMA3_REGS   (R4030+0x0160) /* DMA ch0 base address */
 
#define R4030_SYS_DMA_INT_SRC   (R4030+0x0200) /* DMA int source status reg */
 
#define R4030_SYS_NVRAM_PROT   (R4030+0x0220) /* NV ram protect register */
 
#define R4030_SYS_IT_VALUE   (R4030+0x0228) /* Interval timer reload */
 
#define R4030_SYS_IT_STAT   (R4030+0x0230) /* Interval timer count */
 
#define R4030_SYS_ISA_VECTOR   (R4030+0x0238) /* ISA Interrupt vector */
 
#define R4030_SYS_EXT_IMASK   (R4030+0x00e8) /* External int enable mask */
 
#define PVLB   0
 
#define PICA_SYS_SONIC   (PVLB+0x1000) /* SONIC base address */
 
#define PICA_SYS_SCSI   (PVLB+0x2000) /* SCSI base address */
 
#define PICA_SYS_FLOPPY   (PVLB+0x3000) /* Floppy base address */
 
#define PICA_SYS_CLOCK   (PVLB+0x4000) /* Clock base address */
 
#define PICA_SYS_KBD   (PVLB+0x5000) /* Keybrd/mouse base address */
 
#define PICA_SYS_COM1   (PVLB+0x6000) /* Com port 1 */
 
#define PICA_SYS_COM2   (PVLB+0x7000) /* Com port 2 */
 
#define PICA_SYS_PAR1   (PVLB+0x8000) /* Parallel port 1 */
 
#define PICA_SYS_NVRAM   (PVLB+0x9000) /* Unprotected NV-ram */
 
#define PICA_SYS_PNVRAM   (PVLB+0xa000) /* Protected NV-ram */
 
#define PICA_SYS_NVPROM   (PVLB+0xb000) /* Read only NV-ram */
 
#define PICA_SYS_SOUND   (PVLB+0xc000) /* Sound port */
 
#define PICA_SYS_ISA_AS   (PICA_V_ISA_IO+0x70)
 
#define PICA_P_DRAM_CONF   0x800e0000 /* Dram config registers */
 
#define PICA_V_DRAM_CONF   0xe00e0000
 
#define PICA_S_DRAM_CONF   0x00020000
 
#define PICA_P_INT_SOURCE   0xf0000000 /* Interrupt src registers */
 
#define PICA_V_INT_SOURCE   R4030_V_LOCAL_IO_BASE+R4030_S_LOCAL_IO_BASE
 
#define PICA_S_INT_SOURCE   0x00001000
 
#define PVIS   PICA_V_INT_SOURCE
 
#define PICA_SYS_LB_IS   (PVIS+0x0000) /* Local bus int source */
 
#define PICA_SYS_LB_IE   (PVIS+0x0002) /* Local bus int enables */
 
#define PICA_P_LOCAL_VIDEO_CTRL   0x60000000 /* Local video control */
 
#define PICA_V_LOCAL_VIDEO_CTRL   0xe0200000
 
#define PICA_S_LOCAL_VIDEO_CTRL   0x00200000
 
#define PICA_P_EXTND_VIDEO_CTRL   0x60200000 /* Extended video control */
 
#define PICA_V_EXTND_VIDEO_CTRL   0xe0400000
 
#define PICA_S_EXTND_VIDEO_CTRL   0x00200000
 
#define PICA_P_LOCAL_VIDEO   0x40000000 /* Local video memory */
 
#define PICA_V_LOCAL_VIDEO   0xe0800000
 
#define PICA_S_LOCAL_VIDEO   0x00800000
 
#define PICA_P_ISA_IO   0x90000000 /* ISA I/O control */
 
#define PICA_V_ISA_IO   0xe2000000
 
#define PICA_S_ISA_IO   0x01000000
 
#define PICA_P_ISA_MEM   0x91000000 /* ISA Memory control */
 
#define PICA_V_ISA_MEM   0xe3000000
 
#define PICA_S_ISA_MEM   0x01000000
 
#define PICA_MONO_BASE   (PICA_V_LOCAL_VIDEO_CTRL + 0x3B4)
 
#define PICA_MONO_BUF   (PICA_V_LOCAL_VIDEO + 0xB0000)
 
#define PICA_CGA_BASE   (PICA_V_LOCAL_VIDEO_CTRL + 0x3D4)
 
#define PICA_CGA_BUF   (PICA_V_LOCAL_VIDEO + 0xB8000)
 

Macro Definition Documentation

◆ PICA_CGA_BASE

#define PICA_CGA_BASE   (PICA_V_LOCAL_VIDEO_CTRL + 0x3D4)

Definition at line 144 of file pica.h.

◆ PICA_CGA_BUF

#define PICA_CGA_BUF   (PICA_V_LOCAL_VIDEO + 0xB8000)

Definition at line 145 of file pica.h.

◆ PICA_CONFIG_REG

#define PICA_CONFIG_REG   0xe00ffff0 /* Hardware config reg */

Definition at line 57 of file pica.h.

◆ PICA_MEMORY_SIZE_REG

#define PICA_MEMORY_SIZE_REG   0xe00fffe0 /* Memory size register */

Definition at line 56 of file pica.h.

◆ PICA_MONO_BASE

#define PICA_MONO_BASE   (PICA_V_LOCAL_VIDEO_CTRL + 0x3B4)

Definition at line 142 of file pica.h.

◆ PICA_MONO_BUF

#define PICA_MONO_BUF   (PICA_V_LOCAL_VIDEO + 0xB0000)

Definition at line 143 of file pica.h.

◆ PICA_P_DRAM_CONF

#define PICA_P_DRAM_CONF   0x800e0000 /* Dram config registers */

Definition at line 108 of file pica.h.

◆ PICA_P_EXTND_VIDEO_CTRL

#define PICA_P_EXTND_VIDEO_CTRL   0x60200000 /* Extended video control */

Definition at line 123 of file pica.h.

◆ PICA_P_INT_SOURCE

#define PICA_P_INT_SOURCE   0xf0000000 /* Interrupt src registers */

Definition at line 112 of file pica.h.

◆ PICA_P_ISA_IO

#define PICA_P_ISA_IO   0x90000000 /* ISA I/O control */

Definition at line 131 of file pica.h.

◆ PICA_P_ISA_MEM

#define PICA_P_ISA_MEM   0x91000000 /* ISA Memory control */

Definition at line 135 of file pica.h.

◆ PICA_P_LOCAL_VIDEO

#define PICA_P_LOCAL_VIDEO   0x40000000 /* Local video memory */

Definition at line 127 of file pica.h.

◆ PICA_P_LOCAL_VIDEO_CTRL

#define PICA_P_LOCAL_VIDEO_CTRL   0x60000000 /* Local video control */

Definition at line 119 of file pica.h.

◆ PICA_PHYS_MAX

#define PICA_PHYS_MAX   0x0fffffff

Definition at line 47 of file pica.h.

◆ PICA_PHYS_MEMORY_END

#define PICA_PHYS_MEMORY_END   0x0fffffff /* 256 Meg in 8 slots */

Definition at line 54 of file pica.h.

◆ PICA_PHYS_MEMORY_START

#define PICA_PHYS_MEMORY_START   0x00000000

Definition at line 53 of file pica.h.

◆ PICA_PHYS_MIN

#define PICA_PHYS_MIN   0x00000000 /* 256 Meg */

Definition at line 46 of file pica.h.

◆ PICA_S_DRAM_CONF

#define PICA_S_DRAM_CONF   0x00020000

Definition at line 110 of file pica.h.

◆ PICA_S_EXTND_VIDEO_CTRL

#define PICA_S_EXTND_VIDEO_CTRL   0x00200000

Definition at line 125 of file pica.h.

◆ PICA_S_INT_SOURCE

#define PICA_S_INT_SOURCE   0x00001000

Definition at line 114 of file pica.h.

◆ PICA_S_ISA_IO

#define PICA_S_ISA_IO   0x01000000

Definition at line 133 of file pica.h.

◆ PICA_S_ISA_MEM

#define PICA_S_ISA_MEM   0x01000000

Definition at line 137 of file pica.h.

◆ PICA_S_LOCAL_VIDEO

#define PICA_S_LOCAL_VIDEO   0x00800000

Definition at line 129 of file pica.h.

◆ PICA_S_LOCAL_VIDEO_CTRL

#define PICA_S_LOCAL_VIDEO_CTRL   0x00200000

Definition at line 121 of file pica.h.

◆ PICA_SYS_CLOCK

#define PICA_SYS_CLOCK   (PVLB+0x4000) /* Clock base address */

Definition at line 96 of file pica.h.

◆ PICA_SYS_COM1

#define PICA_SYS_COM1   (PVLB+0x6000) /* Com port 1 */

Definition at line 98 of file pica.h.

◆ PICA_SYS_COM2

#define PICA_SYS_COM2   (PVLB+0x7000) /* Com port 2 */

Definition at line 99 of file pica.h.

◆ PICA_SYS_FLOPPY

#define PICA_SYS_FLOPPY   (PVLB+0x3000) /* Floppy base address */

Definition at line 95 of file pica.h.

◆ PICA_SYS_ISA_AS

#define PICA_SYS_ISA_AS   (PICA_V_ISA_IO+0x70)

Definition at line 106 of file pica.h.

◆ PICA_SYS_KBD

#define PICA_SYS_KBD   (PVLB+0x5000) /* Keybrd/mouse base address */

Definition at line 97 of file pica.h.

◆ PICA_SYS_LB_IE

#define PICA_SYS_LB_IE   (PVIS+0x0002) /* Local bus int enables */

Definition at line 117 of file pica.h.

◆ PICA_SYS_LB_IS

#define PICA_SYS_LB_IS   (PVIS+0x0000) /* Local bus int source */

Definition at line 116 of file pica.h.

◆ PICA_SYS_NVPROM

#define PICA_SYS_NVPROM   (PVLB+0xb000) /* Read only NV-ram */

Definition at line 103 of file pica.h.

◆ PICA_SYS_NVRAM

#define PICA_SYS_NVRAM   (PVLB+0x9000) /* Unprotected NV-ram */

Definition at line 101 of file pica.h.

◆ PICA_SYS_PAR1

#define PICA_SYS_PAR1   (PVLB+0x8000) /* Parallel port 1 */

Definition at line 100 of file pica.h.

◆ PICA_SYS_PNVRAM

#define PICA_SYS_PNVRAM   (PVLB+0xa000) /* Protected NV-ram */

Definition at line 102 of file pica.h.

◆ PICA_SYS_SCSI

#define PICA_SYS_SCSI   (PVLB+0x2000) /* SCSI base address */

Definition at line 94 of file pica.h.

◆ PICA_SYS_SONIC

#define PICA_SYS_SONIC   (PVLB+0x1000) /* SONIC base address */

Definition at line 93 of file pica.h.

◆ PICA_SYS_SOUND

#define PICA_SYS_SOUND   (PVLB+0xc000) /* Sound port */

Definition at line 104 of file pica.h.

◆ PICA_V_DRAM_CONF

#define PICA_V_DRAM_CONF   0xe00e0000

Definition at line 109 of file pica.h.

◆ PICA_V_EXTND_VIDEO_CTRL

#define PICA_V_EXTND_VIDEO_CTRL   0xe0400000

Definition at line 124 of file pica.h.

◆ PICA_V_INT_SOURCE

#define PICA_V_INT_SOURCE   R4030_V_LOCAL_IO_BASE+R4030_S_LOCAL_IO_BASE

Definition at line 113 of file pica.h.

◆ PICA_V_ISA_IO

#define PICA_V_ISA_IO   0xe2000000

Definition at line 132 of file pica.h.

◆ PICA_V_ISA_MEM

#define PICA_V_ISA_MEM   0xe3000000

Definition at line 136 of file pica.h.

◆ PICA_V_LOCAL_VIDEO

#define PICA_V_LOCAL_VIDEO   0xe0800000

Definition at line 128 of file pica.h.

◆ PICA_V_LOCAL_VIDEO_CTRL

#define PICA_V_LOCAL_VIDEO_CTRL   0xe0200000

Definition at line 120 of file pica.h.

◆ PVIS

#define PVIS   PICA_V_INT_SOURCE

Definition at line 115 of file pica.h.

◆ PVLB

#define PVLB   0

Definition at line 90 of file pica.h.

◆ R4030

#define R4030   0

Definition at line 69 of file pica.h.

◆ R4030_P_LOCAL_IO_BASE

#define R4030_P_LOCAL_IO_BASE   0x80000000 /* I/O Base address */

Definition at line 63 of file pica.h.

◆ R4030_S_LOCAL_IO_BASE

#define R4030_S_LOCAL_IO_BASE   0x00040000 /* Size */

Definition at line 65 of file pica.h.

◆ R4030_SYS_CONFIG

#define R4030_SYS_CONFIG   (R4030+0x0000) /* Global config register */

Definition at line 72 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_DMA0_REGS

#define R4030_SYS_DMA0_REGS   (R4030+0x0100) /* DMA ch0 base address */

Definition at line 76 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_DMA1_REGS

#define R4030_SYS_DMA1_REGS   (R4030+0x0120) /* DMA ch0 base address */

Definition at line 77 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_DMA2_REGS

#define R4030_SYS_DMA2_REGS   (R4030+0x0140) /* DMA ch0 base address */

Definition at line 78 of file pica.h.

◆ R4030_SYS_DMA3_REGS

#define R4030_SYS_DMA3_REGS   (R4030+0x0160) /* DMA ch0 base address */

Definition at line 79 of file pica.h.

◆ R4030_SYS_DMA_INT_SRC

#define R4030_SYS_DMA_INT_SRC   (R4030+0x0200) /* DMA int source status reg */

Definition at line 80 of file pica.h.

◆ R4030_SYS_EXT_IMASK

#define R4030_SYS_EXT_IMASK   (R4030+0x00e8) /* External int enable mask */

Definition at line 85 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_ISA_VECTOR

#define R4030_SYS_ISA_VECTOR   (R4030+0x0238) /* ISA Interrupt vector */

Definition at line 84 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_IT_STAT

#define R4030_SYS_IT_STAT   (R4030+0x0230) /* Interval timer count */

Definition at line 83 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_IT_VALUE

#define R4030_SYS_IT_VALUE   (R4030+0x0228) /* Interval timer reload */

Definition at line 82 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_NVRAM_PROT

#define R4030_SYS_NVRAM_PROT   (R4030+0x0220) /* NV ram protect register */

Definition at line 81 of file pica.h.

◆ R4030_SYS_TL_BASE

#define R4030_SYS_TL_BASE   (R4030+0x0018) /* DMA transl. table base */

Definition at line 73 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_TL_IVALID

#define R4030_SYS_TL_IVALID   (R4030+0x0028) /* DMA transl. cache inval */

Definition at line 75 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_SYS_TL_LIMIT

#define R4030_SYS_TL_LIMIT   (R4030+0x0020) /* DMA transl. table limit */

Definition at line 74 of file pica.h.

Referenced by DEVICE_ACCESS().

◆ R4030_V_LOCAL_IO_BASE

#define R4030_V_LOCAL_IO_BASE   0xe0000000

Definition at line 64 of file pica.h.

◆ RELATIVE

#define RELATIVE

Definition at line 8 of file pica.h.


Generated on Fri Dec 7 2018 19:52:23 for GXemul by doxygen 1.8.13