Merge pull request #2711 from mrdudz/plus4tgi

TGI Documentation and Comments fix
This commit is contained in:
Bob Andrews
2025-06-23 13:40:41 +02:00
committed by GitHub
8 changed files with 48 additions and 34 deletions

View File

@@ -1,6 +1,7 @@
;
; Target-specific black & white values for use by the target-shared TGI kernel
;
; NOTE: These are indices into the default palette
.include "tgi-kernel.inc"

View File

@@ -1,6 +1,7 @@
;
; Target-specific black & white values for use by the target-shared TGI kernel
;
; NOTE: These are indices into the default palette
.include "tgi-kernel.inc"

View File

@@ -1,6 +1,7 @@
;
; Target-specific black & white values for use by the target-shared TGI kernel
;
; NOTE: These are indices into the default palette
.include "tgi-kernel.inc"

View File

@@ -23,7 +23,7 @@ _tgi_error: .res 1 ; Last error code
_tgi_gmode: .res 1 ; Flag: Graphics mode active
_tgi_curx: .res 2 ; Current drawing cursor X
_tgi_cury: .res 2 ; Current drawing cursor Y
_tgi_color: .res 1 ; Current drawing color
_tgi_color: .res 1 ; Current drawing color (palette index)
_tgi_font: .res 1 ; Which font to use
_tgi_textdir: .res 1 ; Current text direction
_tgi_vectorfont: .res 2 ; Pointer to vector font

View File

@@ -2,7 +2,7 @@
; Ullrich von Bassewitz, 22.06.2002
;
; unsigned char tgi_getcolor (void);
; /* Return the current drawing color */
; /* Return the current drawing color (palette index) */
.include "tgi-kernel.inc"

View File

@@ -2,8 +2,8 @@
; 2002-06-21, Ullrich von Bassewitz
; 2020-06-04, Greg King
;
; void __fastcall__ tgi_setcolor (unsigned char color);
; /* Set the current drawing color */
; void __fastcall__ tgi_setcolor (unsigned char color_index);
; /* Set the current drawing color (palette index) */
.include "tgi-kernel.inc"