Glyphs are symbol-bitmaps.
Mini-glyphs are used to print characters in the status-line. To display a mini-glyp 0x023B can be used.
Under normal circumstances the glyph-pointer-syscalls are not used directly. But their description can help to understand the fxCG print-routines.
Usually a mini-glyph is represented by an array of 18 shorts.
Example:
.data.w h'0F80 ; *****
.data.w h'1FC0 ; *******
.data.w h'1EC0 ; **** **
.data.w h'1E00 ; ****
.data.w h'7FC0 ; *********
.data.w h'7FC0 ; *********
.data.w h'1E00 ; ****
.data.w h'1E00 ; ****
.data.w h'1E00 ; ****
.data.w h'1E00 ; ****
.data.w h'1E00 ; ****
.data.w h'7FC0 ; *********
.data.w h'7FC0 ; *********
.data.w 0 ;
.data.w 0 ;
.data.w 0 ;
.data.w 0 ;
.data.w 0 ;
A ususal glyph is represented by an array of 24 byte-triplets.
Example:
TripleGlyphs_41_:
.datab.b 3, 0
; ........................
.data.b 0, h'C0, 0 ;
......................
.data.b 0, h'C0, 0 ;
......................
.data.b 1, h'E0, 0 ;
....................
.data.b 1, h'E0, 0 ;
....................
.data.b 3, h'E0, 0 ;
...................
.data.b 3, h'F0, 0 ;
..................
.data.b 3, h'70, 0 ;
...................
.data.b 6, h'78, 0 ;
..................
.data.b 6, h'38, 0 ;
...................
.data.b 6, h'38, 0 ;
...................
.data.b h'C, h'3C, 0 ;
..................
.data.b h'C, h'1C, 0 ;
...................
.data.b h'1F, h'FE, 0 ; ............
.data.b h'1F, h'FE, 0 ; ............
.data.b h'18, h'E, 0 ;
...................
.data.b h'30, h'F, 0 ;
..................
.data.b h'30, 7, 0 ;
...................
.data.b h'78, h'F, h'80 ; ...............
.data.b h'78, h'F, h'80 ; ...............
.datab.b 3, 0
; ........................
.datab.b 3, 0
; ........................
.datab.b 3, 0
; ........................
.datab.b 3, 0
; ........................
The icons in the MCS- or SMEM-views (MAIN MENU/Memory/F1
or F2) are written by Bdisp_WriteGraphVRAM.
They are 0x12/0x18-fullcolor-bitmaps.
syscall 0x01E9 : void*GetMiniGlyphPtr_MB( unsigned
short mb_glyph_no, unsigned short*glyph_info );
Returns the pointer to a mini-glyph. glyph_info returns some
information, how to interpret the mini-glyph. mini-glyphs have no fixed
structure. Some glyphs represent two bitmaps.
syscall 0x01EA : void*GetMiniMiniGlyphPtr_MB(
unsigned short mb_glyph_no, unsigned short*glyph_info );
Returns the pointer to a mini-mini-glyph. glyph_info returns some
information, how to interpret the mini-glyph. mini-glyphs have no fixed
structure. Some glyphs represent two bitmaps.
syscall 0x01EB : void*GetBoldMiniMiniGlyphPtr_MB(
unsigned short mb_glyph_no, unsigned short*glyph_info );
Returns the pointer to a boldface mini-mini-glyph. glyph_info
returns some information, how to interpret the mini-glyph. mini-glyphs have no
fixed structure. Some glyphs represent two bitmaps.
syscall 0x0CEE : void*GetGlyphPtr( unsigned char
glyph_no );
Returns the glyph of a singlebyte-character.
syscall 0x0CEF : void*GetGlyphPtr_F9( unsigned char
glyph_no );
Returns the glyph of a F9-multibyte-character. At present this call
returns an empty glyph (independent of glyph_no).
syscall 0x0CF0 : void*GetGlyphPtr_E7( unsigned char
glyph_no );
Returns the glyph of a E7-multibyte-character.
syscall 0x0CF1 : void*GetGlyphPtr_E6( unsigned char
glyph_no );
Returns the glyph of a E6-multibyte-character.
syscall 0x0CF2 : void*GetGlyphPtr_E5( unsigned char
glyph_no );
Returns the glyph of a E5-multibyte-character.
syscall 0x0CF3 : void*GetGlyphPtr_7F( unsigned char
glyph_no );
Returns the glyph of a 7F-multibyte-character.
syscall 0x0CF4 : void*GetGlyphPtr_F7( unsigned char
glyph_no );
Returns the glyph of a F7-multibyte-character. At present this call
returns an empty glyph (independent of glyph_no).
syscall 0x0CF5 : void*GetMiniGlyphPtr( unsigned char
glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a singlebyte-character.
syscall 0x0CF6 : void*GetMiniGlyphPtr_7F( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a 7F-multibyte-character. At present this call
returns an empty glyph (independent of glyph_no).
syscall 0x0CF8 : void*GetMiniGlyphPtr_F7( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a F7-multibyte-character. At present this call
returns an empty glyph (independent of glyph_no).
syscall 0x0CF9 : void*GetMiniGlyphPtr_E5( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a E5-multibyte-character.
syscall 0x0CFA : void*GetMiniGlyphPtr_E6( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a E6-multibyte-character.
syscall 0x0CFB : void*GetMiniGlyphPtr_E7( unsigned
short mb_glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a E7-multibyte-character.
syscall 0x0CFC : void*GetMiniGlyphPtr_F9( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-glyph of a F9-multibyte-character. At present this call
returns an empty glyph (independent of glyph_no).
syscall 0x0CFD : void*GetMiniMiniGlyphPtr( unsigned
char glyph_no, unsigned short*glyph_info );
Returns the mini-mini-glyph of a singlebyte-character.
(29.04.2012 06:23:50)