Displaying text

ASM routine for displaying text with a 8x8 pixel font on the fix layer:

"ASCIISTART" should be the fix tile number corresponding to ASCII value 0. This depends on what tileset you are using. Usually, onboard fix tilesets have a full 8x8 font starting at tile #0.

The VRAM address is calculated from the desired text position: D1=#FIXMAP+(Y+2+((X+1)*32)), "FIXMAP" being #$7000.