Change char set, how does that work from 0-255 please?
Posted: Fri Mar 08, 2024 4:01 pm
Hi good afternoon.
I changed the char 0 - 3 :
@ a b c
But is it a coincidence?
These addresses, how do they work please:
cx16.vaddr_autoincr(1, VERA_CHARSET, 0, 1)
b=255
b=129
.....
.....
thanks
greeting
I changed the char 0 - 3 :
@ a b c
But is it a coincidence?
These addresses, how do they work please:
cx16.vaddr_autoincr(1, VERA_CHARSET, 0, 1)
b=255
b=129
.....
.....
Code: Select all
txt.color(3)
txt.plot(1,1)
txt.print("@ a b c ")
const uword VERA_CHARSET = $f000
sub makechar() {
ubyte b
cx16.vaddr_autoincr(1, VERA_CHARSET, 0, 1)
b=255
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=255
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=255
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=129
cx16.VERA_DATA0 = b
b=255
cx16.VERA_DATA0 = b
}
greeting