![]() |
Forum Index : Microcontroller and PC projects : Wrong characters from my keyboard under MMBasic for Windows.
Author | Message | ||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
I'm trying to run the MMBasic.exe for Windows extracted from 2022-04-22_V5.07.03b10 MMBasic Windows beta.zip. I'm using a keyboard from UNICOMP which replicates the original IBM type M keyboard. When I type the double quote, {"} key, the tilde {~} appears. When I type in the test line for i=1 to 100:print i;:next it works. When I type in the test line for i =1 to 100:print "Hi" what appears on the screen is for i=1 to 100: print ~Hi~ If I type in the test line for i=33 to 127:print chr$(i):next it works, and the chr$(34) {"} and the chr$(126) {~} appear where they should. What the heck!!!! Paul in NY Edited 2022-06-13 16:16 by Paul_L |
||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
The MMbasic.exe extracted from the zip download from Geoff's website works the way it should. It does not scramble the {'} and {~}. Paul in NY |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
Keyboard type setting in windows is wrong? Just an idea. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Paul_L Guru ![]() Joined: 03/03/2016 Location: United StatesPosts: 769 |
Mick ... I doubt the keyboard type is set wrong. Everything else works the way it should, including when running the MMBasic.exe extracted from Geoff's website just now. I think the problem is in the beta Windows build that I found in a thread here somewhere. Paul in NY Edited 2022-06-13 16:34 by Paul_L |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
It sounds to me like one of those odd things that Unicode does. MMBasic doesn't support Unicode but MMBasic for Windows is probably using the Windows keyboard system, and hence will support Unicode (because it won't know that that is what it's doing). Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
MMBasic is defaulting to UK keyboard??? VK7JH MMedit |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 1003 |
You need OPTION KEYBOARD US It defaults to UK, which from memory swaps ~ @ and " around if you actually have a US keyboard. Latest F4 Latest H7 FotS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |