I'm doing something wrong.
I've got a PET font, and a VIC-20 font, both 2K and apparently representing similar PETSCII sets.
I can load either one into the X16, like this:
cbm_k_setnam("chargen-font.bin");
cbm_k_setlfs(0,8,0);
cbm_k_load(2, 0x0f800);
So far, so good.
Now when I load them, lowercase is uppercase, and uppercase are those graphic chars.
I solve that by printing the control code to switch cases:
cbm_k_bsout(14); // to upper+lower case
HOWEVER, what that does is switch the X16 back to its built-in Commodore 64 PETSCII font. It does not get me the PET PETSCII (or the VIC-20 PETSCII if I use that binary instead).
I'm obviously doing something wrong in a simple way. Can someone tell me what that is?
Thanks!