Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:34 10 Jul 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 : MMB4W random problem

Author Message
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 10:40am 10 Feb 2025
Copy link to clipboard 
Print this post

I found MMB4W as really easy tool for larger or smaller tasks. Good in making skeches for Picomites too.

But it has some weird problem.
Mostly I ue MMB4W in combination with notepad++. But some parts of code I also edit in MMB4W and then relod to notepad++ <--> etc..

But if in MM4W environment, F4,F5 was used to copy paste , you can certainly at some "random" point (bufer problem?) get garbage in some random place of code.

Suddenly in some row, symbols @@@@@@@@@@@@@ appear. You can delete them but if you tray type something, instead of proper symbols, it types @@@@
Also in some other place you suddenly notice destroyed line of code with some parts at the begining like it vas pasted over not in proper place and trucated too.

If I am not touching F4,F5 - all goes well. But if used, you never know vhen some parts will be destroyed and you must look through to find what exactly. And it is not funny sometimes  

Does anybody noticed that and can describe problem better than me?
Maybe Peter would take a look whats going on.
Indeed, we use MMB4W  
My MMBasic 'sand box'
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2603
Posted: 11:33am 10 Feb 2025
Copy link to clipboard 
Print this post

Yes, F4 and F5 have been doing some odd things. Thought it was me bumping the wrong keys.

When using F4.....F4 to cut some text a line elsewhere may also vanish, but not always. Have not found a pattern.

When using F5 to paste that text it may also be pasted elsewhere in the program. Once again can't see a pattern to it, other than that it is further down the program and may overwrite a whole line.
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 04:12pm 10 Feb 2025
Copy link to clipboard 
Print this post

@phil99

Today, I had like 5 hours session with MMB4W, and did not used F4,F5 just to see if problem will occour. And everything went just fine. But at price of diskomfort  

Yesterday had like 4-6 hours too, and used F4,F5 time to time and had like 3 "ruined code situations". No backup, so had to rethink complicated routine once again :D

So if you confirm same events , then it might be really related to F4,F5.
My MMBasic 'sand box'
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10226
Posted: 05:48pm 10 Feb 2025
Copy link to clipboard 
Print this post

What machine are you running on and what OS?
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2603
Posted: 08:47pm 10 Feb 2025
Copy link to clipboard 
Print this post

Win10 64bit on Celeron (J3455 quad core Apollo lake) mini PC.

An unrelated item that may be just me not finding it in the manual but the PIXEL() function returns 32 bits with colours reversed.
Transparency?, Blue, Green, Red
eg.
> cls RGB(Red)
> ? Hex$(Pixel(99,99))
FF0000FF
>

And command Pixel x,y,255 is red rather than blue.

Easy to adapt to once you know but affects portability of code.
Edited 2025-02-11 08:26 by phil99
 
electricat

Senior Member

Joined: 30/11/2020
Location: Lithuania
Posts: 299
Posted: 04:22am 11 Feb 2025
Copy link to clipboard 
Print this post

ThinkCentre mini PC -->M920x with discrete card Radeon RX560

Processor Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz   2.11 GHz
Installed RAM 8.00 GB (7.84 GB usable)
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 10 Pro
Version 22H2
OS build 19045.5371
Experience Windows Feature Experience Pack 1000.19060.1000.0


Also, if you will take a look to problem, it would be good to have in MMB4W code comenting out using /* */ like we have now on picomites.
My MMBasic 'sand box'
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025