Add GitHub Actions CI with automated build and test. Implement real terminal I/O with raw mode (enable_raw/disable_raw, proper INKEY$ polling via VMIN=0/VTIME=0, INPUT$ function). Add Sixel graphics engine with virtual framebuffer (SCREEN 1: 320x200, SCREEN 2: 640x200), Bresenham line drawing, midpoint circle, flood fill PAINT, DRAW mini-language parser, and Sixel encoder with RLE. Replace all graphics stubs with real implementations (PSET, LINE, CIRCLE, DRAW, PAINT, COLOR, SCREEN, POINT). Fix AND/OR/XOR operator precedence to be lower than relational operators. Add 13 classic test programs (39 total). Bump version to 0.5.0.
9 lines
231 B
QBasic
9 lines
231 B
QBasic
10 REM Temperature conversion table
|
|
20 PRINT " Celsius Fahrenheit"
|
|
30 PRINT " ------- ----------"
|
|
40 FOR C = -40 TO 100 STEP 20
|
|
50 F = C * 9 / 5 + 32
|
|
60 PRINT USING " ###.# ###.#"; C; F
|
|
70 NEXT C
|
|
80 PRINT "Temp table OK"
|