Added TGI mode tables for Atmos and Lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@4997 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
977c64ce01
commit
f9b25bad48
5 changed files with 54 additions and 3 deletions
|
@ -42,7 +42,6 @@
|
|||
TGI_MODE_640_480_2 ; 640x480, 2 colors (b/w)
|
||||
TGI_MODE_280_192_8 ; 280x192, 8 colors
|
||||
TGI_MODE_40_48_16 ; 40x48, 16 colors
|
||||
|
||||
TGI_MODE_320_192_2
|
||||
TGI_MODE_160_192_4
|
||||
TGI_MODE_160_192_2
|
||||
|
@ -51,13 +50,15 @@
|
|||
TGI_MODE_80_48_4
|
||||
TGI_MODE_80_48_2
|
||||
TGI_MODE_40_24_4
|
||||
TGI_MODE_80_192_16b ; 80x192, 16 shades of the same color
|
||||
TGI_MODE_80_192_16b ; 80x192, 16 shades of the same color
|
||||
TGI_MODE_80_192_9
|
||||
TGI_MODE_80_192_16h ; 80x192, 16 colors with the same brightness
|
||||
TGI_MODE_80_192_16h ; 80x192, 16 colors with the same brightness
|
||||
TGI_MODE_320_192_2_2p
|
||||
TGI_MODE_80_192_16b_2p
|
||||
TGI_MODE_160_192_4_2p
|
||||
TGI_MODE_80_192_9_2p
|
||||
TGI_MODE_160_102_16 ; 160x102, 16 colors
|
||||
TGI_MODE_240_200_2 ; 240x200, 2 colors (b/w)
|
||||
.endenum
|
||||
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@ OBJS = _scrsize.o \
|
|||
systime.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_mode_table.o\
|
||||
wherex.o \
|
||||
wherey.o \
|
||||
write.o
|
||||
|
|
24
libsrc/atmos/tgi_mode_table.s
Normal file
24
libsrc/atmos/tgi_mode_table.s
Normal file
|
@ -0,0 +1,24 @@
|
|||
;
|
||||
; Ullrich von Bassewitz, 31.05.2002
|
||||
;
|
||||
; Atmos 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_240_200_2, "atmos-240-200-2.tgi", 0
|
||||
.byte 0 ; End marker
|
||||
|
||||
|
|
@ -67,6 +67,7 @@ OBJS = bllhdr.o \
|
|||
read.o \
|
||||
sysuname.o \
|
||||
tgi_colors.o \
|
||||
tgi_mode_table.o\
|
||||
toascii.o \
|
||||
uploader.o
|
||||
|
||||
|
|
24
libsrc/lynx/tgi_mode_table.s
Normal file
24
libsrc/lynx/tgi_mode_table.s
Normal file
|
@ -0,0 +1,24 @@
|
|||
;
|
||||
; Ullrich von Bassewitz, 31.05.2002
|
||||
;
|
||||
; Lynx 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_160_102_16, "lynx-160-102-16.tgi", 0
|
||||
.byte 0 ; End marker
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue