![]() |
Forum Index : Microcontroller and PC projects : MMBasic for Windows - alphas
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10382 |
you have 2 double precision random numbers that could be 0.00000000000001 different and will fail the test. If you want to use reals then you need to ensure the abs value of the difference is > 1.0 |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4068 |
If it works, it's chancy (at best). John |
||||
flip Senior Member ![]() Joined: 18/07/2016 Location: AustraliaPosts: 114 |
Latest version now works on my Atom Single CPU, Thanks matherp Thanks Dave for PM prompt. 'quit' command (like MMDOS) would be nice...haven't checked for alternative yet...if its there I'll find it...Can do lots of testing now. thanks again Phil |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10382 |
CTRL-SHIFT-X |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
This QUIT is a nice idea (for closing MMBASIC). Maybe even the option to start with hidden windows would be useful. Then QUIT after executing the application would close the hidden MMBASIC. E.g. 10 OPEN "fox2.txt" FOR OUTPUT AS #1 20 for i=0 to 4999 30 PRINT #1, "The quick brown fox" 40 PRINT #1, "jumps over the lazy dog "; i 50 next 60 PRINT #1 70 CLOSE #1 QUIT Michal Edited 2022-02-19 09:08 by Michal |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6299 |
If you start a program that changes MODE using RUN "test.bas", the mode will change and the graphics window gets focus. If you start the same BAS program by drag and drop onto the desktop shortcut or from MMEdit etc, (using the commandline parameter), the program runs but the graphics window does NOT get focus. Jim VK7JH MMedit |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
GUI PAGE throws an error Error : PAGE is not declared Doug. ... 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 |
how to play Backgroundmusic and effekts the same time. thx Plasma |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
The fact is, it works. Michal If it works, it's chancy (at best). John Oh heck yeah. Just reminded me of a costly mistake, doing just this. The system only had this data-type and it "worked".....until I boarded the plane for home. I had to go back. ![]() |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 8049 |
Hummmm.... The fact is, it DOESN'T work - reliably. It *might* work today, on this system, but that doesn't mean it will work next week on a different system loaded with the identical code. :( You shouldn't test for equality between anything other than integers or strings. less/greater than can and should be used with floats etc. Edited 2022-02-19 19:14 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Romeo![]() Newbie ![]() Joined: 11/02/2022 Location: FrancePosts: 24 |
Maybe even the option to start with hidden windows would be useful. Then QUIT after executing the application would close the hidden MMBASIC. Michal +1 on that, and even more maybe: possibility to reduct the window to the status bar, as other windows app. do, it maybe will reduce the CPU utilisation to 0 when the app is idle (actually still using from 5 to 10 percent of one CPU core when MMBais does nothing). But I think it is a Pixel Engine limitation, thus cannot be done. |
||||
Romeo![]() Newbie ![]() Joined: 11/02/2022 Location: FrancePosts: 24 |
PLAY MP3 PLAY PAUSE PLAY RESUME PLAY STOP PLAY VOLUME PLAY VOLUME does'nt works for me, setting VOLUME before playing an .mp3 , or after having paused then resumed it. |
||||
electricat![]() Senior Member ![]() Joined: 30/11/2020 Location: LithuaniaPosts: 299 |
Hi, 2022-02-17_084530_MMBasic last one that runs OK and 2022-02-19_035224_MMBasic for me just crashes on opening :( OS WIN7 Problem signature: Problem Event Name: BEX Application Name: MMBasic.exe Application Version: 0.0.0.0 Application Timestamp: 620fd8b1 Fault Module Name: StackHash_0a9e Fault Module Version: 0.0.0.0 Fault Module Timestamp: 00000000 Exception Offset: 2abefc64 Exception Code: c0000005 Exception Data: 00000008 My MMBasic 'sand box' |
||||
Romeo![]() Newbie ![]() Joined: 11/02/2022 Location: FrancePosts: 24 |
Problem signature: Fault Module Name: StackHash_0a9e The error is related to Data Execution Prevention. https://social.technet.microsoft.com/Forums/office/en-US/3932e3eb-c034-4eb7-aa06-4a0a8e6ea493/fault-module-namestackhash0a9e?forum=w7itprogeneral |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10382 |
As always more specific info needed as it works for me in both cases. Try PLAY VOLUME 25,25 to start with Edited 2022-02-19 22:07 by matherp |
||||
Romeo![]() Newbie ![]() Joined: 11/02/2022 Location: FrancePosts: 24 |
1000 apologises, it totally works. I only found a very synthetic document source about the PLAY command, wich did'nt specify there are 2 parameters. Sorry. |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
For me, on Windows7 (64), the graphics console does not start, the program freezes and the RAM occupancy increases by 1.5 GB Michal |
||||
Romeo![]() Newbie ![]() Joined: 11/02/2022 Location: FrancePosts: 24 |
Michal Did you checked the Error Events Manager? It may gives some usefull infos about the reason, maybe the same as @electricat, has he uses the same OS version. |
||||
Michal Senior Member ![]() Joined: 02/02/2022 Location: PolandPosts: 125 |
Nazwa aplikacji powodujacej blad: MMBasic.exe, wersja: 0.0.0.0, sygnatura czasowa: 0x620fd8b1 Nazwa modulu powodujacego blad: unknown, wersja: 0.0.0.0, sygnatura czasowa: 0x00000000 Kod wyjatku: 0xc0000005 Przesuniacie bledu: 0x2ae5fbc4 Identyfikator procesu powodujacego blad: 0x1760 Godzina uruchomienia aplikacji powodujacej blad: 0x01d82597fa8508a3 Sciezka aplikacji powodujacej blad: D:\MMBasic\MMBasic.exe Sciezka modulu powodujacego blad: unknown Michal |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10382 |
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 ![]() |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |