Lowercase char set when using CC65 compiler

You need an actual VIC.

Moderator: Moderators

Post Reply
mysecretgarden
Vic 20 Newbie
Posts: 16
Joined: Thu Sep 18, 2008 2:10 pm

Lowercase char set when using CC65 compiler

Post by mysecretgarden »

Hi! I've a strange behaviour when I run an application written with CC65 compiler. I've noticed that, when the application end, all the font in the screen, are in lowercase.

At the first moment, I think was a bug of my "application", but this happen also in this situation:

#include <stdio.h>
#include <stdlib.h>

int main (void)
{

return EXIT_SUCCESS;
}
Last edited by mysecretgarden on Thu Jun 20, 2013 5:52 am, edited 1 time in total.
User avatar
Mike
Herr VC
Posts: 4853
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: To lowecase

Post by Mike »

This is expected behaviour from the cc65 C runtime. It switches to the character set containing both lower- and uppercase letters, so there's a greater overlap in displayable characters between PETSCII and 7-bit ASCII.

Anyway, that kind of questions should go into the section 'Emulation and Cross Development' as the topic really doesn't concern a programming issue of VIC-20 code, rather the handling and behaviour of a cross-development tool is involved.
Post Reply