![]() |
Forum Index : Microcontroller and PC projects : Are there any Word Processors written in BASIC?
Author | Message | ||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Hello, I am wondering if there are any Word Processors (simple) written in BASIC for the pico / maximites! I think it would be kind of interesting to see things like WordStar or WordPerfect, since it is not as distracting as a modern computer where you quickly do all other things ![]() Greetings Daniel |
||||
atmega8![]() Guru ![]() Joined: 19/11/2013 Location: GermanyPosts: 724 |
Start here: https://github.com/Cube9999/vi |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
A code editor, rather than a Word Processor for the CMM2 in MMBasic by @Epsilon: https://github.com/epsilon537/xedit_cmm2 Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
cosmic frog Guru ![]() Joined: 09/02/2012 Location: United KingdomPosts: 302 |
Can't you just use the MMBASIC built in editor and save as - save "mytext.txt" Dave. |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Hi Dave, that is not possible! Because in German we have "ü ä ö and ß" so if I want to write in German I have to ü = ue ä=ae and so on.. This is not a good solution. But as far as I know there is no ü ä ö ß so I have to do my own font, right? I am still a beginner when it comes to basic. So any hint would be great. With Do input: a$=Inkey$ If a$="" Then GoTo input EndIf Print "You pressed ";a$ " - CHR$("Asc(a$)")" Loop (With Keyboard set to GERMAN) Key "ß" gives me "223" Key "ä" = "228" Key "Ä" = "196" Key "ü" = "252" Key "Ü" = "220" Key "ö" = "246" Key "Ö" = "214" Is this more a question for Peter to may (?) implement those chars? Because especially when it comes to word processing it is a MUST. At this point if Peter won't implement this I have to do my own font I guess. @ Tom I hoped for some less complex editors to start with ![]() EDIT: I think I am lost, because the Inkey program above only works if sent via TeraTerm. On the PS2 Keyboard the specified Keys are not recognized at all (äüöß). Hmpf... Greetings Daniel Edited 2023-02-23 02:33 by Amnesie |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
I don't think the "high number" characters can be used in the internal editor or in the Print command as they are used internally in the interpreter. You can use them using CHR$() and POKE them into strings. Peter will, of course, join in now to tell me that I'm wrong again. :) The internal editor isn't a word processor - there's no need for it to be and it would take up *far* too much space if it was. You can, of course, write your programs in an external word processor if you wish. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Hello Mick, this is an good idea, problem is that on German Keyboard layout the "inkey" is deaf to the following (physical) keys on the PS/2 Keyboard "äüöß" so I can't even read them in to process them after that. Greetings Daniel |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
I know that the PS/2 input can handle *some* high number codes, but I don't think it's all of them. Function and arrow keys all all high numbered codes, for example. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
So, just to be clear, if you have TeraTerm (not a VGA display) connected to the 'mite but type on the PS/2 keyboard then those keys produce nothing ? Note that depending on the current PicoMite font, characters above ASCII 127 may not print anything to the VGA display, and what they print to a terminal depends on the code-page the terminal is configured to use. Best wishes, Tom Edited 2023-02-23 03:04 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Hm, okay.. so there is really no possibility, not even a workaround since the physical PS/2 keys are not recognized at all (on the specified keys "üöäß"). |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
If that really is the case then that would be a bug and I imagine Peter can probably fix it. Does this produce nothing: Do a$=Inkey$ If a$ <> "" Then Print "You pressed "; ASC(a$) Loop Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
@ Tom thwill I have connected both: A real physical PS/2 keyboard AND beeing connected via TeraTerm. And on the above program (with inkey) the mentioned keys via Serial work but won't on the real Keyboard connected via PS/2. They are ignored (while other keys work just normal as expected). |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Tested it: correct, it produces nothing on the physical keys (üöäß) via PS/2. Other keys work just fine. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5090 |
Maybe option keyboard maps the german keyboard keys that have alternatives on the us keyboard only. The special characters are igmored. The pc keyboard driver will support all, since it is required in windows. Note that full language support in windows is larger than the pico's flash. Somewhere you have to make a cut... Edited 2023-02-23 04:12 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1593 |
@Daniel I found this: https://www.thebackshed.com/forum/ViewTopic.php?TID=13297 It might explain something. Regards Michael causality ≠ correlation ≠ coincidence |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
MMBasic is ASCII only. No umlaut, no acute accents, no pound sign. Anything you happen to get from teraterm is pure happenstance. The only thing you could do is use ON PS2 and interpret the scan codes. |
||||
Amnesie Guru ![]() Joined: 30/06/2020 Location: GermanyPosts: 675 |
Thank you Peter, at least this way I could read the scancode and interpret this with a custom font. ![]() Greetings Daniel |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |