Define a standard driver and mode for tgi graphics and use it in the sample
program. The standard driver and mode is the first one in the tgi_mode_table. git-svn-id: svn://svn.cc65.org/cc65/trunk@4153 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -68,6 +68,8 @@ S_OBJS = tgi-kernel.o \
|
||||
tgi_setpalette.o \
|
||||
tgi_setpixel.o \
|
||||
tgi_setviewpage.o \
|
||||
tgi_stddrv.o \
|
||||
tgi_stdmode.o \
|
||||
tgi_textsize.o \
|
||||
tgi_textstyle.o \
|
||||
tgi_unload.o
|
||||
|
||||
11
libsrc/tgi/tgi_stddrv.s
Normal file
11
libsrc/tgi/tgi_stddrv.s
Normal file
@@ -0,0 +1,11 @@
|
||||
;
|
||||
; Name of the standard tgi driver
|
||||
;
|
||||
; Ullrich von Bassewitz, 2009-09-11
|
||||
;
|
||||
; const char tgi_stddrv[];
|
||||
;
|
||||
|
||||
.import _tgi_mode_table
|
||||
.export _tgi_stddrv = _tgi_mode_table + 1
|
||||
|
||||
11
libsrc/tgi/tgi_stdmode.s
Normal file
11
libsrc/tgi/tgi_stdmode.s
Normal file
@@ -0,0 +1,11 @@
|
||||
;
|
||||
; Standard tgi mode
|
||||
;
|
||||
; Ullrich von Bassewitz, 2009-09-11
|
||||
;
|
||||
; const unsigned char tgi_stdmode[];
|
||||
;
|
||||
|
||||
.import _tgi_mode_table
|
||||
.export _tgi_stdmode = _tgi_mode_table
|
||||
|
||||
Reference in New Issue
Block a user