|
13 | 13 | ; SCREEN MODE LIST: |
14 | 14 | ; mode 0 = reset back to default text mode |
15 | 15 | ; mode 1 = bitmap 320 x 240 monochrome |
16 | | -; mode 2 = bitmap 320 x 240 x 4c (TODO not yet implemented) |
17 | | -; mode 3 = bitmap 320 x 240 x 16c (TODO not yet implemented) |
| 16 | +; mode 2 = bitmap 320 x 240 x 4c (not yet implemented: just use 256c, there's enough vram for that) |
| 17 | +; mode 3 = bitmap 320 x 240 x 16c (not yet implemented: just use 256c, there's enough vram for that) |
18 | 18 | ; mode 4 = bitmap 320 x 240 x 256c (like SCREEN $80 but using this api instead of kernal) |
19 | 19 | ; mode 5 = bitmap 640 x 480 monochrome |
20 | 20 | ; mode 6 = bitmap 640 x 480 x 4c |
|
47 | 47 | height = 240 |
48 | 48 | bpp = 1 |
49 | 49 | } |
50 | | - ; TODO modes 2, 3 not yet implemented |
| 50 | + ; TODO modes 2, 3 |
51 | 51 | 4 -> { |
52 | 52 | ; lores 256c |
53 | 53 | cx16.VERA_DC_VIDEO = (cx16.VERA_DC_VIDEO & %11001111) | %00100000 ; enable only layer 1 |
@@ -110,7 +110,7 @@ gfx2 { |
110 | 110 | repeat 240/2/8 |
111 | 111 | cs_innerloop640() |
112 | 112 | } |
113 | | - ; TODO mode 2, 3 |
| 113 | + ; TODO modes 2, 3 |
114 | 114 | 4 -> { |
115 | 115 | ; lores 256c |
116 | 116 | repeat 240/2 |
@@ -241,8 +241,7 @@ _done |
241 | 241 | }} |
242 | 242 | } |
243 | 243 | 6 -> { |
244 | | - ; highres 4c |
245 | | - ; TODO also mostly usable for lores 4c? |
| 244 | + ; highres 4c ....also mostly usable for mode 2, lores 4c? |
246 | 245 | color &= 3 |
247 | 246 | ubyte[4] colorbits |
248 | 247 | ubyte ii |
@@ -601,7 +600,7 @@ _done |
601 | 600 | }} |
602 | 601 | } |
603 | 602 | } |
604 | | - ; TODO mode 2,3 |
| 603 | + ; TODO modes 2, 3 |
605 | 604 | 4 -> { |
606 | 605 | ; lores 256c |
607 | 606 | void addr_mul_24_for_lores_256c(y, x) ; 24 bits result is in r0 and r1L (highest byte) |
@@ -653,8 +652,7 @@ _done |
653 | 652 | } |
654 | 653 | } |
655 | 654 | 6 -> { |
656 | | - ; highres 4c |
657 | | - ; TODO also mostly usable for lores 4c? |
| 655 | + ; highres 4c ....also mostly usable for mode 2, lores 4c? |
658 | 656 | void addr_mul_24_for_highres_4c(y, x) ; 24 bits result is in r0 and r1L (highest byte) |
659 | 657 | cx16.r2L = lsb(x) & 3 ; xbits |
660 | 658 | ; color &= 3 |
@@ -708,7 +706,7 @@ _done |
708 | 706 | + |
709 | 707 | }} |
710 | 708 | } |
711 | | - ; TODO mode 2 and 3 |
| 709 | + ; TODO modes 2, 3 |
712 | 710 | 4 -> { |
713 | 711 | ; lores 256c |
714 | 712 | void addr_mul_24_for_lores_256c(y, x) ; 24 bits result is in r0 and r1L (highest byte) |
@@ -888,7 +886,7 @@ skip: |
888 | 886 | cx16.r0 = y*(320/8) + x/8 |
889 | 887 | cx16.vaddr(0, cx16.r0, 0, 1) |
890 | 888 | } |
891 | | - ; TODO modes 2,3 |
| 889 | + ; TODO modes 2, 3 |
892 | 890 | 4 -> { |
893 | 891 | ; lores 256c |
894 | 892 | void addr_mul_24_for_lores_256c(y, x) ; 24 bits result is in r0 and r1L (highest byte) |
|
0 commit comments