Fix POINT coordinate mapping, remove orphaned palette array, expand tests

Apply coordinate mapping (VIEW/WINDOW) to POINT(x,y) function so it
returns correct pixel values when WINDOW is active. Remove unused
palette[] array from graphics.c (Sixel encoder uses palette_map[]
directly). Expand view_window.bas test to cover WINDOW SCREEN mode,
VIEW+WINDOW combination, and PMAP inverse mapping. Fix CI test count
in docs.
This commit is contained in:
Eremey Valetov
2026-03-10 22:38:42 -04:00
parent 0bacfcef6c
commit 000116b2a2
5 changed files with 53 additions and 18 deletions
+9
View File
@@ -4,4 +4,13 @@ PMAP(100,0)= 639
PMAP(100,1)= 0
PMAP(0,2)= 0
PMAP(199,3)= 0
SCR PMAP(0,1)= 0
SCR PMAP(100,1)= 199
SCR PMAP(50,0)= 319.5
SCR PMAP(0,3)= 0
SCR PMAP(199,3)= 100
VP PMAP(0,0)= 100
VP PMAP(10,0)= 300
VP PMAP(0,1)= 150
VP PMAP(10,1)= 50
VIEW/WINDOW/PALETTE OK