![]() |
Forum Index : Microcontroller and PC projects : MMBasic for Windows - alphas
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
Plasmamac![]() Guru ![]() Joined: 31/01/2019 Location: GermanyPosts: 587 |
@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: GermanyPosts: 1619 |
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 KingdomPosts: 10377 |
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: GermanyPosts: 1619 |
yes! I would say yes! (8 GB) 8 GB RAM too. The 2. has 16 GB RAM. 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 KingdomPosts: 10377 |
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: GermanyPosts: 1619 |
This version starts without problems. causality ≠ correlation ≠ coincidence |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10377 |
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: GermanyPosts: 1619 |
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: PolandPosts: 125 |
5.07.03a3 works on Win7-64 for me too. Michal |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10377 |
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 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: AustraliaPosts: 6297 |
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 KingdomPosts: 10377 |
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: AustraliaPosts: 6297 |
OK No problems. Sorry for the noise. VK7JH MMedit |
||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 490 |
matherp 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: AustraliaPosts: 1116 |
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: GermanyPosts: 587 |
Win 7 vmware ![]() Edited 2022-02-20 12:52 by Plasmamac Plasma |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
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 KingdomPosts: 10377 |
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 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: AustraliaPosts: 1116 |
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: AustraliaPosts: 1116 |
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! |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |