1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-23 23:17:45 +00:00

Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2011-05-02 10:38:48 +00:00
parent 97b950b8d8
commit 4aa00e84e1
48 changed files with 78 additions and 422 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ OBJS = _scrsize.o \
systime.o \
sysuname.o \
tgi_colors.o \
tgi_mode_table.o
tgi_stddrv.o
#--------------------------------------------------------------------------
# Drivers
-1
View File
@@ -7,7 +7,6 @@
.include "zeropage.inc"
.include "tgi-kernel.inc"
.include "tgi-mode.inc"
.include "tgi-error.inc"
-24
View File
@@ -1,24 +0,0 @@
;
; Ullrich von Bassewitz, 31.05.2002
;
; C64 mode table for tgi_map_mode
;
.export _tgi_mode_table
.include "tgi-mode.inc"
;----------------------------------------------------------------------------
; Mode table. Contains entries of mode and driver name, the driver name being
; null terminated. A mode with code zero terminates the list. The first entry
; defines also the default mode and driver for the system.
; BEWARE: The current implementation of tgi_map_mode does not work with tables
; larger that 255 bytes!
.rodata
_tgi_mode_table:
.byte TGI_MODE_320_200_2, "c64-hi.tgi", 0
.byte 0 ; End marker
+13
View File
@@ -0,0 +1,13 @@
;
; Name of the standard tgi driver
;
; Oliver Schmidt, 2011-05-02
;
; const char tgi_stddrv[];
;
.export _tgi_stddrv
.rodata
_tgi_stddrv: .asciiz "c64-hi.tgi"