![]() |
Forum Index : Microcontroller and PC projects : CMM2: V5.05.04 beta
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
It was a mechanism of playing TTS over the top of a MOD file and due to my poor proof reading didn't make the manual. PLAY TTS outputs through the audio jack. It uses the SAM TTS code and results are "interesting" Bugs that are in 5.05.03 in the main thread. New bugs here Edited 2020-07-03 20:18 by matherp |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Great, I must give it a try. You just mean TTS don't you, not PLAY TTS ... or is there a mistake in the manual? OK ... I apologise in advance for not back-checking any "new" bugs ![]() Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Hi Peter, I reported these issues before but perhaps they became lost in the scrum. I think they probably started when I persuaded you added support to allow the 'cmdline' argument to RUN to be a string variable/expression. If so then I put my hand up, "Mea culpa!" Am I correct in thinking that the addition of the EXECUTE command makes my earlier request superflous hopefully meaning you can just back out the offending change? > Colour Maximite 2 MMBasic Version 5.05.04b3a Copyright 2011-2020 Geoff Graham Copyright 2016-2020 Peter Mather > list "test.bas" Print Mm.CmdLine$ > run "test.bas", "foo" foo > run "test.bas", "foo bar" foo bar > run "test.bas", "foo" "bar" Error: Expression syntax > *test "foo" foo > *test "foo bar" Error: No closing quote > *test "foo" "bar" Error: No closing quote Issues shown: 1. If the 'cmdline' contains quotes then those quotes should be passed verbatim to MM.CMDLINE$. The manual specifically states: 'cmdline' is not processed by MMBasic so it can contain numbers, commas, quoted strings, etc. 2. "foo" "bar" should be a valid 'cmdline' not an "Expression syntax" error. 3. There should be no "No closing quote" error for the examples using *. Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Yes: I'll back it out at some stage before 5.05.04 is properly released |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Version 5.05.04b3b http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip Breaking change NUNCHUK command replaced by WII NUNCHUK otherwise syntax the same Bugs fixed Removed the faulty ability to use the RUN command with a string variable to be passed to MM.CMDLINE$ - use EXECUTE to achieve the same result Functional changes Support for FR keyboard - thanks to darthvader Implementation of CSUBs completed. Header file included in the download including a wide selection of firmware routines that can be called from a CFunction Improved error reporting of IF statements Edited 2020-07-06 23:36 by matherp |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thanks Peter, Unfortunately there are still problems using the * command with quoted strings in the cmdline: > list "test.bas" Print Mm.CmdLine$ > run "test", foo foo > run "test", "foo" "foo" > run "test", "foo bar" "foo bar" > run "test", "foo" "bar" "foo" "bar" > *test foo foo > *test "foo" "foo" > *test "foo bar" Error: No closing quote > *test "foo" "bar" Error: No closing quote Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Please download again and make sure the executable is V5.05.04b1c. Either you somehow got an old version or I zipped the wrong one |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Looks like it was the former, I seemed to have download b1b. Anyway it works now, thank you, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Actually it was very useful as I found a really obscure bug. I have a directory called "test" but not a file "test.bas". When I tried to EDIT "test" I got an error "File not found" instead of it creating the new file - WTF?. This was because the check for existence found the directory and returned OK but when I tried to open it it failed so I've now been through the entire system and now added a check for the return being a directory whenever I test for a file existing. |
||||
Andrew_G Guru ![]() Joined: 18/10/2016 Location: AustraliaPosts: 868 |
Hello Peter, Could you possibly check that the link and zip are as you intend? It gives me CMM2V5.05.05b3d.bin but the README.TXT gives the latest as V5.05.04b2d and in your comment on Lunar Lander you refer to 5.05.04b3d as being "just posted". I am confused . . . Cheers, Andrew (PS: the Lunar Lander works a treat, thanks - not that I have landed it yet) |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
I also downloaded the latest Beta version and it reports 5.05.04b1r on the start screen and CSub is not working? -Carl |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
Have you tried refreshing the cache on the browser, I've downloaded that this morning and the screen says says 5.05.04b2b Edit that was for the one yesterday evening. The new file download has the bin file is labelled CMM2V5.05.05b3d. The file I downloaded late yesterday had a bin file labelled CMM2V5.05.04b2b and that's what is displaying, I have not installed the one I just downloaded via that link. Mike. Edited 2020-07-07 15:45 by KeepIS NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Typo in the readme - sorry. Now fixed |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
New version is V5.05.04b3e http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip Bug fixes Fixed minor colour variations between sprites and drawing commands in Legacy mode Imposed checks on MODE and OPTION LEGACY commands to only allow legacy in 8-bit colour mode Allow comment lines in CMM1 sprite files New Functionality Additional items added to ARMCFunctions.h Added additional parameter to SPRITE READ SPRITE READ [#]n, x , y, w, h [,page_number] This specifies which page to read from. If omitted it defaults to the write page Other MMBasic for dos CSUB generation program added to ZIP file |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Wow, now that's slipping in a big one. I assume that will allow for graphics--the biggest thing lacking in MMBasic DOS (in my opinion). But if MMBasic/DOS is being looked at for improvement, perhaps I will await developments. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Wrong end of the stick I'm afraid What's included is a program written in MMBasic for DOS that converts .ELF files for the CMM2 into Basic statements |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Ahh, dang. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
And, doh. It's already easy to compile MMBasic for DOS if someone wishes to add features, assuming the appropriate C skills and understanding of the program's structures (so as far as "easy" goes, YMMV). Edited 2020-07-07 23:43 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
It's actually a MMBasic DOS program that helps generate the MMBasic code for CFunctions (actually CSub) on the CMM2. So it's really not an enhancement to MMBasic DOS. Edit: Peter responded while I was typing. Any way to delete a post? Edited 2020-07-07 23:45 by Sasquatch -Carl |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
BUG: RUN is still not passing cmdline verbatim > list "test.bas" Print Mm.CmdLine$ > run "test.bas", foo/bar foo»bar > run "test.bas", foo\bar foo¼bar Regards, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |