Character codes: Difference between revisions

Content deleted Content added
Puppydrum64 (talk | contribs)
m →‎{{header|68000 Assembly}}: Added explanation of "UnpackNibbles8" and "PrintChar"
Puppydrum64 (talk | contribs)
Line 65:
=={{header|68000 Assembly}}==
The printing routine only understands ASCII characters as codes anyway, so the "given a code produce its character" part is trivial.
The <code>PrintChar</code> routine is omitted for brevity. It converts the two Cursorcursor variables to a FIX layer address and outputs the character using the NEOGEO's FIX layer (the layer where text is displayed). Characters are stored in ROM and arranged in ASCII order.
<lang 68000devpac> JSR ResetCoords ;RESET TYPING CURSOR