Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:07 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBasic for Windows - pre-alphas

     Page 6 of 17    
Author Message
andreas

Senior Member

Joined: 07/12/2020
Location: Germany
Posts: 226
Posted: 06:35pm 30 Jan 2022
Copy link to clipboard 
Print this post

  Quote  New version pa5


Bliss!!   It's getting more & more comfortable!! I'm very happy!

Programm persistence between runs would be a charm  
-andreas
 
KD5ZXG
Regular Member

Joined: 21/01/2022
Location: United States
Posts: 53
Posted: 07:06pm 30 Jan 2022
Copy link to clipboard 
Print this post

Also tried to copy and paste from notepad to MMBasic for W's full screen editor.
Gives an error on the bottom line CLIPBOARD IS EMPTY
Edited 2022-01-31 05:07 by KD5ZXG
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 07:18pm 30 Jan 2022
Copy link to clipboard 
Print this post

Already mentioned. You won't be able to paste from the clipboard because you're trying to paste onto a pixel-mapped window, not a text file device. I don't think that's ever going to happen.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
KD5ZXG
Regular Member

Joined: 21/01/2022
Location: United States
Posts: 53
Posted: 07:36pm 30 Jan 2022
Copy link to clipboard 
Print this post

Print "

comes out as Print ~

Is that a Windows UK keyboard thing?

Never encountered that with TeraTerm mitigating communications to Pico.
Nor with the DOS version.

OK, Shift + 2 gives the doublequote I've been trying to type.

Just tried Option Keyboard US.
Still does the same ~ thing when I type "
Edited 2022-01-31 05:48 by KD5ZXG
 
KD5ZXG
Regular Member

Joined: 21/01/2022
Location: United States
Posts: 53
Posted: 08:12pm 30 Jan 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  Already mentioned. You won't be able to paste from the clipboard because you're trying to paste onto a pixel-mapped window, not a text file device. I don't think that's ever going to happen.


The F5 key in the editor does not copy or paste text, only a pixel map?
That doesn't sound plausible, more likely an independent text clipboard
simply not yet linked to Windows.

Can't export text from MMBasic's mark and copy to notepad Ctrl+V either.
Wasn't really expecting, but had to try.

Not surprising, the DOS version shares the Windows clipboard problem.
Just not the keyboard problem.
Edited 2022-01-31 06:28 by KD5ZXG
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 390
Posted: 08:26pm 30 Jan 2022
Copy link to clipboard 
Print this post

  matherp said  New version pa5


MMBasic.zip
Now working:
keyboard repeat
on key (both variants - see PicoMite manual)


Keyboard repeat works TOO well! After typing a few lines, I get repeating colons printing. I can still type but the colons don't stop.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 08:53pm 30 Jan 2022
Copy link to clipboard 
Print this post

@KD5ZXG
See the post from RetroJoe 26 Jan.
Peter's first comment quoted a couple of posts later, followed by Peter's "That's the way it is. You are trying to pastes a text string into a pixel mapped graphics window. It ain't going to work. You can't have everything "

Unless the text string can be converted into a bitmapped image first, in which case it's like inserting a picture into a picture, the formats are incompatible, I'm afraid. The display for the windows version seems to be like the graphics mode of a LCD display to me.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 971
Posted: 10:19pm 30 Jan 2022
Copy link to clipboard 
Print this post

  toml_12953 said  
  matherp said  New version pa5


MMBasic.zip
Now working:
keyboard repeat
on key (both variants - see PicoMite manual)


Keyboard repeat works TOO well! After typing a few lines, I get repeating colons printing. I can still type but the colons don't stop.


PRINT MM.VER is good.
? MM.VER   will give repeating ???????. Looks like something affecting SHIFT characters
Latest F4 Latest H7 FotS
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2400
Posted: 03:18am 31 Jan 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  @KD5ZXG
See the post from RetroJoe 26 Jan.
Peter's first comment quoted a couple of posts later, followed by Peter's "That's the way it is. You are trying to pastes a text string into a pixel mapped graphics window. It ain't going to work. You can't have everything"


i really don't understand this. on Windows (and Linux, and every other O/S with a GUI), all windows are "pixel mapped graphics windows". even Window's own console is pixel-based, the character-based aspect of it is just a construct of the programming that manages that window.

consider GFXterm - where you can draw graphics over the text (part of the design brief). the 'text' layer is entirely faked using a graphic object. once text is placed upon it, that text exists purely as a collection of dots. however, the program code of GFXterm also maintains an array of ASCII characters so that it knows what character was placed in each location within the text window.

when you 'paste' or drop some text onto the OLC-MMbasic window, that text is made available to the program code that Peter has written. it is up to that program code to decide what to do with the text. it may, for instance, decide to pipe at a slow rate it into the routines that it usually uses to handle keyboard input (as GFXterm does when pasting into the MMbasic editor).

it has nothing to do with any special 'text' or 'graphic' property of the window being pasted into.


cheers,
rob   :-)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 07:20am 31 Jan 2022
Copy link to clipboard 
Print this post

I suspect it might have more to do with how PixelGameEngine works. It may not have anything in it to do that. I don't know, I've never used it or even looked at it.

I don't think you can compare how Windows does things with how MMBasic does things. Especially when the *single* developer for the MMBasic port has had to use an intermediary software layer and has had about 10 days to reach this stage. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
flip
Senior Member

Joined: 18/07/2016
Location: Australia
Posts: 114
Posted: 07:34am 31 Jan 2022
Copy link to clipboard 
Print this post

Hi all, Peter,
I don't know if its because I'm running a dog of a machine (Single CPU, ATOM CPU 1.33GHz Pendo tablet), but only the versions up to and including the 3rd published version...(NOW with full GUI and Mouse support) work at all.
All newer versions (up-to and including pa5) open initial black window and nothing happens after that

Older versions open two windows and run properly for me, except (I know they may be fixed...just mentioning if it helps):...
>  key mapping (must press @ to get ")
>  font size in windows - I hit a 'magic' (i.e. random) key press that persistently left the fonts massive (like a 10x5 character window whichever EXE I start - not a Windows thing as far as I can tell)

Phil
Edit for readability + PS love your work.
Edited 2022-01-31 17:40 by flip
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 08:58am 31 Jan 2022
Copy link to clipboard 
Print this post

pa6


MMBasic.zip

This should support UK, US, FR and DE (GR) keyboards
Please report any success and/or issues
I have an issue with the ^ character on FR and DE keyboards as it doesn't seem to produce any recognisable keycode. Until I fix this:
on the German keyboard you can use SHIFT-3
on the French keyboard you can use SHIFT-$
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 390
Posted: 09:05am 31 Jan 2022
Copy link to clipboard 
Print this post

  matherp said  pa6


MMBasic.zip

This should support UK, US, FR and DE (GR) keyboards
Please report any success and/or issues
I have an issue with the ^ character on FR and DE keyboards as it doesn't seem to produce any recognisable keycode. Until I fix this:
on the German keyboard you can use SHIFT-3
on the French keyboard you can use SHIFT-$


I still get repeating colons when I try to type one
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 09:09am 31 Jan 2022
Copy link to clipboard 
Print this post

I wonder if the FR and DE "^" key produces multiple code sequences?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 390
Posted: 09:13am 31 Jan 2022
Copy link to clipboard 
Print this post

  toml_12953 said  
  matherp said  pa6


MMBasic.zip

This should support UK, US, FR and DE (GR) keyboards
Please report any success and/or issues
I have an issue with the ^ character on FR and DE keyboards as it doesn't seem to produce any recognisable keycode. Until I fix this:
on the German keyboard you can use SHIFT-3
on the French keyboard you can use SHIFT-$


I still get repeating colons when I try to type one


Here's a curious thing: If I press Ctrl-C while the colons are printing, I get a > prompt with no repeating characters until I start typing again. It's as if there's a program running that's making them print.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 971
Posted: 09:45am 31 Jan 2022
Copy link to clipboard 
Print this post

English(Australian) US Keyboard
No issue with repeating keys now.
The following three characters seem to be transposed.

~ gives @
@ gives "
" gives ~
Latest F4 Latest H7 FotS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 09:57am 31 Jan 2022
Copy link to clipboard 
Print this post

  Quote  Here's a curious thing: If I press Ctrl-C while the colons are printing, I get a > prompt with no repeating characters until I start typing again. It's as if there's a program running that's making them print.


Thanks, I can replicate but no idea yet why it happens. Have you seen it on any character other than :?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 10:04am 31 Jan 2022
Copy link to clipboard 
Print this post

  Quote  English(Australian) US Keyboard
No issue with repeating keys now.
The following three characters seem to be transposed.

~ gives @
@ gives "
" gives ~


Have you reset OPTION KEYBOARD ? loading the firmware would have reset it to UK
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1527
Posted: 10:15am 31 Jan 2022
Copy link to clipboard 
Print this post

[Feedback for PA6]
Hi Peter,

the german layout works nearly perfekt.
I am glad that you understood and implemented everything so well.
THANKS a lot!

But

AltGr+85 should be ASCII 126 = ~
93 should be (suggestion: ^39 = ')
Shift+93 should be ASCII 96 = `

90,94,88 are german Umlauts and should return nothing to keep it clean (IMHO).
  Quote  I have an issue with the ^ character on FR and DE keyboards as it doesn't seem to produce any recognisable keycode. Until I fix this:
on the German keyboard you can use SHIFT-3

The circumflex is a special character and regularly waits for a second keystroke.
AltGr+92 returns only one circumflex. Should be okay!

The repeat for BACKSPACE is not working yet.

Best regards
Michael
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 10:15am 31 Jan 2022
Copy link to clipboard 
Print this post

  Quote  Here's a curious thing: If I press Ctrl-C while the colons are printing, I get a > prompt with no repeating characters until I start typing again. It's as if there's a program running that's making them print.


OK found it. It is caused by releasing the shift key before the colon. I'll clear the autorepeat when shift is released
 
     Page 6 of 17    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025