tile 10,10,65 not "A"

All aspects of programming on the Commander X16.
Post Reply
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

tile 10,10,65 not "A"

Post 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
User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

Re: tile 10,10,65 not "A"

Post 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/
Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: tile 10,10,65 not "A"

Post 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.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: tile 10,10,65 not "A"

Post 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
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: tile 10,10,65 not "A"

Post 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
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: tile 10,10,65 not "A"

Post by funkheld »

hello thanks for info.

greeting.
Post Reply