I have discovered that the sfont_len actually puts the pixel width in register 'b', instead of 'a' as the sysroutine specifies. Is this a brass thing? Or am I missing something?
Code: Select all
LD HL,Scolon*8 ; compute offset
B_CALL SFont_Len
I've recently discovered this routine, where I previously made my own map of character widths (don't ask). I am switching to the system routine to save space, but ran into this tricky issue. It always puts 8 in register 'a', it seems.