Page 1 of 5

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

Posted: Sun May 17, 2020 6:53 pm
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)









 

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

Posted: Sun May 17, 2020 6:55 pm
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... ?


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

Posted: Tue Jul 07, 2020 8:20 pm
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!


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

Posted: Fri Jul 24, 2020 4:23 pm
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,


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

Posted: Fri Jul 24, 2020 4:36 pm
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


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

Posted: Fri Jul 24, 2020 5:14 pm
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.


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

Posted: Fri Jul 24, 2020 7:19 pm
by vhovar

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


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

Posted: Tue Sep 01, 2020 12:57 pm
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

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

Posted: Tue Sep 01, 2020 1:31 pm
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.


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

Posted: Fri Sep 04, 2020 10:12 pm
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.