Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ref:xbin [2018/02/04 00:46] – Add XBIN screen shot and links to XBimage demo pack digital man | ref:xbin [2018/02/05 16:53] – [Character Height] A little EGA/VGA clarity digital man | ||
---|---|---|---|
Line 7: | Line 7: | ||
- One or two font (character set) definitions | - One or two font (character set) definitions | ||
- | {{: | + | ===== Example ===== |
+ | ==== CT-XBIN.XB ==== | ||
+ | {{: | ||
+ | ==== The same file displayed without embedded font or palette data ==== | ||
+ | {{: | ||
===== Fonts ===== | ===== Fonts ===== | ||
Line 14: | Line 18: | ||
When one or more fonts are specified in the file, the file becomes tied to a specific //character height// (or what they call " | When one or more fonts are specified in the file, the file becomes tied to a specific //character height// (or what they call " | ||
- | For example, in the typical 80x25 video mode, an 8x16 character (font) is used. While in 80x43 video mode, an 8x8 character is used. So a character height of 16 pixels is most common | + | For example, in the typical 80x25 VGA video mode, an 8x16 character (font) is used. While in the 80x43 EGA/ |
There is no provision in the XBin file format for a single file to apply to multiple character heights (video modes). | There is no provision in the XBin file format for a single file to apply to multiple character heights (video modes). | ||
Line 103: | Line 107: | ||
In the extended Xbin definition you have from 0 (none) to 4 (the maximum) custom font definitions included in the file. Each font definition' | In the extended Xbin definition you have from 0 (none) to 4 (the maximum) custom font definitions included in the file. Each font definition' | ||
- | To determine the total number of font definitions included in the file (following the optional //Palette// and preceding any //Image Data//), you must count number of set bits from the //Flags// field from the set of bit positions: 1, 4, 5 and 6. If all 4 of these Flags are set, then there are 4 font definitions included in the file. If none of them are set, there are no font definitions included in the file. | + | To determine the total number of font definitions included in the file (following the optional //Palette// and preceding any //Image Data//), you must count the number of set bits from the //Flags// field from the set of bit positions: 1, 4, 5 and 6. If all 4 of these Flags are set, then there are 4 font definitions included in the file. If none of them are set, there are no font definitions included in the file. |
== Font Priority == | == Font Priority == | ||
Line 122: | Line 126: | ||
* [[: | * [[: | ||
- | {{tag> | + | {{tag> |