Added uppercase force logic back

git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@31 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
Daniel Loffgren 2015-09-17 07:27:36 +00:00
parent 11ff9bdac9
commit ee0a0ea896
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ char asciiCharFromA1Char(uint8_t c) {
}
uint8_t a1CharFromAsciiChar(char c) {
if (c >= 'a' && c <= 'z') {
c -= 0x20;
}
return (char)c | 0x80;
}