Applesoft BASIC High Resolution Graphics

High Resolution (HiRes) graphics mode colors

0: black
1: green
2: magenta
3: white
4: black
5: red
6: blue
7: white

High Resolution (HiRes) graphics mode BASIC commands

HGR Set display to mixed/high resolution ("hires") graphics mode
HCOLOR= aexpr
HPLOT [TO] aexpr, aexpr [ TO aexpr, aexpr ]
     ______________________________
    |(0,0)                  (279,0)|
    |                              |
    |                              | GRAPHICS
    |                              |
    |(0,159)              (279,159)|
    |------------------------------|
    |HTAB  1                       | TEXT
    |VTAB 21                       | 4 rows
    |______________________________|


0 HGR : HOME

10 HCOLOR=5
20 HPLOT 0,0 TO 279,0
30 HPLOT TO 279,159
40 HPLOT TO 0,159
50 HPLOT TO 0,0

60 HCOLOR=2
70 HPLOT 0,0   TO 279,159
80 HCOLOR=1
90 HPLOT 0,159 TO 279,0

100 HOME : HTAB 1 : VTAB 21
120 PRINT "Press any key to continue"
130 GET ANS$

140 HOME : HTAB 1 : VTAB 21
160 PRINT "Thank you for playing"

210 HCOLOR=6
220 HPLOT 0,0 TO 279,0
230 HPLOT TO 279,159
240 HPLOT TO 0,159
250 HPLOT TO 0,0
260 HPLOT 0,0   TO 279,159
270 HPLOT 0,159 TO 279,0
categories: AppleII | AppleIIe | AppleSoftBASIC | retrocomputing |