Added library reference tgi_libref to TGI interface.

This commit is contained in:
Oliver Schmidt
2013-06-01 12:42:00 +02:00
parent ae409e4978
commit b0dd6c614f
21 changed files with 42 additions and 12 deletions

View File

@@ -2,8 +2,9 @@
; Oliver Schmidt, 2013-05-31
;
.export em_libref, joy_libref
.export em_libref, joy_libref, tgi_libref
.import _exit
em_libref := _exit
joy_libref := _exit
tgi_libref := _exit

View File

@@ -18,6 +18,7 @@
.byte $74, $67, $69 ; "tgi"
.byte TGI_API_VERSION ; TGI API version number
.addr $0000 ; Library reference
.word x_res ; X resolution
.word y_res ; Y resolution
.byte colors ; Number of drawing colors