![]() |
Forum Index : Microcontroller and PC projects : CMM2: Welcome Tape
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 483 |
It looks like it dose finish the fern but who can no for sure it may crap out a little early. I have tried every key and nothing at all in every firmware version thus far. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Mine is a Waveshare unit, but it has resistor arrays rather than the discrete resistors used by most(?) Waveshare kits. It was one of the first units shipped by www.micromite.org. > Colour Maximite 2 MMBasic Version 5.05.05 Copyright 2011-2020 Geoff Graham Copyright 2016-2020 Peter Mather > Print Mm.Info(CPUSPEED) 400000000 > Print Mm.Info(VERSION) 5.0505 Which is interesting because I was under the impression I had the 480 MHz revision V of the micro-controller - C'est la vie. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thankyou to the "Sasquatch" for fixes to the issue above. Version 0.3.1: https://github.com/thwill1000/cmm2-welcome/releases/download/r0.3.1/welcome-r0.3.1.zip Release 0.3.1: - This is a maintenance release, it contains the same inventory of programs as Release 0.3. - Updated "Mandelbrot Explorer" to version 1.2 - by "Sasquatch" - fixed responsiveness to both USB keyboard and serial console. - added source for pure MMBasic version of Mandelbrot subroutine to the bottom of the program. - changed hotkeys on file and help screens for better integration with the "Welcome Tape". - Updated "Barnsley's Fern using CSUB" - by "Sasquatch" - fixed responsiveness to both USB keyboard and serial console. - Changed how returning from a program to the menu is implemented, this should not cause any visible difference. I'm still looking for new content: - Simple (non copyright-infringing) games - Simple sprite demos - Simple sound & music demos In a change to earlier policy if you are not happy with distributing under the UNLICENSE I am now satisfied that we can license the programs in individual directories separately. Can I recommend the Apache License, Version 2.0 or MIT License for your consideration. Happy hacking, Tom Edited 2020-09-16 22:43 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
PeteCotton![]() Guru ![]() Joined: 13/08/2020 Location: CanadaPosts: 527 |
I don't know if it's good enough (and the actual code itslef is certainly shoddy), but I am more than happy for you to include my defender game. https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12703 Edited 2020-09-27 16:27 by PeteCotton |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12703 Hi Pete, That's a generous offer and I am sorely tempted. However I am trying to be extra careful with the content of the Welcome Tape because: 1. One of my guiding principles is that the Welcome Tape would be suitable for including with the hardware ... though I would not necessarily recommend this when ther is the "safer" and "simpler" option of just including a slip of paper with the CMM2 indicating where it is downloadable from - hopefully Geoff's website if/when the content and quality get to an appropriate level. 2. I am hosting everything on a public github repository. If I do get a cease & desist or takedown order for any given component then I will have to takedown the whole collection whilst I rewrite the repository's history to eliminate the offending item ... I'd rather not have the bother. So before I can accept your offer: - Do you own the rights to the sprites, or are they in the public domain? - e.g. the player ship looks a lot like a Battlestar Galactica Colonial Viper. - How do you feel about renaming it to something like "Protector" or "Guardian" ? - Would you be OK with someone improving the sound and adding some music (assuming I can find a volunteer) ? - Are you OK with it being distributed under the "Unlicense" or would you prefer something else ? Whatever the answers, thanks again for the offer. Kind regards, Tom Edited 2020-09-27 22:41 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
PeteCotton![]() Guru ![]() Joined: 13/08/2020 Location: CanadaPosts: 527 |
https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12703 Hi Pete, That's a generous offer and I am sorely tempted. However I am trying to be extra careful with the content of the Welcome Tape because: 1. One of my guiding principles is that the Welcome Tape would be suitable for including with the hardware ... though I would not necessarily recommend this when ther is the "safer" and "simpler" option of just including a slip of paper with the CMM2 indicating where it is downloadable from - hopefully Geoff's website if/when the content and quality get to an appropriate level. 2. I am hosting everything on a public github repository. If I do get a cease & desist or takedown order for any given component then I will have to takedown the whole collection whilst I rewrite the repository's history to eliminate the offending item ... I'd rather not have the bother. So before I can accept your offer: - Do you own the rights to the sprites, or are they in the public domain? - e.g. the player ship looks a lot like a Battlestar Galactica Colonial Viper. - How do you feel about renaming it to something like "Protector" or "Guardian" ? - Would you be OK with someone improving the sound and adding some music (assuming I can find a volunteer) ? - Are you OK with it being distributed under the "Unlicense" or would you prefer something else ? Whatever the answers, thanks again for the offer. Kind regards, Tom Thanks Tom. I am glad you are being diligent about these things. Yes, I own the rights to all of the sprites. Which explains why they are so shoddy looking. Although the player ship is based on the viper, the sprite is an original bitmap created by me. I am absolutely okay with it being renamed. Re: Improving the sound... oh god yes please. :-D I am also absolutely okay with it being unlicensed. I wouldn't mind a credit on the title screen, but apart from that I consider it free game for anyone to copy, hack around, rewrite. If somebody wants to take it and use as the basis for their own game, that's all good with me. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thanks Pete. I've got a full slate already for this week's build (hopefully Wednesday), but I'll definitely look at including it in the one after that. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
PeteCotton![]() Guru ![]() Joined: 13/08/2020 Location: CanadaPosts: 527 |
Thanks Tom. There is no rush, I just wanted people to know that I am not at all protective of my work (on the CMM2). It's there for whatever purpose people see fit. I learned a lot from writing it - and my next game is turning out to be a doozy ;-) |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
It's that time again ... Version 0.4: https://github.com/thwill1000/cmm2-welcome/releases/download/r0.4/welcome-r0.4.zip Release 0.4: - Added "Hunt the Wumpus" - by William Leue - Added "Minesweeper" - by William Leue - Added "Scott Adams' Pirate Adventure" - by kind permission of Scott Adams - ported to CMM2 by "thwill" - Updated "Graphic Test Card" utility - by "TassyJim" - added support for Modes 10, 11 and 12. - Updated "Lunar Lander" to v7.3 - by "vegipete" - added workaround for difference in direction of IMAGE ROTATE between firmware 5.05.05 and 5.05.06. - Updated "Mandelbrot Explorer" to version 1.3 - by "Sasquatch" - CSUB now renders the Base image in under 1 second on a 400MHz CMM2 due to changes in compiler and linker/library settings. Many thanks to the contributors, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1636 |
Hi Tom, Firstly, congratulations on the welcome tape and re-writing the Pirate Adventure game. Not a GOTO in site. ![]() I have a problem running the "tape" though. If I type: RUN "\welcome\welcome.bas" or run it using the inbuilt file manager, it will run the splash screen and then "chain" to the menu but the menu drops immediately to the end printing "Goodbye" and exits. What am I doing wrong? I tried the previous version but it does the same. Also Peter's three graphics demos all bomb out with the error "Error: phi is not declared" But it is ![]() Running V5.05.05b11 Bill Keep safe. Live long and prosper. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Hi Bill, Thanks for taking the time to check it out. Firstly, congratulations on the welcome tape and re-writing the Pirate Adventure game. Not a GOTO in site. ![]() It was a bit of a slog, but fortunately I was able to re-use bits of Z-MIM for the console output and save/restore game/script code. If you want a lesser challenge than porting the whole of "Pirate Adventure" then in theory this data file for "Adventureland" could be converted and should work with the same interpreter: https://github.com/ahope1/Beeb-Adventureland/blob/master/dataout.bas ... just don't download the walkthrough this time ![]() And beyond that with a few tweaks to handle the binary .dat format and support some of the later extensions to the "language" the interpreter should also work for this whole suite of 28 text adventure games by Scott Adams and Brian Howarth: - http://www.ifarchive.org/if-archive/scott-adams/games/scottfree/AdamsGames.zip - http://www.ifarchive.org/if-archive/scott-adams/games/scottfree/mysterious.tar.gz However at the moment I'm trying to resolve a licensing issue with the interpreter. Whilst I definitely have Scott's permission for its distribution and use with "Pirate Adventure" it is, depite being 95% my code, in theory a "derived work" of his own interpreter and thus covered by his (c) thus potentially limiting its legal distribution beyond that. It's a bit awkward really since there is another portable interpreter in "C" that has been available for ages and already broke this (c) so it's only my own high-standards that hold me back ... plus I'm not entirely certain who really wants to play creaky old text adventures ... and the Z-machine ones are much better because they were designed for more than the 16K that Scott Adams targeted. RUN "\welcome\welcome.bas" or run it using the inbuilt file manager, it will run the splash screen and then "chain" to the menu but the menu drops immediately to the end printing "Goodbye" and exits. What am I doing wrong? I tried the previous version but it does the same. Also Peter's three graphics demos all bomb out with the error "Error: phi is not declared" But it is ![]() Running V5.05.05b11 I'm hoping these are firmware issues and will be fixed if you upgrade to the release version of V5.05.05. I'm 99% certain the "Phi" problem was a passing bug in the firmware due to how unquoted strings and variables in DATA statements were handled. I'm not sure about the other issue. Day-job and kids permitting, I will take a look later to see if I can reproduce it. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1636 |
Thanks Tom, Updated to the latest beta and all is OK ![]() I was wondering if your Transpiler could produce a version of the interpreter to run on the Earlier Maximites? Or even for DOS/Windows MMBasic with a little tweaking? Thanks for those other links. I'll have a play later. Bill Keep safe. Live long and prosper. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Hi Bill, ![]() That is good news, thanks for checking it out. My transpiler is more about allowing two or more versions of MMBasic to be supported from a single set of code than doing actual *magic* ![]() That said it should be possibly to make "Pirate Adventure" run on those listed platforms and use the transpiler to then maintain a single set of code. Things that jump out as needing to change would be: 1) On the CMM1 and MonoMaximite SELECT CASE will need to change to IF, ELSEIF, ENDIF - in theory this could be automated from the transpiler but it's not an insignificant enhancement. 2) On the CMM1 and MonoMaximite DIR$(), and possibly other file functions, don't accept paths and only work on the current working directory so you need to CHDIR in and out of the directory in question like I did in Z-MIM. 3) In MMBasic for DOS there is no DIR$() function and you have to use the SYSTEM command and parse the result. I did look at the source for MMBasic for DOS and even talked with Geoff about adding DIR$(), it doesn't look difficult, but then became distracted so didn't pursue the matter further. Enjoy, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1122 |
Hey Tom, maybe the attached is a useful little sprite demo. CMM2-Sprite_Demo.zip edit: For fun, put a "DO" on line 83 and a "LOOP" on line 99. . Edited 2020-10-03 12:26 by vegipete Visit Vegipete's *Mite Library for cool programs. |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1636 |
Good one Vegipete. I like it. ![]() Well explained in the comments so I may even be able to learn something from it. Bill Keep safe. Live long and prosper. |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
Hi Tom, here are a few small programms I have done... The Scales programm is a little sound helper which educates about scales and can play chordprogressions which are corresponding to your selected scale. Then there are some Matrix like screen effect thingys I have programmed... nothing spectacular... but maybe its nice for beginners like me to see. Demoprogramm.zip http://tweakerray.bandcamp.com |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thanks, I will check it out tomorrow. Looks like I will have quite a haul off new content for the next version or two. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thanks Tom. There is no rush, I just wanted people to know that I am not at all protective of my work (on the CMM2). It's there for whatever purpose people see fit. I learned a lot from writing it - and my next game is turning out to be a doozy ;-) Hi Pete, could you check out TweakerRay's music here https://www.youtube.com/watch?v=c2rWBMTu-4Q. I think this would be a great music track for Not-Defender's intro screen. What are your thoughts? Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
here are a few small programms I have done... I look forward to checking them out tomorrow. Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Hi folks, Whilst I'm hoovering up all this content I do have concerns that some of the potential (and possibly purely imaginary) audience might actually be discouraged by some of the content, i.e. they might think "Oh, I could have done that to ease myself into programming the CMM2, but there is no point now that it's available on the Welcome Tape". Any thoughts? Tom Edited 2020-10-04 07:51 by thwill 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 |