Page 1 of 1
tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 10:49 am
by funkheld
Hi good afternoon.
why is the "A" not 65 in tile , but 1="A"
where is the ascii table for tiles please?
Thanks.
greeting
Re: tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 11:00 am
by JimmyDansbo
Hi.
You can find the PETSCII table here:
https://cx16.dk/cx16-petscii/
VERA text tables can be found here:
https://cx16.dk/veratext/
Re: tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 11:14 am
by ahenry3068
What Jimmy left out is that your getting the "Screen Code" which in PETSCII is not equal to ASC all the time.
If you set ISO mode then "Screen Code" and ASC will be the same.
Re: tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 11:29 am
by funkheld
hello, thank you both.
With the basic from the c64 to the x16 you now have to think differently.
How do you set the ISO code for basic?
Thanks.
greeting
Re: tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 11:51 am
by ahenry3068
funkheld wrote: ↑Thu Apr 11, 2024 11:29 am
hello, thank you both.
With the basic from the c64 to the x16 you now have to think differently.
How do you set the ISO code for basic?
Thanks.
greeting
You set ISO mode by doing a PRINT CHR$(15);
In assembly you could also
LDA #15
JSR BSOUT
Re: tile 10,10,65 not "A"
Posted: Thu Apr 11, 2024 12:17 pm
by funkheld
hello thanks for info.
greeting.