How To

How to do accent marks in LowRes nx

3

412lop 2023-09-07 01:59

I need to know this for a note program


was8bit 2023-09-07 03:59 (Edited)

There are two different ways to access lowres text characters.... here is a demo code that shows both...

FOR I=32 TO 95
PRINT STR$(I)," "+CHR$(I)
WAIT 15
NEXT I
WAIT 90
CLS
FOR Y=0 TO 3
FOR X=0 TO 15
CELL X,Y,192+X+16*Y
NEXT X
NEXT Y

These are the only characters in lowres... however, if you goto the last character page and copy paste the character set into the last page, you can then edit some characters into what you need...

So, lets say you dont need these characters.... [\]^_

If you edit say [ to be say an upside down question mark, you edit the [ charter to look like an upside down question make, and then just enter [ in your text when you need the upside down question mark :)


SP4CEBAR 2023-09-09 20:57

You could look for the ASCII value on google (check if it's presented in Hex or Dec) and write:
ACCENT$ = CHR$( the value you found )


moechofe 2023-09-10 22:02

LRNX support only 64 text characters in theory and you can check them using the GFX Designer tool.
In the mean time, the total number of characters loaded in RAM is 256 (in theory also)
By default LRNX use characters from 192 to 255, but you can you change it using FONT.
So by creating your own text parser you'll be able to print at least 255 different characters, including accents or emojis.


Log in to reply.