Forcing capital letters

This commit is contained in:
unknown 2019-04-28 18:36:41 -07:00
parent d896014259
commit 9822aa07cd

View File

@ -272,6 +272,11 @@ int main(){
DEBUG_STEP = 1;
printf("\n");
} else {
//Convert lower case characters to upper case
if(key_hit >= 'a' && key_hit <= 'z'){
key_hit += 'A' - 'a';
}
memory[0xD010] = key_hit|0x80;
memory[0xD011] |= 0x80;
}