Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:37 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: Welcome Tape

     Page 5 of 8    
Author Message
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1527
Posted: 08:59am 02 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4251
Posted: 09:17am 02 Sep 2020
Copy link to clipboard 
Print this post

  twofingers said  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?


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: Germany
Posts: 1527
Posted: 09:25am 02 Sep 2020
Copy link to clipboard 
Print this post

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 States
Posts: 376
Posted: 02:07pm 02 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4251
Posted: 02:17pm 02 Sep 2020
Copy link to clipboard 
Print this post

  Sasquatch said  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!


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.

  Quote  What about VegiPete's excellent Falfus2 puzzle game?

https://www.thebackshed.com/forum/ViewTopic.php?TID=12248&PID=148788#148788


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 States
Posts: 376
Posted: 02:53pm 02 Sep 2020
Copy link to clipboard 
Print this post

  thwill said  

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.


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: Canada
Posts: 1122
Posted: 10:47pm 02 Sep 2020
Copy link to clipboard 
Print this post

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 States
Posts: 376
Posted: 02:50am 03 Sep 2020
Copy link to clipboard 
Print this post

  vegipete said  
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.


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 Kingdom
Posts: 4251
Posted: 12:55pm 03 Sep 2020
Copy link to clipboard 
Print this post

  vegipete said  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.


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: Canada
Posts: 1122
Posted: 05:57pm 03 Sep 2020
Copy link to clipboard 
Print this post

  thwill said  Honestly I think the human race will sue itself out of existence: https://www.bbc.co.uk/news/business-40972769.

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 Kingdom
Posts: 4251
Posted: 01:03pm 04 Sep 2020
Copy link to clipboard 
Print this post

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: Canada
Posts: 1122
Posted: 10:57pm 04 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4251
Posted: 09:10am 08 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4251
Posted: 01:49pm 09 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 37
Posted: 03:46pm 09 Sep 2020
Copy link to clipboard 
Print this post

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 States
Posts: 483
Posted: 08:47pm 09 Sep 2020
Copy link to clipboard 
Print this post

  thwill said  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


-
- 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 States
Posts: 376
Posted: 09:19pm 09 Sep 2020
Copy link to clipboard 
Print this post

  mclout999 said  

This has always locked up my CMM2 and still does.  Has anyone had issues with this?  It just hangs and requires a power cycle.


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 Kingdom
Posts: 56
Posted: 10:46pm 09 Sep 2020
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 4251
Posted: 11:15pm 09 Sep 2020
Copy link to clipboard 
Print this post

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 States
Posts: 483
Posted: 11:51pm 09 Sep 2020
Copy link to clipboard 
Print this post

  chris said  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!


Is yours a fully built unit like mine.  Maybe it is dependent on which version you have.  I forgot to include that info.
 
     Page 5 of 8    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025