Back

Graphics Memory Map

WIP
*... (normal)*... ("extend" mode)
*00... sprite list 0 (word[8]×1024)
*01...
*02...
*03...
*04...
*05...
*06...
*07...
*08... sprite list 1 (word[8]×1024)
*09...
*0A...
*0B...
*0C...
*0D...
*0E...
*0F...
*10... tilemap 0 (long×32×32) large tilemap 0 (long×64×32)
*11... tilemap 1 (long×32×32)
*12... tilemap 2 (long×32×32) large tilemap 1 (long×64×32)
*13... tilemap 3 (long×32×32)
*14... tilemap 3 alternate (long×32×32) large tilemap 2 (long×64×32)
*15... tilemap 4 alternate (long×32×32)
*16... large tilemap 3 (long×64×32)
*17...
*18... large tilemap 2 alternate (long×64×32)
*19...
*1A... large tilemap 2 alternate (long×64×32)
*1B...
*1C... text data (byte[2]×64×64)
*1D...
*1E... character font (long×8×256)
*1F...
*20... lineram latches / mappings (word×256×8)
*21... "pivot port"?
*22... lineram block 2 (word×256×4×2)
*23... lineram block 3 (word×256×4×2)
*24... lineram block 4 (word×256×4×2)
*25... lineram block 5 (word×256×4×2)
*26... lineram block 6 (word×256×4×2)
*27... lineram block 7 (word×256×4×2)
*28... lineram block 8 (word×256×4×2)
*29... lineram block 9 (word×256×4×2)
*2A... lineram block A (word×256×4×2)
*2B... lineram block B (word×256×4×2)
*2C... lineram block C (word×256×4×2)
*2D... lineram block D (word×256×4×2)
*2E... lineram block E (word×256×4×2)
*2F... lineram block F (word×256×4×2)
*30... pixel data (long×8×32×64)
*31...
*32...
*33...
*34...
*35...
*36...
*37...
*38...
*39...
*3A...
*3B...
*3C...
*3D...
*3E...
*3F...

Data Formats

Sprite List Entry

bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
word 0Tile Number Low
[tile & $FFFF]
word 1Y Zoom
[$100⋅(1−scale)]
X Zoom
[$100⋅(1−scale)]
word 2Add Scroll To Position
00
use both
01
use global
10
?
11
use neither
Set Scroll From Position
00
neither
01
set subglobal
10
set global
11
set both
X Position
[pixels]
word 3Command Mode
0
normal
1
command
unused?Y Position
[pixels]
word 4Block Position Control X
00
set as origin & reset axis
01
?
10
reset axis
11
increment axis
Block Position Control Y
(same as X)
Multi??
0
allow sett­ing block origin on next sprite
1
disallow
Palette Mode
0
normal
1
reuse from previous
Orientation
00
normal
01
horizontal flip
10
vertical flip
11
both flip
Palette
[(index>>4)−$1000]
word 5
(normal)
Tile Number High
[tile >> 16]
word 5
(command)
Set Screen Orientation
0
normal
1
flipped
?Set Sprites Bits-per-Pixel
00
4-bit
01
5-bit
11
6-bit
??Set Frame-buffer Mode
0
clear
1
preserve
Set Sprite-List Bank
[number]
word 6Next Index
0
normal
1
jump
Jump Destination
[index]
word 7
(unused)

Tilemap Tile

bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
word 0Orientation
00
normal
01
vertical flip
10
horizontal flip
11
both flip
Tile Number High
[tile >> 16]
Tile Bits-per-Pixel
00
4-bit
01
5-bit
11
6-bit
Blend Value SelectPalette
[index>>4]
word 1Tile Number Low
[tile & $FFFF]

Text Character

bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
word 0Vertical FlipPalette
[index>>4]
Horizontal FlipTile Number
[tile]

Line-ram Latch Entry

bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
word 0?Section Mapping Position?
[(address−$20000)/$1000]
??subsection 3 latchsubsection 2 latchsubsection 1 latchsubsection 0 latchsubsection 3 altsubsection 2 altsubsection 1 altsubsection 0 alt