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,6 +184,9 @@ 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
SPRITE FORMAT DRAFT 1
533 bytes: Sprite attribute table 533 bytes: Sprite attribute table
(41 sprites total, of which 1 is GUI cursor) (41 sprites total, of which 1 is GUI cursor)
12 bytes - signed fixed point 12 bytes - signed fixed point
@@ -212,6 +202,22 @@ FI
235 bytes: 235 bytes:
unused 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
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
MMIO MMIO
0..1 RO 0..1 RO