Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Draw-a-pixel/Action-/draw-a-pixel.action
Normal file
19
Task/Draw-a-pixel/Action-/draw-a-pixel.action
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
PROC Main()
|
||||
BYTE
|
||||
CH=$02FC, ;Internal hardware value for last key pressed
|
||||
PALNTSC=$D014 ;To check if PAL or NTSC system is used
|
||||
|
||||
Graphics(8+16) ;Graphics 320x192 with 2 luminances
|
||||
IF PALNTSC=15 THEN
|
||||
SetColor(1,4,6) ;Red color for NTSC
|
||||
SetColor(2,4,15)
|
||||
ELSE
|
||||
SetColor(1,2,6) ;Red color for PAL
|
||||
SetColor(2,2,15)
|
||||
FI
|
||||
Color=1
|
||||
Plot(100,100)
|
||||
|
||||
DO UNTIL CH#$FF OD
|
||||
CH=$FF
|
||||
RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue