Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:06 13 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 : CMM Shadow of The Beast Demo

Author Message
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 03:28am 18 Feb 2019
Copy link to clipboard 
Print this post

This is a demo of the Shadow of The Beast to show the PSGLIB finally working in the Colour Maximite.

I know it's far from perfect, but I think that's enough to make some good games with nice chiptunes and sound effects.

Here is the full source code entirely made in MMBasic.

In the file above have a README.TXT with the pins to build the SN76489 and AY-3-8910 boards, without the need of a backplate.

I hope you enjoy this video , and sorry about any mistakes in my english.


Geoff,

Please, can you include in the MMBasic 4.5C in the SPRITE COPY command a option to flip vertically and/or horizontally the sprite copied? Ex.: SPRITE COPY 54 TO 70,0,1 (0=not horizontal flipped,1=vertical flipped)

If you make it, I can finally develop bigger games without the restrictions in sprite, because to make a full Shadow of The Beast (not only a demo), the number of the animations will be a huge memory impact because I will need to write all the positions flipped.

I don't want to change the MMBasic by myself because I tried to compile and the softwares used doesn't work correctly and generate bad firmwares (black screen in the CMM), and I don't want to make a fork in a already good work.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9755
Posted: 05:40am 18 Feb 2019
Copy link to clipboard 
Print this post

Very impressive.
Nice work.
Smoke makes things work. When the smoke gets out, it stops!
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 985
Posted: 08:57am 18 Feb 2019
Copy link to clipboard 
Print this post

WOW - VERY GOOD! I'm very impressed!

Frank
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 10:03am 18 Feb 2019
Copy link to clipboard 
Print this post

This is really impressive!
I would like to know more about the SN76489 sound chip. I've looked at the readme file but I think it would be easier to understand using a circuit diagram. Does this chip need an oscillator?

Many thanks and great work.

Dave.
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 10:18am 18 Feb 2019
Copy link to clipboard 
Print this post

  cosmic frog said   This is really impressive!
I would like to know more about the SN76489 sound chip. I've looked at the readme file but I think it would be easier to understand using a circuit diagram. Does this chip need an oscillator?

Yes, it uses a oscillator and in the resume file I recommend a 3.57 Mhz approximately. You can use 2 to 4 Mhz, but in this case the sound frequency will be wrong.

In the next version I will put a image with a simple diagram.Edited by MauroXavier 2019-02-19
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 10:21am 18 Feb 2019
Copy link to clipboard 
Print this post

Geoff,

Please, I do not want to abuse your goodwill, but can you update the SPRITE MOVE command as well? My suggestion below is a way to support scrolling the screen by correctly updating the background, see an example:

SPRITE MOVE 56 200,180, -3.0

In this case, -3 and 0 means the coordinates X and Y, respectively, that will be shifted in the second plane to be restored. If I rolled the screen 3 pixels to the left, I must enter -3 in the scroll parameter X to put the stored background 3 pixels to the left of the original point when moving the sprite.

If you can not update any command for some reason I'll understand perfectly, but in this case could you tell me exactly which software tools (with version) do you use to compile MMBasic 4.5C for CMM?
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 10:43am 18 Feb 2019
Copy link to clipboard 
Print this post

  MauroXavier said  
  cosmic frog said   This is really impressive!
I would like to know more about the SN76489 sound chip. I've looked at the readme file but I think it would be easier to understand using a circuit diagram. Does this chip need an oscillator?


In the next version I will put a image with a simple diagram.


Thanks, that would be great.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 03:25pm 18 Feb 2019
Copy link to clipboard 
Print this post

Hi Mauro. I am currently working on porting the latest version of MMBasic to the Maximite. This will give you things like 64 bit integers, SELECT CASE, etc while still keeping compatibility with the current version. It is turning out to be a bigger job than I anticipated so it will be at least a few months before I am finished.

When that is done it will be easy to add the features that you are asking for. So, when I release the new version remind me and I will add all the features that you need. It will be worth it to see what new games you will be able to create.

Geoff
Geoff Graham - http://geoffg.net
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 03:53pm 18 Feb 2019
Copy link to clipboard 
Print this post

I appreciated too much your answer, it's better than I expected to know that you will update the CMM that way.

By the while I'm keeping the developing of games and making some shortcuts and optimizations while my wishes are not granted :)

Next week I will show the Tunnel 4B, a horizontal shooter using scroll that resemble the Laser Gates from Atari and Scramble / Super Cobra from arcade.
 
Cyber

Senior Member

Joined: 13/01/2019
Location: Ukraine
Posts: 161
Posted: 06:49pm 30 Jun 2019
Copy link to clipboard 
Print this post

Geoffg, by the way speaking of sprites, what is the reason of them flickering so much?
I heard some people refused using sprites beacuse of flickering, and solved their graphics moving needs with blitter, which don't flicker.
But in many cases sprites are so lot more convinient.
Is it possible to do something with flickering in future updates?
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 02:55am 01 Jul 2019
Copy link to clipboard 
Print this post

  Geoffg said   Hi Mauro. I am currently working on porting the latest version of MMBasic to the Maximite. This will give you things like 64 bit integers, SELECT CASE, etc while still keeping compatibility with the current version. It is turning out to be a bigger job than I anticipated so it will be at least a few months before I am finished.
Geoff


How's this project going Geoff?
ChopperP
 
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