Jump to content
Michael Steil

Official software uploaded: Commander X16 Emulator (Win/Mac/Linux)

Recommended Posts

Commander X16 Emulator (Win/Mac/Linux)


Precompiled emulators for Windows, Mac, and Linux.

This is the latest version. Older versions can be downloaded from the GitHub releases page.

(Note: To run on Mac use "Ctrl-click/Right-click > Open" instead of "Double-click" due to security protocols)


 

  • Like 1

Share this post


Link to post
Share on other sites

Question: Are there any plans to have maintenance releases of the emulator to adopt bugfixes and optimizations?

Totally unrelated to any pull requests I may have contributed to... 😉

  • Like 1

Share this post


Link to post
Share on other sites
On 5/17/2020 at 8:55 PM, StephenHorn said:

Question: Are there any plans to have maintenance releases of the emulator to adopt bugfixes and optimizations?

Maintenance releases? How about more regular releases? 🙂 I'll try that!

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

How can we make the emulator recognize lower case letters? I have run it on a couple different Win10 systems and the default seems to be uppercase and the shift just produces an alternate character, not lower or upper case letter. I'm sure this is something simple I just don't understand or are missing.

Thanks,

Share this post


Link to post
Share on other sites
12 minutes ago, vhovar said:

How can we make the emulator recognize lower case letters? I have run it on a couple different Win10 systems and the default seems to be uppercase and the shift just produces an alternate character, not lower or upper case letter. I'm sure this is something simple I just don't understand or are missing.

Thanks,

Ctrl+N

  • Like 1

Share this post


Link to post
Share on other sites
45 minutes ago, vhovar said:

How can we make the emulator recognize lower case letters? I have run it on a couple different Win10 systems and the default seems to be uppercase and the shift just produces an alternate character, not lower or upper case letter. I'm sure this is something simple I just don't understand or are missing.

Thanks,

 

36 minutes ago, SlithyMatt said:

Ctrl+N

Part of the reason behind this is because the X16 defaults to Unshifted PETSCII, like the Commodore 64. Unshifted PETSCII doesn't contain lower-case letters, but the console can swap to Shifted PETSCII, which does contain lower-case letters. The alternate characters you saw are also part of the PETSCII character set.

Share this post


Link to post
Share on other sites

Thanks for the info. Makes sense as I've looked a bit more at the Commodore 64 docs.

Share this post


Link to post
Share on other sites

It would be handy if the emulator had some indicators (bottom/ top bar or in title) for the current text and charset mode.

Being able to copy and paste in text without worry would be good, too. I had run into examples that I wanted to paste in to test or play with and it definitely made a mess of things. Since Copy and Paste are the most powerful developer tools ever, copying and pasting should work as well and as clear as possible in the emulator (and in every editor - especially letting people use their modern keyboards.).

This could also be fixed with more care with every example code block in the guides and wiki.

Alternatively - caps lock all the time. 🙂

Emulator Copypaste.png

Share this post


Link to post
Share on other sites
23 minutes ago, Starsickle said:

Being able to copy and paste in text without worry would be good, too.

Well, having an ASCII-based system would be good, too... but we don't. So, copy and paste mixed-case text is always going to be the opposite of what you want because PETSCII (my kingdom for CP437!). So, you can reverse your cases in your source file and copy and paste it in at any time. Just because you see graphical characters in place of uppercase doesn't mean the wrong codes are stored in your program. It will work as intended when switching to mixed-case mode, which should be part of your program to begin with.

Share this post


Link to post
Share on other sites

xForth follows the ANS Standard, which specifies standard words will be understood when written in upper case ASCII characters. What happens when they are the ASCII codes for lower case is an exercise for the reader ... some Forths are case sensitive, some are case insensitive, some treat words in all the same case as case insensitive but words in Mixed Case as case sensitive.

So the compliant approach I've taken is to leave it case sensitive, as eForth, and convert it to all upper case ASCII. So if coding in Upper/Graphics mode, don't shift characters and leave them in UPPER CASE. If coding in Upper/Lower mode, don't shift the characters and leave them in LOWER CASE.

And ^ appears as Up Arrow and _ appears as left arrow and \ appears as the British Pound currency symbol, as in ASCII 1963, but it all works without problems, because what the system cares about is whether the character codes in the dictionary and the character codes of the words you type match. It is not bothered by how they appear on the screen.

Just, when the Block system gets up and running and line commented code starts showing up, don't be startled by all the Pound symbols. That's not a bug.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please review our Terms of Use