Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:46 01 Sep 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 - alphas

     Page 4 of 12    
Author Message
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 587
Posted: 03:30pm 19 Feb 2022
Copy link to clipboard 
Print this post

@matherp

Can you answer my question from above please.
Will try a vmware win 7 tonight.
Gtx
Plasma
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1619
Posted: 03:51pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  Has anyone got the latest version running on W7? I'm not aware of using anything W10+ specific but all my machines are on W10/W11 so no way of testing the out-of-date non-supported W7

V5.07.03a3 crashes on two PCs. Both on which I've tried it.
Regards
Michael
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 03:54pm 19 Feb 2022
Copy link to clipboard 
Print this post

  Quote  V5.07.03a3 crashes on two PCs. Both on which I've tried it.


Both W7?

Do you have swap space properly set up? How much RAM?

More info

The big change in the latest release is sound. This uses a windows library winmm.dll. If you goggle this it is a known issue on W7 and there are solutions for getting it and where to put it
Edited 2022-02-20 02:08 by matherp
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1619
Posted: 04:35pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  Both W7?

yes!
  matherp said  Do you have swap space properly set up?

I would say yes! (8 GB)
  matherp said   How much RAM?

8 GB RAM too. The 2. has 16 GB RAM.
  matherp said  
More info

The big change in the latest release is sound. This uses a windows library winmm.dll. If you goggle this it is a known issue on W7 and there are solutions for getting it and where to put it

Hmm ...
At least Winmm.dll is present.


Edited 2022-02-20 02:37 by twofingers
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 04:47pm 19 Feb 2022
Copy link to clipboard 
Print this post

Please could you try the attached on W7 and report. I've patched out the sound support


MMBasic.zip
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1619
Posted: 04:53pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  Please could you try the attached on W7 and report. I've patched out the sound support

This version starts without problems.
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 04:56pm 19 Feb 2022
Copy link to clipboard 
Print this post

OK so it is definitely sound and winmm related. I'll leave you to see if you can get it working. The app is W32 so it is the 32 bit version of winmm.dll you need to be in the right place.
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1619
Posted: 05:38pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  OK so it is definitely sound and winmm related. I'll leave you to see if you can get it working. The app is W32 so it is the 32 bit version of winmm.dll you need to be in the right place.

I downloaded winmm.dll (32bit),winmmbase.dll and api-ms-win-core-libraryloader-l1-2-0.dll and I still get an error message. I think it's easier to move on with WIN10.

causality ≠ correlation ≠ coincidence
 
Michal
Senior Member

Joined: 02/02/2022
Location: Poland
Posts: 125
Posted: 06:45pm 19 Feb 2022
Copy link to clipboard 
Print this post

5.07.03a3 works on Win7-64 for me too.

Michal
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 06:56pm 19 Feb 2022
Copy link to clipboard 
Print this post

  Quote  5.07.03a3 works on Win7-64 for me too.

Yes but that is a hack version with sound disabled. For some reason W7 isn't working with winmm.dll which is used for sound handling. Nothing I can do about this. It needs one of you with W7 to try and find the solution. Based on a quick Google it is a common issue.

It works with sound on W10, W11, and Wine under Linux

V5.07.03pa4


MMBasic.zip


Should fix the focus issue when changing mode
EXECUTE command implemented

  Quote  Can you answer my question from above please.

I haven't implemented PLAY EFFECT yet (possibly not at all as it was always clunky. The best way to do this is to edit the effect into a MOD file and use PLAY MODSAMPLE much more efficient
Edited 2022-02-20 05:04 by matherp
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6297
Posted: 09:29pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  
V5.07.03pa4

Should fix the focus issue when changing mode

Save this and run it by dropping onto a desktop shortcut to MMB4W
mode 5
for n = 1 to 5
print "Hello"
next n

Assuming you don't have the default mode as MODE 5, the window will not have focus. (not on my W10)

Jim
VK7JH
MMedit
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 11:01pm 19 Feb 2022
Copy link to clipboard 
Print this post

  Quote  Save this and run it by dropping onto a desktop shortcut to MMB4W


No idea what you are talking about. The application is intended to be run and then operated as per normal MMbasic. Dropping code onto an icon is way outside anything I will ever be testing or trying to make work
Edited 2022-02-20 09:01 by matherp
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6297
Posted: 11:09pm 19 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Save this and run it by dropping onto a desktop shortcut to MMB4W


No idea what you are talking about. The application is intended to be run and then operated as per normal MMbasic. Dropping code onto an icon is way outside anything I will ever be testing or trying to make work

OK No problems.
Sorry for the noise.
VK7JH
MMedit
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 11:16pm 19 Feb 2022
Copy link to clipboard 
Print this post

matherp

  Quote  Yes but that is a hack version with sound disabled. For some reason, W7 isn't working with winmm.dll which is used for sound handling. Nothing I can do about this. It needs one of you with W7 to try and find the solution.


Have you considered using https://www.virtualbox.org/ and keeping a virtual Win 7 for testing purposes.  I keep several OSs on for different needs. I am not sure how to figure out what the issue is with the sound but if you could give me some guidance on what to try I will gladly look into it.
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 02:22am 20 Feb 2022
Copy link to clipboard 
Print this post

GUI Background colour issue.

MMB4W 5.07.03a4


Font 2,2
GUI displaybox #1,0,0,800,50,rgb(white),rgb(blue)
Ctrlval(#1) = "Hello world"

do
 pause 2000
 GUI bcolour rgb(green),#1
 pause 2000
 GUI bcolour rgb(red),#1
 pause 2000
loop


In the CMM2, when the background colour of the display box is changed, the entire box background is changed. In MMB4W, only the area of text changes colour.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 587
Posted: 02:45am 20 Feb 2022
Copy link to clipboard 
Print this post

Win 7 vmware

Edited 2022-02-20 12:52 by Plasmamac
Plasma
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 04:48am 20 Feb 2022
Copy link to clipboard 
Print this post

  panky said  GUI Background colour issue.

MMB4W 5.07.03a4


Font 6
GUI displaybox #1,0,0,800,60,rgb(white),rgb(blue)
Ctrlval(#1) = "1235.4321"

do
 pause 2000
 GUI bcolour rgb(green),#1
 ctrlval(#1) = "567.123"
 pause 2000
 GUI fcolour rgb(red),#1
 ctrlval(#1) = str$(123.567,2,2)
 pause 2000
 gui fcolour rgb(cyan),#1
 gui bcolour rgb(magenta),#1
 ctrlval(#1) = str$(333.696)
 pause 2000
 gui fcolour rgb(white),#1
 gui bcolour rgb(blue),#1
 ctrlval(#1) = str$(333.696)
 pause 2000
 
pause 2000
loop


In the CMM2, when the background colour of the display box is changed, the entire box background is changed. In MMB4W, only the area of text changes colour.


A further problem related is that entering a new value with CTRLVAL does not clear the previous value - see modified code above to show the problem. Both problems do not exist on the CMM2.

Doug.

"It's even worse than that, They're dead Jim!!!" ... with apologies to 'Star Treckin' the Universe'

It seems it's all related to changing the foreground and/or background colours after the initial assignment in the DISPLAYBOX command.

Changing just the background colour, decimal point still visible but the background colour only applies to the text, not the whole box.

Changing just the foreground will leave full background cover for the whole box but the decimal point disappears!

Changing both foreground and background colour, even back to the original, kills the decimal point, never to re-appear as well as having the background colour only under the text.

Same is true for other fonts as far as the colour is concerned but they obviously have no effect on the decimal point.

This is really crazy but I am pretty sure I have tested thoroughly.
D.
Edited 2022-02-20 16:09 by panky
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10377
Posted: 08:26am 20 Feb 2022
Copy link to clipboard 
Print this post

  Quote  A further problem related is that entering a new value with CTRLVAL does not clear the previous value - see modified code above to show the problem. Both problems do not exist on the CMM2.


Thanks for the reports - I'll look at it. The GUI code is the same as MM+ so the problem must be in one of the drawing routines

UPDATE: found it and fixed it - will be in the next release

  Quote  Have you considered using https://www.virtualbox.org/ and keeping a virtual Win 7 for testing purposes.  I


Sorry but I'm not spending time trying to diagnose issues with a 14-year old unsupported operating system. The issue is with winmm.dll which supports sound. I can provide a W7 version without sound support or one of you W7 aficionados will have to do the work to find how to get the correct version of winmm.dll in the correct place. Given that Wine supports sound perfectly it should be possible to get W7 working. You could try putting a W10 version of winmm.dll on W7 as a first step.
Edited 2022-02-20 19:01 by matherp
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 09:27am 20 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  
Thanks for the reports - I'll look at it. The GUI code is the same as MM+ so the problem must be in one of the drawing routines


UPDATE: found it and fixed it - will be in the next release



Thanks Peter, appreciated.
D.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1116
Posted: 09:28am 20 Feb 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  
Thanks for the reports - I'll look at it. The GUI code is the same as MM+ so the problem must be in one of the drawing routines


UPDATE: found it and fixed it - will be in the next release



Thanks Peter, appreciated.
D.
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
     Page 4 of 12    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025