1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-11 16:07:04 +00:00
cc65/asminc/tgi-mode.inc

66 lines
3.6 KiB
PHP
Raw Normal View History

;*****************************************************************************/
;* */
;* tgi-mode.inc */
;* */
;* TGI mode definitions */
;* */
;* */
;* */
;* (C) 2002-2003 Ullrich von Bassewitz */
;* R<EFBFBD>merstra<EFBFBD>e 52 */
;* D-70794 Filderstadt */
;* EMail: uz@cc65.org */
;* */
;* */
;* This software is provided 'as-is', without any expressed or implied */
;* warranty. In no event will the authors be held liable for any damages */
;* arising from the use of this software. */
;* */
;* Permission is granted to anyone to use this software for any purpose, */
;* including commercial applications, and to alter it and redistribute it */
;* freely, subject to the following restrictions: */
;* */
;* 1. The origin of this software must not be misrepresented; you must not */
;* claim that you wrote the original software. If you use this software */
;* in a product, an acknowledgment in the product documentation would be */
;* appreciated but is not required. */
;* 2. Altered source versions must be plainly marked as such, and must not */
;* be misrepresented as being the original software. */
;* 3. This notice may not be removed or altered from any source */
;* distribution. */
;* */
;*****************************************************************************/
; Graphics modes. Zero may not be used as a mode number.
.enum
TGI_MODE_INVALID
TGI_MODE_320_200_2 ; 320x200, 2 colors (b/w)
TGI_MODE_160_200_4 ; 160x200, 4 colors
TGI_MODE_640_200_2 ; 640x200, 2 colors (b/w)
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
TGI_MODE_160_96_4
TGI_MODE_160_96_2
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_9
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