Log In  


Hi,

Playing with custom fonts, I found that the \n escape sequence cannot be followed by an a in the string (probably an issue also with 0-9 and a-f). This doesn't occur in the default font mode (works as expected)...

poke(0x5600,8,8,8,0,0) -- setup 8x8 font

-- Char 97 'a'
poke(0x5600+(8* 97),
  12,108,99,3,48,54,198,192)

-- Works with "\n a"
?"\014 a\n a"

-- Missing character with "\na"
?"\014 a\na"

Possible bug: \na shouldn't be treated as an escape code for custom fonts (just \n).




[Please log in to post a comment]