Colour bars/Display: Difference between revisions
Content added Content deleted
(Tidy up task definition (most modern display hardware no longer uses palettes as such)) |
|||
Line 1: | Line 1: | ||
{{draft task}} |
{{draft task}} |
||
⚫ | |||
⚫ | |||
A typical colour bar sequence would be Black, Red, Green, Blue, Magenta, Cyan, Yellow, White |
|||
=== {{header|ZX Spectrum Basic}} === |
=== {{header|ZX Spectrum Basic}} === |
||
⚫ | |||
<lang basic> |
|||
⚫ | |||
20 FOR r=0 TO 20: REM There are 21 rows |
20 FOR r=0 TO 20: REM There are 21 rows |
||
30 FOR c=0 TO 7: REM We use the native colour sequence here |
30 FOR c=0 TO 7: REM We use the native colour sequence here |
||
Line 14: | Line 10: | ||
50 NEXT c |
50 NEXT c |
||
60 REM at this point the cursor has wrapped, so we don't need a newline |
60 REM at this point the cursor has wrapped, so we don't need a newline |
||
70 NEXT r |
70 NEXT r</lang> |
||
</lang> |
|||
[[Category:Test card]] |
[[Category:Test card]] |