Thanks to all of you who advised me on my previous BASIC question. I have a new question for you regarding the interpretation of BASIC strings with lowercase characters on various Apple II configurations. The first thing I should point out is that I'm using an emulator (AppleWin at the moment) which can assume the identities of a standard Apple II and an Enhanced Apple IIe.
Here is the problem:
- Using A2Forever's little program to generate the ASCII range on-screen, I produced this output on the Enhanced IIe:
- Under standard Apple II emulation, it produces this output:
Okay, so am I understanding correctly that the lowercase set on the IIe is repeated as uppercase on the standard II?
- Now say I write a program with lowercase strings on the IIe.
- Listing and running this same program (programmed on the IIe) on the standard Apple II produces this:
While posting this, I think I've answered my own question. In the first two screens, the differences begin after the underscore character "_". I originally thought the standard Apple II had repeating sets of uppercase characters to cover the absence of lowercase, but this is not true. The character positions in the first and second screens tell me that punctuation characters on the standard II cover part of the lowercase set on the IIe. So the ASCII mapping isn't the same. Duh.
Besides telling me to only program strings in uppercase, is there a way to remap characters when moving them from system to system? Your advice is appreciated!