Added a 160x192x2 TGI (graphics) driver to the VIC-20 library.

The driver requires a special linker configuration: "vic20-tgi.cfg".
The VIC-20 computer needs at least 8K of expansion RAM!

"tgidemo.c" needed to be adjusted because the VIC-20's vertical (y) range is greater than its horizontal (x) range -- the opposite of most other platforms.  Also, the circle demo would jam on the VIC-20.
This commit is contained in:
Greg King
2020-07-08 05:55:30 -04:00
parent d1833cc441
commit 410e4502ee
11 changed files with 1253 additions and 23 deletions

View File

@@ -0,0 +1,8 @@
;
; Address of the static standard TGI driver
;
; const void tgi_static_stddrv[];
;
.import _vic20_hi_tgi
.export _tgi_static_stddrv := _vic20_hi_tgi