![]() |
Forum Index : Microcontroller and PC projects : CMM2: Welcome Tape
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
twofingers Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1527 |
Hi, to show the whole range of capabilities the Welcome Tape should IMHO also contain an example with a CSUB. Maybe this (Barnsley Fern) neat piece of code could be included - if Carl agrees? Just my2c Michael Edited 2020-09-02 19:10 by twofingers causality ≠correlation ≠coincidence |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Good idea. I seem to recall there was a CSub Mandlebrot set too, does anyone recall ? MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
twofingers Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1527 |
Peter's and/or Carls Mandelbrot? I would appreciate it! https://en.wikipedia.org/wiki/Benoit_Mandelbrot BTW. MANDEL = almond, BROT = bread ![]() Edited 2020-09-02 19:45 by twofingers causality ≠correlation ≠coincidence |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
Let me do some work on the Mandelbrot, I plan to make it interactive so you can pan and zoom using the Keyboard or Nunchuk. Let me clarify that you are welcome to use the Mandelbrot in the welcome tape, I will try to whip it into better shape over the next few days! What about VegiPete's excellent Falfus2 puzzle game? It has great graphics and sound! https://www.thebackshed.com/forum/ViewTopic.php?TID=12248&PID=148788#148788 Edited 2020-09-03 00:15 by Sasquatch -Carl |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Excellent ... Is that interaction you'll have to handle in the C ? If that's the case can you make Q/q quit too and provide some mechanism to determine that is why the C exited. If he offers it, and it contains no IP of debatable provenance then who am I to say "no" ? On the other hand in my opinion it does stand on its own. Best wishes, Tom Edited 2020-09-03 00:33 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
I am doing the user interface in MMBasic, then it calls the existing CSUB to render the image quickly. I figure that way it may encourage others to modify or improve on what I have done. I haven't needed to modify the CSUB from what I posted before, but I'm not done yet so we will see. -Carl |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1122 |
Falfus2 _may_ contain levels that have the same layout as levels from the game Puznik, the source idea, even if all graphics are drawn by me and game logic is a little bit different. ============= I started making a pan/zoom front end for Carl's most excellent Mandelbrot c-sub. I used the arrow keys to shift a selection box around, + and - to alter the box size and [Enter] to make it so. I was still mucking with scaling factors and I hadn't sorted out a nice way to zoom back out. Now I'm not sure where the program is. I think I misplaced an SD card. The PAGE XOR_PIXELS command was very useful for drawing the selection box. Draw a selection box on page 2 (say), put the current Mandelbrot image on page 1, then XOR page 2 and 1 onto 0 to display the selection. Visit Vegipete's *Mite Library for cool programs. |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
I had some of the same thoughts about using a drawn box to zoom in by drawing a box onscreen and figuring out the new coordinates for rendering the Mandelbrot set. I am starting much simpler with a simple sprite cursor and Center/Zoom commands. I will re visit the box idea once I get everything else working. Thanks for the tip on XOR_PIXELS this seems like a sound approach. -Carl |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
A brief trawl of the internet suggests that level designs are covered by copyright so probably best for me to leave it out. Honestly I think the human race will sue itself out of existence: https://www.bbc.co.uk/news/business-40972769. Thanks, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1122 |
Great, and I was just putting the finishing touches on a rewrite of my Maxibrick for the original CMM... Visit Vegipete's *Mite Library for cool programs. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Pete (or anyone else), have you got any "sprite demos" in your portfolio that I can yoink for the Welcome Tape ... wasn't there one with asteroids ? Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1122 |
Maybe my playing card program? Deck of Cards I linked the source image which _seems_ to be safe to add. Perhaps I should make the cards move... =========== I also mucked with sprites in this thread (5th posting) but the sprite sheet I yanked from the web probably doesn't meet the public domain requirements. Visit Vegipete's *Mite Library for cool programs. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Hi Pete, I'll take a look at including the "Deck of Cards" in v0.3 if that's OK with you. As you identify the other item doesn't meet requirements. Thank you, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
And as if by magic version 0.3 appeared: https://github.com/thwill1000/cmm2-welcome/releases/download/r0.3/welcome-r0.3.zip ChangeLog: Release 0.3: - Added "Mandelbrot Explorer" - by "Sasquatch" - Added "Playing Cards" demo - by "vegipete" - Added "Graphic Test Card" utility - by "TassyJim" - Added "Barnsley's Fern using CSUB" - by "Sasquatch" As always many thanks to all the contributors. Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
romba6![]() Newbie ![]() Joined: 04/07/2020 Location: United KingdomPosts: 37 |
Brilliant! Thank you Tom for putting this all together and for all the magnificent contributions. For a noob like me this is a real education !!! |
||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 483 |
- - Added "Barnsley's Fern using CSUB" - by "Sasquatch" This has always locked up my CMM2 and still does. Has anyone had issues with this? It just hangs and requires a power cycle. Edited 2020-09-10 06:48 by mclout999 |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 376 |
Can you give me more specifics? Does it draw the fern pattern on the screen? It's basically designed to iterate the calculation "forever" unless you give it some input from the keyboard. It should respond to I,O or Q to quit. I should have it print the key options at the bottom of the screen. -Carl |
||||
chris Regular Member ![]() Joined: 24/08/2020 Location: United KingdomPosts: 56 |
Yes, locks up my CMM2 too. I press I nothing happens, O nothing happens, Q nothing happens, CONTROL + C, nothing happens. Just happy to read that it's not my hardware at fault! Edited 2020-09-10 08:46 by chris |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Works fine for me. Most of my CMM2 hangs are associated with the built-in BASIC editor. I had it delete the file I was working on twice today, and also append a heap of garbage to a file. I'd never seen either of these issues before today. "Sasquatch" note that I edited the version on the Welcome Tape so it already displays the key options. Regards, Tom Edited 2020-09-10 09:16 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 483 |
Is yours a fully built unit like mine. Maybe it is dependent on which version you have. I forgot to include that info. |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |