Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:25 16 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 : Demo X for 5.06 firmware

Author Message
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 11:15pm 13 Dec 2020
Copy link to clipboard 
Print this post

Download this new version of Demo X that needs the 5.06 firmware or up. It has some enhancements:

- Almost all demo is running smoother now
- The text flashing part now have perspective (demonstration of the WARP_H command)
- Space ship part is very smooth now and have a better animation
- The dodecahedron part has a new trajectory in the tunnel
- Balls in the tunnel part now have a little wider depth effect
- Squared arcs in the racing demo was changed to trees
- Racing demo now has some (fake) textures
- Fixed zoom out of the car at the end of the racing demo
- Earth rotation was reimplemented giving a better visual effect

I have much more things to enhance in this demo, but other projects are consuming my time, and of course, my job in December is especially intensive.

It isnīt the promised Demo X+, but is something to fill the waiting until I reach the quality that I want to show.

I hope you have some fun!

https://github.com/mauroxavierneto/demox_cmm2
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 595
Posted: 12:57am 14 Dec 2020
Copy link to clipboard 
Print this post

like it   but error in demoracing.ing line 238  index out of bounds
Plasma
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 03:10am 14 Dec 2020
Copy link to clipboard 
Print this post

Are you using a 480Mhz CPU?

I thought that I fixed this bug but now it shows I'm wrong...

I will fix it soon as possible.
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 595
Posted: 04:09am 14 Dec 2020
Copy link to clipboard 
Print this post

Yup 480 Module, Why i get an Error ? Whats the Problem between the 400 and the 480 Version ?
Edited 2020-12-14 14:30 by Plasmamac
Plasma
 
epsilon

Senior Member

Joined: 30/07/2020
Location: Belgium
Posts: 255
Posted: 10:56am 14 Dec 2020
Copy link to clipboard 
Print this post

Hi Mauro,

I only see a README change on GitHub. All other commits are two months old.
Maybe you forgot to commit your changes?
Epsilon CMM2 projects
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 11:06am 14 Dec 2020
Copy link to clipboard 
Print this post

The error occurs because even with the frame limiter the 480 Mhz CPU reaches the limit of the array before expected. I have changed somethings about this, letīs see if now is fixed.

Please, download it again and see if now runs ok.
 
qwerty823
Newbie

Joined: 30/07/2020
Location: United States
Posts: 30
Posted: 03:31pm 14 Dec 2020
Copy link to clipboard 
Print this post

I just downloaded the demo. Got the same error as above, but on a 400mhz machine:
Error in DEMO_RACING.INC line 238: Index out of bounds

> ? MM.INFO(CPUSPEED)
400000000
>
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 04:33pm 14 Dec 2020
Copy link to clipboard 
Print this post

Sorry, epsilon is right, I forgot to commit the changes.

qwerty823, download it and try again.

Can anyone try a thing on the 480 Mhz CMM2?

Please, change the line 212 from the DEMO_RACING.INC file from this:

IF MM.INFO(CPUSPEED)=400000000 THEN FPS(19) ELSE FPS(17)

To this:

FPS(19)

And see if it runs ok in a 480 Mhz CPU.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10590
Posted: 05:08pm 14 Dec 2020
Copy link to clipboard 
Print this post

Works on 480MHz with either 17 or 19
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 05:18pm 14 Dec 2020
Copy link to clipboard 
Print this post

  matherp said  Works on 480MHz with either 17 or 19


I changed now in the GitHub to keep FPS(19) in both versions.

Thanks for testing!
Edited 2020-12-15 03:21 by MauroXavier
 
epsilon

Senior Member

Joined: 30/07/2020
Location: Belgium
Posts: 255
Posted: 06:47pm 14 Dec 2020
Copy link to clipboard 
Print this post

Yes, yes, yes! I'm finally running DemoX on my own (480MHz) CMM2!
It's 2020 and I'm running an old school demo like it's 1989. Thank you Mauro Xavier. You made my day!
Epsilon CMM2 projects
 
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