The Leo Address Map is shown in Table 3-1. The registers are listed in SBus address order with the type of page listed at the start of each 4K page (size = 0x1000). Note that registers in the SBus clock Domain are not mixed in the same page with registers in the Leo Clock Domain. See Chapter 4, "Address Space Detail" for a complete description of the Address Map.
Table 3-1 Leo Address Map
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Address Used By Register Name Page --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
***** LeoCommand, State Set 0, Leo Clock Domain Page *****
0x020 0000 K Leo Domain Interrupt Enable 5-30
0x020 0004 K Clear Blt Done 5-40
0x020 0008 K Clear LeoDraw Semaphore 5-73
***** LeoCommand, State Set 0, Sbus Clock Domain Page *****
0x020 0800 K LC Chip Code 5-6
0x020 0804 K SBus Status 5-7
0x020 0808 K SBus Interrupt Enable 5-10
0x020 080C K First Read Timeout Counter 5-11
0x020 0810 K Rerun Counter 5-12
0x020 0820 K Clear Read DMA Done 5-14
0x020 0824 K Clear Write DMA Done 5-13
0x020 0828 K Clear Invalid PTE/PTD 5-15
0x020 082C K Clear DMA Error Acknowledge 5-15
0x020 0830 K Clear Slave Illegal Address 5-16
0x020 0834 K Clear Slave Rerun Timeout 5-16
0x020 0840 K Leo Reset 5-12
0x020 0844 K Clear Leo Reset 5-13
0x020 0848 K DMA Read Pause 5-14
***** LeoCommand, State Set 0, Leo Clock Domain Page *****
0x020 1000 K, W Leo System Status 5-28
0x020 1004 K, W (ctx) Frame Buffer Address Space (State Set 0) 5-31
0x020 1008 K, W (ctx) Stencil Mask (State Set 0) 5-33
0x020 100C K, W (ctx) Stencil Transparent Enable (State Set 0) 5-34
0x020 1010 K, W (ctx) Block Copy/Fill Direction/Size 5-34
0x020 1014 K, W (ctx) Block Copy Source Address 5-35
0x020 1018 K, W Block Copy/Fill Destination Address (does not 5-39
start copy or fill)
0x020 101C K, W Block Copy Destination Address (starts block 5-36
copy)
0x020 1020 K, W Block Fill Destination Address (starts block fill) 5-38
***** LeoDraw, State Set 0 Page *****
0x040 0000 K, W LD Control and Status Register (CSR) 6-8
0x040 0004 K, W (ctx) Current Window ID 6-39
0x040 0008 K, W (ctx) Window Write Mask 6-43
0x040 000C K, W (ctx) WID Clip Mask 6-40
0x040 0010 K, W (ctx) View Clip Minimum Bound 6-27
0x040 0014 K, W (ctx) View Clip Maximum Bound 6-27
0x040 0020 K, W (ctx) Stencil/Fill Foreground Color 6-20
0x040 0024 K, W (ctx) Stencil Background Color 6-22
0x040 0028 K, W (ctx) Copy/Scroll Source Address 6-23
0x040 002C K, W (ctx) Copy/Scroll/Fill Destination Address 6-25
0x040 0030 K, W (ctx) Copy/Scroll/Fill Size 6-24
0x040 0080 K, W (ctx) Window Background Color 6-38
0x040 0084 K, W (ctx) Image Write Mask 6-42
0x040 0088 K, W (ctx) LD Attribute 6-15
0x040 008C K, W (ctx) Constant Z Source 6-41
***** LeoDraw Global Page *****
0x040 1000 K Screen Start Address Left (Even) 6-33
0x040 1004 K Screen Start Address Right (Odd) 6-33
0x040 1008 K Screen Offset Left (Even) 6-34
0x040 100C K Screen Offset Right (Odd) 6-35
0x040 1010 K Video Counter 6-35
0x040 1020 K Frame Buffer Width 6-14
0x040 1024 K LD Interleave 6-9
0x040 1028 K LD Chip ID Code 6-13
0x040 102C K Set Stall LD Accelerator 6-11
0x040 1030 K Clear Stall LD Accelerator 6-12
0x040 1034 K Reset LD Accelerator Port 6-12
0x040 1038 K Clear LD Accelerator Port Reset 6-13
***** LeoCross, State Set 0 Page *****
0x060 0000 K LeoCross Address Pointer 7-9
0x060 0004 K LeoCross Control Registers 4-26
0x060 0008 K LeoCross Tables 4-21
0x060 0020 K RAMDAC Address Pointer 8-2
0x060 0024 K RAMDAC Color Table 4-19
0x060 0028 K RAMDAC Control Register 4-19
0x060 002C K RAMDAC Mode 8-3
***** LeoCross, State Set 0 Page *****
0x060 1010 W Cursor Address Pointer 7-10
0x060 1014 W Cursor Control and Status Register (CSR) 7-23
0x060 1018 W Shadow Cursor Coordinate Address 7-11
0x060 101C W Cursor Functions (accessible only through the 4-20
Cursor Address pointer)
***** LeoCross, State Set 0 Page *****
0x060 200C X Video Frame Counter (Vertical retrace count) 7-51
***** LeoCommand, State Set 1, Leo Clock Domain Page *****
0x120 0000 K LeoFloat Enable Mask 5-70
0x120 0004 K Trigger LeoFloat Interrupt/Run 5-71
0x120 0008 K Write Pick FIFO 5-27
***** LeoCommand, State Set 1, SBus Clock Domain Page *****
0x120 0800 K Table Walk Root Pointer 5-21
0x120 0804 K DMA Read PTE/PTD 5-23
0x120 0808 K DMA Write Buffer Start Address 5-25
0x120 080C K DMA Write Buffer Size 5-23
0x120 0810 K DMA Write Current Buffer Address 5-25
0x120 0814 K DMA Write Current Buffer Size, Start DMA Write 5-24
0x120 0818 K DMA Write Current Buffer Size, Do Not Start 5-24
DMA
0x120 081C K DMA Write Word Count 5-26
0x120 0820 K DMA Configuration 5-18
0x120 0824 K DMA Write On/Off 5-20
0x120 0828 K Reset Accelerator Port 5-72
0x120 082C K Clear Accelerator Port Reset 5-72
***** LeoCommand, State Set 1, Leo Clock Domain Page *****
0x120 1000 K, X (ctx) Vertex Buffer (192 Bytes) 5-51
0x120 10C0 K, X (ctx) Alternate Vertex Tupple 1 (12 Bytes) 5-52
0x120 10CC K, X (ctx) Alternate Vertex Tupple 2 (12 Bytes) 5-53
0x120 10D8 K, X (ctx) Alternate Vertex Tupple 3 (12 Bytes) 5-53
0x120 10E4 K, X (ctx) LeoFloat Dispatch 5-54
0x120 1100 K, X (ctx) Absolute Bucket Buffer (128 Bytes) 5-46
0x120 1200 X Relative Bucket Buffer (128 Bytes) 5-46
0x120 1300 X Launch Relative Bucket Buffer (128 Bytes) 5-47
0x120 1400 K, X Accelerator Port Status 5-76
0x120 1404 K, X Start Vertex Mode 5-73
0x120 1408 K, X Start Pass Through Mode 5-74
0x120 140C K, X Start Context Switch Mode 5-74
0x120 1410 K, X Exit Vertex, Pass Through, or Context Mode 5-75
0x120 1414 K, X (ctx) Frame Buffer Address Space (State Set 1) 5-31
0x120 1418 K, X (ctx) Stencil Mask (State Set 1) 5-33
0x120 141C K, X (ctx) Stencil Transparent Enable (State Set 1) 5-34
0x120 1420 K, X (ctx) Vertex Mode Control 5-42
0x120 1424 K, X (ctx) Pass Through Mode Control 5-59
0x120 1428 K, X (ctx) Pass Through Header 5-57
0x120 142C K, X (ctx) Auxiliary Vertex Header 5-66
0x120 1430 K, X (ctx) XGL Constant 5-67
0x120 1434 K, X (ctx) Subelement Pick ID 5-57
0x120 143C K, X (ctx) LC Output Format 5-61
0x120 1440 K, X (ctx) VCS[0] (VCS Opcode 0-3) 5-49
0x120 1444 K, X (ctx) VCS[1] (VCS Opcode 4-7) 5-49
0x120 1448 K, X (ctx) VCS[2] (VCS Opcode 8-11) 5-49
0x120 144C K, X (ctx) VCS[3] (VCS Opcode 12) 5-49
0x120 1450 K, X (ctx) Vertex Control Sequencer (VCS) Opcode Count 5-48
0x120 1454 K, X (ctx) Bucket Buffer State Machine 5-41
0x120 1458 K, X (ctx) Vertex Buffer State Machine 5-63
0x120 145C K, X (ctx) Vertex Buffer State Machine Control 1 5-68
0x120 1460 K, X (ctx) Vertex Buffer State Machine Control 2 5-68
0x120 1464 K, X (ctx) Vertex Buffer State Machine Control 3 5-69
0x120 1468 K, X (ctx) Vertex Buffer State Machine Control 4 5-70
0x120 146C K, X (ctx) Last Float Loaded 5-77
***** LeoCommand, State Set 1, Sbus Clock Domain Page *****
0x120 1800 K, X DMA Status 5-17
0x120 1804 K, X DMA Read On/Off 5-19
0x120 1808 K, X DMA Read Word Count, Start DMA Read 5-22
0x120 180C K, X (ctx) DMA Read Word Count, Do Not Start DMA 5-22
0x120 1810 K, X (ctx) DMA Read Virtual Address 5-21
0x120 1814 K, X Read Pick FIFO 5-26
***** LeoDraw, State Set 1 Page *****
0x140 0000 X LD Control and Status Register (CSR) 6-8
0x140 0004 X (ctx) Current Window ID 6-39
0x140 0008 X (ctx) Window Write Mask 6-43
0x140 000C X (ctx) WID Clip Mask 6-40
0x140 0010 X (ctx) View Clip Minimum Bound 6-27
0x140 0014 X (ctx) View Clip Maximum Bound 6-27
0x140 0018 X (ctx) Pick Minimum Bound 6-30
0x140 001C X (ctx) Pick Maximum Bound 6-30
0x140 0020 X (ctx) Stencil/Fill Foreground Color 6-20
0x140 0024 X (ctx) Stencil Background Color 6-22
0x140 0040 X Set LD Semaphore 6-10
0x140 0044 X Clear LD Semaphore 6-11
0x140 0048 X Clear Pick Hit 6-28
0x140 004C X (ctx) Fast Clear Data 6-37
0x140 0050 X (ctx) Constant Alpha Source 6-44
0x140 0080 X (ctx) Window Background Color 6-38
0x140 0084 X (ctx) Image Write Mask 6-42
0x140 0088 X (ctx) LD Attribute 6-15
0x140 008C X (ctx) Constant Z Source 6-41
0x140 00A0 X (ctx) Depth Cue Z-Front 6-45
0x140 00A4 X (ctx) Depth Cue Z-Back 6-46
0x140 00A8 X (ctx) Depth Cue Scale 6-46
0x140 00AC X (ctx) Depth Cue Z-Scale 6-47
0x140 00B0 X (ctx) Pick Front Bound 6-31
0x140 00B4 X (ctx) Pick Back Bound 6-32
0x140 00B8 X (ctx) Depth Cue Fade Color 6-47
0x140 00BC X (ctx) Force Color 6-44
0x140 00C0 X (ctx) Screen Door Column 1-0 6-36
0x140 00C4 X (ctx) Screen Door Column 3-2 6-36
0x140 00C8 X (ctx) Screen Door Column 5-4 6-36
0x140 00CC X (ctx) Screen Door Column 7-6 6-36
0x140 00D0 X (ctx) Screen Door Column 9-8 6-36
0x140 00D4 X (ctx) Screen Door Column 11-10 6-36
0x140 00D8 X (ctx) Screen Door Column 13-12 6-36
0x140 00DC X (ctx) Screen Door Column 15-14 6-36
0x140 00E0 X (ctx) Pick ID Register 0 6-29
0x140 00E4 X (ctx) Pick ID Register 1 6-29
0x140 00E8 X (ctx) Pick ID Register 2 6-29
0x140 00EC X (ctx) Pick ID Register 3 6-29
0x140 00F0 X (ctx) Pick ID Register 4 6-29
***** LeoCross, State Set 1 Page *****
0x160 0000 K LeoCross Address Pointer 7-9
0x160 0004 K LX Control Registers 4-26
0x160 0008 K LX Tables 4-21
0x160 0020 K RAMDAC Address Pointer 8-2
0x160 0024 K RAMDAC Color Table 4-19
0x160 0028 K RAMDAC Control Register 4-19
0x160 002C K RAMDAC Mode 8-3
***** LeoCross, State Set 1 Page *****
0x160 1010 W Cursor Address Pointer 7-10
0x160 1014 W Cursor Control and Status Register (CSR) 7-23
0x160 1018 W Shadow Cursor Coordinate Address 7-11
0x160 101C W Cursor Functions (accessible only through the 4-20
Cursor Address pointer)
***** LeoCross, State Set 1 Page *****
0x160 200C X Video Frame Counter (Vertical retrace count) 7-51
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------