Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:17 11 Nov 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 : Colour Invaders killed my CMM

Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1646
Posted: 07:46am 18 Feb 2018
Copy link to clipboard 
Print this post

I have just discovered the Colour Invaders game by Darthmite. The first time I ran it it crashed because the MOD files were not on drive a:. It seems they are meant to be manually copied. I modified the program to copy the MOD files to drive a: (I copied the way Nick did it in "Donut Dilemma". Because I don't have a paddle connected yet the game began and I could do nothing but watch. As soon as one of the invaders shells hit a bunker the screen went blank the green LED went out and switching the CMM off and on has no effect. I am running the latest version of MMBASIC. I'll try re-flashing it tomorrow hoping that will fix it. While I'm OK BASIC programming, games programming is a bit beyond me. Does anyone have any idea what may have happened?
Keep safe. Live long and prosper.
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1646
Posted: 04:23am 19 Feb 2018
Copy link to clipboard 
Print this post

Well, I was able to re-load MMBASIC with no dramas. I ran the modified Colour Invaders again with no paddle as before. This time there was no problem at all, the bunkers get hit and damaged, the canon is destroyed as expected. I've run the game several times with no problems. The canon moves a bit at random but I expect that is due to the unterminated analogue input pin picking up noise.

I still don't know what caused the initial crash and trashing of MMBASIC Maybe a power surge?

Bill
Keep safe. Live long and prosper.
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 05:51am 19 Feb 2018
Copy link to clipboard 
Print this post

Hi

Dont forget that this game was done in .... 2012 ....
MMBasic has evolve allot in 6 years and for sure they are some functions that
have change
But good to know that the game still work today.

Cheers.

Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 10:20am 19 Feb 2018
Copy link to clipboard 
Print this post

Please can someone possibly provide a link to the code (or post it)!

This would be an excellent example of a Game to bring 'up-to-date' and make fully compatible with Geoff's latest firmware (and Peter's excellent graphical features)- I am happy to do this 'update' if Darthmite is ok with me doing so . . .
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 10:37am 19 Feb 2018
Copy link to clipboard 
Print this post

maybe this?

http://www.fruitoftheshed.com/MMBasic.Invaders-part-of-the-original-MMBasic-library.ashx?HL=invaders
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 12:19pm 19 Feb 2018
Copy link to clipboard 
Print this post

Thanks CaptainBoing

  Quote  This must be run using MMBasic 3.0A as it relies on some advanced features of this version to control the invaders.


Oh - wonder if those features are still there
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1646
Posted: 12:54pm 19 Feb 2018
Copy link to clipboard 
Print this post

Hi WhiteWizard,

I think the above link is to the original mono version.
Here is the thread where the link to the latest version of the game is:

http://www.thebackshed.com/forum/forum_posts.asp?TID=5071&PN=887&TPN=7

look for the link:
2012-08-14_200235_Space_Invaders

This is what I added to copy the MOD files to drive a: rather than do it manually...
just after: "Option base 1"

' *******
'--- COPY MOD FILES TO A: ___
'
Option error continue
Open "A:Laser1.MOD" For input As #1
ERROR=MM.Errno:Close #1
If ERROR=0 Then GoTo LOADED
'
Copy "Laser1.MOD" To "A:Laser1.MOD"
Copy "Inv_Exp.MOD" To "A:Inv_Exp.MOD"
'
LOADED:
'
' *******

The game works well as is. This one needs MMBASIC V4.0. I finally built a paddle as per the instructions in the beginning of the code. The difficulty doesn't seem to increase with the higher levels. There are suggestions to increase difficulty in that link.

Bill

PS Darthmite may have more information
Keep safe. Live long and prosper.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2959
Posted: 01:02pm 19 Feb 2018
Copy link to clipboard 
Print this post

Thanks Bill - will look into all this later and try it on an MMX144
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 06:25pm 19 Feb 2018
Copy link to clipboard 
Print this post

  Turbo46 said  The difficulty doesn't seem to increase with the higher levels. There are suggestions to increase difficulty in that link.

Bill

PS Darthmite may have more information


I first made this game for the B/W version of MM to made Geoff HaPpY

The colour version was a test to show colored sprites only :) ... just made the sprites faster every time you shoot them all for the difficulty

Cheers.

Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025