Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:alphanumeric [2016/06/05 16:59]
ex_writer [Example: String Wrapping]
software:alphanumeric [2016/07/05 22:31] (current)
ex_writer [Standard System Font]
Line 5: Line 5:
 ===== Standard System Font ===== ===== Standard System Font =====
  
-The Bally Arcade system font uses a subset of the standard ASCII table along with a few extended options (see [[#ASCII representation]] below). The following example displays the full standard system font characters 20H–63H (including the leading space character) using a standard ​[[system routines:​screen handler#​strdis|STRDIS]] call:+The Bally Arcade system font uses a subset of the standard ASCII table along with a few extended options (see [[#ASCII representation]] below). The following example displays the full standard system font characters 20H–63H (including the leading space character) using a [[system routines:​screen handler#​strdis|STRDIS]] call:
  
 ---- ----
Line 74: Line 74:
  
 The standard system font, for example, has 5x7-pixel characters within an 8x8-pixel frame, leaving a three-pixel margin on the right and a one-pixel margin on the bottom. The font's base ASCII character is 20H.  The standard system font, for example, has 5x7-pixel characters within an 8x8-pixel frame, leaving a three-pixel margin on the right and a one-pixel margin on the bottom. The font's base ASCII character is 20H. 
 +
 +----
  
 === Example: Frame Size vs. Pattern Size === === Example: Frame Size vs. Pattern Size ===
Line 81: Line 83:
 In the illustration above, the alternating black and grey boxes outline the 8x8 character frames; the red pixels display eight character patterns in the system font. Note that most characters push against the upper and left borders of the frame in order to leave margins to the right and bottom. Some thinner characters like the numeral 1 have additional padding on either side. In the illustration above, the alternating black and grey boxes outline the 8x8 character frames; the red pixels display eight character patterns in the system font. Note that most characters push against the upper and left borders of the frame in order to leave margins to the right and bottom. Some thinner characters like the numeral 1 have additional padding on either side.
  
-A built-in small (3x5-pixel) character set is displayed using this facility. A word in the system [[glossary#dope vector|dope vector]] (FNTSML) points at a standard alternate font descriptor for this character set (located at $020D), as seen in the code snippet below:+A built-in small (3x5-pixel) character set is displayed using this facility. A word in the system [[:glossary#d|dope vector]] (FNTSML) points at a standard alternate font descriptor for this character set (located at $020D), as seen in the code snippet below:
  
 <code z80> <code z80>
Line 95: Line 97:
 </​code>​ </​code>​
  
-The small font includes numerals 0–9, a colon (:), and a bullet icon used in //​[[Gunfight]]//​. ​+The small font includes numerals 0–9, a colon (:), and a bullet icon used in //[[:Gunfight]]//​. ​ 
 + 
 +<wrap help>​Testing shows that base character starts at B0H instead of A0H?</​wrap>​ 
 +----
  
-<wrap alert>​Testing shows that base character starts at B0H instead of A0H?</​wrap>​ 
 === Example: Small vs. Standard Character Set === === Example: Small vs. Standard Character Set ===
  
 <WRAP group> <WRAP group>
 <WRAP half column>​{{:​strdis_small_large.png}}\\ The FNTSML alternate font displayed atop an equivalent string in the standard system font.</​WRAP>​ <WRAP half column>​{{:​strdis_small_large.png}}\\ The FNTSML alternate font displayed atop an equivalent string in the standard system font.</​WRAP>​
-<WRAP half column>​{{:​gunfight-play.png}}\\ //​[[Gunfight]]//​ uses FNTSML for its upper HUD, including the bullet icons.</​WRAP>​+<WRAP half column>​{{:​gunfight-play.png}}\\ //[[:Gunfight]]//​ uses FNTSML for its upper HUD, including the bullet icons.</​WRAP>​
 </​WRAP>​ </​WRAP>​
 +
 +----
  
 === Example: Character Option Mixing === === Example: Character Option Mixing ===
Line 110: Line 116:
  
 <WRAP group> <WRAP group>
-<WRAP half column>​{{:​text_sizes_1.png}}\\ A screen demonstrating all four Enlarge Factors and multiple foreground/​background combinations.</​WRAP>​+<WRAP half column>​{{:​text_sizes_1.png}}\\ A screen demonstrating all four Enlarge Factors ​options ​and multiple foreground/​background combinations.</​WRAP>​
 <WRAP half column>​{{:​text_sizes_2.png}}\\ The same example with the horizontal color boundary set near the first third of the screen.</​WRAP>​ <WRAP half column>​{{:​text_sizes_2.png}}\\ The same example with the horizontal color boundary set near the first third of the screen.</​WRAP>​
 </​WRAP>​ </​WRAP>​
  
 +----
 === Example: Character Mixing in Games === === Example: Character Mixing in Games ===
  
Line 150: Line 157:
 | 70 | IX | 7E | IX,D,C | | 70 | IX | 7E | IX,D,C |
 | 71 | IX,E | 7F | IX,E,D,C | | 71 | IX,E | 7F | IX,E,D,C |
 +
 +----
  
 === Example: Manipulating Control Codes === === Example: Manipulating Control Codes ===