IO Ports |
---|
Registers |
FIFO commands |
0x80500000 | FIFO |
---|---|
0x80500004 | FIFO control |
0x80500006 | Command macro bank select |
0x80500008 | Command macro start address |
0x8050000A | Command macro length |
0x8050000C | Interrupt mask |
0x8050000E | Interrupt clear |
0x80500010 | Interrupt status |
0x80500012 | Readback |
0x80500014 | H timing |
0x80500016 | V timing |
0x80500018 | SCT address |
0x8050001A | Sprite control |
0x8050001C | CD result 0 |
0x8050001E | CD result 1 |
0x80500020 | SP window clip Xleft |
0x80500022 | SP window clip Ytop |
0x80500024 | SP window clip Xright |
0x80500026 | SP window clip Ybottom |
0x80500028 | Misc. status |
0x8050002A | Error status |
0x8050002C | Display control |
0x8050002E | Status control |
0x80500030 | TextureEngine code control |
0x80500032 | TextureEngine address control |
0x8050003C | Raster hit |
0x80500040 | PixelEngine test |
0x80500042 | Memory test |
0x80500060 | Results[0] |
0x80500062 | Results[1] |
0x80500064 | Results[2] |
0x80500066 | Results[3] |
0x80500068 | Results[4] |
0x8050006A | Results[5] |
0x8050006C | Results[6] |
0x8050006E | Results[7] |
0x80500070 | Results[8] |
0x80500072 | Results[9] |
0x80500074 | Results[10] |
0x80500076 | Results[11] |
0x80500078 | Results[12] |
0x8050007A | Results[13] |
0x8050007C | Results[14] |
0x8050007E | Results[15] |
0x80510000 | Command macro/Texture buffer |
When written, pushes data to the FIFO. Can be written as a word or a halfword.
See the FIFO section for command info
When read, contains the FIFO slots remaining in hwords (mask out the top byte).
FIFO control
Bits | Description |
---|---|
? |
Command macro bank selection. Bottom 5 bits are valid.
Command macro start address
Command macro length
Aurora interrupts mask.
Bits | Description |
---|---|
1 | Frame sync |
2 | Overflow |
3 | Almost full |
4 | Command sync error |
5 | Almost empty |
6 | PixelEngine sync |
7 | Command macro done |
8 | Sprite done |
9 | TextureEngine sync |
10 | Readback done |
11 | VSync |
12 | HSync |
13 | VBlank |
14 | HBlank |
15 | Raster hit |
Aurora interrupt clearing. Same mask as 0x8050000C
Aurora interrupt status. Same mask as 0x80500010
Stores data to be pushed back out. All writes here stay here.
Horizontal timing
Top 9 bits are the start HBlank location, and the bottom 7 are the end of HBlank
Vertical timing
Top 9 bits are the start VBlank location, and the bottom 7 are the end of VBlank
Sprite control table (?) address information
Bits | Description |
---|---|
0 ~ 2 | Top 3 bits of SCT number |
3 ~ 7 | Sprite bank select |
8 ~ 10 | Top 3 bits of SCT word count |
Sprite controls. Write here initiates sprite drawing.
Bits | Description |
---|---|
0 ~ 7 | SCT word count |
8 ~ 15 | SCT offset |
CD result 0 (?)
Bits | Description |
---|---|
0 ~ 3 | Result mask 0 |
4 ~ 7 | Result mask 1 |
8 ~ 11 | Result mask 2 |
12 ~ 15 | Result mask 3 |
CD result 1 (?)
Bits | Description |
---|---|
0 ~ 3 | Result mask 0 |
4 ~ 7 | Result mask 1 |
8 ~ 11 | Result mask 2 |
12 ~ 15 | Result mask 3 |
X coordinate of the top-left corner of the clipping window. (9 bit)
Y coordinate of the top-left corner of the clipping window. (8 bit)
X coordinate of the bottom-right corner of the clipping window. (9 bit)
Y coordinate of the bottom-right corner of the clipping window. (8 bit)
Miscellaneous status bits.
Bits | Description |
---|---|
0 | No termination word |
3 | PixelEngine busy |
4 | TextureEngine busy |
5 | Sprite busy |
6 | Memory busy |
7 | Rotozoomer busy |
8 | Command macro pending |
9 | VSync |
10 | VBlank |
11 | Buffer clear busy |
12 | Command macro busy |
13 | Force ghost |
14 | Ghost disable |
15 | VDP select (?) |
Error status bits.
Bits | Description |
---|---|
0 ~ 3 | TextureEngine status |
4 ~ 7 | PixelEngine status |
8 ~ 11 | Sprite error code |
Display controls
Bits | Description |
---|---|
0 ~ 6 | Frame sync count |
7 | Hidden clear enable |
8 | Autoswap mode |
9 ~ 10 | Buffer clear mode |
11 | Display to texture copy |
13 ~ 15 | Select VD11 |
Status controls
Bits | Description |
---|---|
0 | Soft reset |
1 | Hard reset |
Bits | Description |
---|---|
0 ~ 3 | Chip revision |
8 ~ 9 | Texture buffer size |
10 | Texture buffer width |
TextureEngine code controls
Bits | Description |
---|---|
0 | TextureEngine hold (?) |
3 | TextureEngine flip register file |
TextureEngine address controls
More info needed!
More info needed!
More info needed!
More info needed!
Matrix operation results halfword 0
Matrix operation results halfword 1
Matrix operation results halfword 2
Matrix operation results halfword 3
Matrix operation results halfword 4
Matrix operation results halfword 5
Matrix operation results halfword 6
Matrix operation results halfword 7
Matrix operation results halfword 8
Matrix operation results halfword 9
Matrix operation results halfword 10
Matrix operation results halfword 11
Matrix operation results halfword 12
Matrix operation results halfword 13
Matrix operation results halfword 14
Matrix operation results halfword 15
Command macro and Texture buffer location
Due to the sheer size of this section, it is split onto a second page