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,7 +2,8 @@
; Oliver Schmidt, 2013-05-31
;
.export joy_libref
.export joy_libref, tgi_libref
.import _exit
joy_libref := _exit
tgi_libref := _exit

View File

@@ -26,13 +26,14 @@
.byte $74, $67, $69 ; "tgi"
.byte TGI_API_VERSION ; TGI API version number
.addr $0000 ; Library reference
xres: .word charsperline*2 ; Max X resolution
yres: .word 56 ; Max Y resolution
.byte 2 ; Number of drawing colors
.byte 1 ; Number of screens available
.byte 2 ; System font X size
.byte 2 ; System font Y size
.word $100 ; Aspect ratio
.word $0100 ; Aspect ratio
.byte 0 ; TGI driver flags
; Next comes the jump table. Currently all entries must be valid and may point