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

Announcements by the development team or forum staff.
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

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

Post by Michael Steil »








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)









 
User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

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

Post by StephenHorn »


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... ?

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Michael Steil
Posts: 94
Joined: Mon May 18, 2020 7:25 pm

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

Post by Michael Steil »



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!

vhovar
Posts: 2
Joined: Fri Jul 24, 2020 3:07 pm

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

Post by vhovar »


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,

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

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

Post by SlithyMatt »



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

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

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

Post by StephenHorn »



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.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
vhovar
Posts: 2
Joined: Fri Jul 24, 2020 3:07 pm

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

Post by vhovar »


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

Starsickle
Posts: 81
Joined: Mon Aug 31, 2020 12:00 am

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

Post by Starsickle »


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
SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

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

Post by SlithyMatt »



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.

BruceMcF
Posts: 1336
Joined: Fri Jul 03, 2020 4:27 am

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

Post by BruceMcF »


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.

Post Reply