spec changes for display

This commit is contained in:
minjaesong
2021-09-25 23:26:12 +09:00
parent ec8e9751c1
commit 79a0ffb4c3

View File

@@ -163,23 +163,10 @@ From the start of the memory space:
framebuffer scroll X framebuffer scroll X
2 bytes 2 bytes
framebuffer scroll Y framebuffer scroll Y
62 bytes 896 bytes
*Unused* horizontal scroll offset for scanlines
2154 bytes
2988 bytes unused
DMA Sprite Area - 18 bytes each, total of 166 sprites
1 byte
Sprite width
1 byte
Sprite height
12 bytes - signed fixed point
Affine transformation A,B,C,D,X,Y
1 byte
Attributes
0b 0000 00vp
(p: 0 for above-all, 1 for below-text, v: show/hide)
3 bytes
Pointer to raw pixmap data in Scratchpad Memory
2 bytes 2 bytes
Cursor position in: (y*80 + x) Cursor position in: (y*80 + x)
@@ -197,20 +184,39 @@ FI
(DRAFT) Optional Sprite Card (VRAM Bank 1 (256 kB)) (DRAFT) Optional Sprite Card (VRAM Bank 1 (256 kB))
250880 bytes 250880 bytes
Secondary framebuffer Secondary framebuffer
533 bytes: Sprite attribute table
(41 sprites total, of which 1 is GUI cursor) SPRITE FORMAT DRAFT 1
533 bytes: Sprite attribute table
(41 sprites total, of which 1 is GUI cursor)
12 bytes - signed fixed point
X-position
Y-position
Transform matrix A..D
1 bytes
0b 0000 00vp
(p: 0 for above-all, 1 for below-text, v: show/hide)
10496 bytes: Sprite table
256 bytes
16x16 texture for the sprite
235 bytes:
unused
SPRITE FORMAT DRAFT 2
DMA Sprite Area - 18 bytes each, total of ??? sprites
1 byte
Sprite width
1 byte
Sprite height
12 bytes - signed fixed point 12 bytes - signed fixed point
X-position Affine transformation A,B,C,D,X,Y
Y-position 1 byte
Transform matrix A..D Attributes
1 bytes
0b 0000 00vp 0b 0000 00vp
(p: 0 for above-all, 1 for below-text, v: show/hide) (p: 0 for above-all, 1 for below-text, v: show/hide)
10496 bytes: Sprite table 3 bytes
256 bytes Pointer to raw pixmap data in Scratchpad Memory
16x16 texture for the sprite
235 bytes:
unused
MMIO MMIO