Author Topic: [C w/ Mode 7] Unknown project  (Read 16841 times)

0 Members and 2 Guests are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
[C w/ Mode 7] Unknown project
« on: March 23, 2014, 12:52:48 pm »
Hi. Here is something I did sometimes and that I optimized like crazy today, after having a drunk genius moment. (Actually runs smoother on calc. I need a fps count, but I estimate the framerate is over 30fps.)

I have some things planned with that.


Controls
- Replay keys : Move/Turn the camera
- Shift/Alpha : Move Up/Down the camera
- Exit : Exit


Changelog
- Proof_of_concept 3 :  Here is a live demo of the progress I and Siapran did. He helped me optimizing the tilemap reading routine to speed up almost as before.
« Last Edit: August 15, 2014, 10:18:56 am by Eiyeron »

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [C] Unknown project
« Reply #1 on: March 23, 2014, 12:54:12 pm »
That's epic, it's going so fast ! :D

I don't have a Casio calc, but I hope this will get to something nice ;D

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [C] Unknown project
« Reply #2 on: March 23, 2014, 05:31:56 pm »
^ That. Literally. :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [C] Unknown project
« Reply #3 on: March 24, 2014, 12:44:42 am »
Wow that looks fast! Also since that calc is 58 MHz or so, this gives you much more freedom when this will be optimized, so you could experiment with small pre-rendered sprite scaling such as trees or pipes like in Mario Kart. :D

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [C] Unknown project
« Reply #4 on: March 24, 2014, 01:52:51 am »
Yup, that is looking awesomeley fast!
I hope this'll go somewhere :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #5 on: March 24, 2014, 06:15:48 am »
Wow that looks fast! Also since that calc is 58 MHz or so, this gives you much more freedom when this will be optimized, so you could experiment with small pre-rendered sprite scaling such as trees or pipes like in Mario Kart. :D
No, it's 22 MHz, we can get to "~55" only by overclocking! :p, but yeah, I'll test adding sprites to see if that doesn't slow down the game.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [C] Unknown project
« Reply #6 on: March 24, 2014, 12:50:41 pm »
If it's an sh4 then it's a similar CPU to the Dreamcast's. Ten times slower. :P
Also,
* Streetwalrus lost x.x

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [C] Unknown project
« Reply #7 on: March 24, 2014, 12:54:30 pm »
Looks awesome! What Casio calc is it for?

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #8 on: March 24, 2014, 02:13:15 pm »
What Casio calc is it for?
Sorry, but I didn't understand well your question. I'll take as "What Casio calc model is it?"
So, it's a FX-9750GII modded to a 9860 (it's the second to last line of monochrome calcs, the last with a SH3).

I'd like to improve the speed by making LUT everywhere, but I don't see a noticable change. (The cosine/sine are already LUTed, they belong to Kristaba's Fixed Point Library)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [C] Unknown project
« Reply #9 on: March 24, 2014, 02:15:52 pm »
Yea that was the question. I wanted to know which Casio calc. model the program was written for. :)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #10 on: March 24, 2014, 02:17:56 pm »
Basically, except the fact i should update my libs for cross-compiling with SH4 calcs (which I don't have any), the program should run on every monochrome model that support addins.

And don't even ask me a Prizm port (for the moment). THere is already a Mode 7 prototype on it.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [C] Unknown project
« Reply #11 on: March 24, 2014, 02:19:48 pm »
I have a 9860G Slim model, so I guess it would run on that. :)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #12 on: March 24, 2014, 02:21:30 pm »
I forgot the Slims. Well, almost no one have ay of these in France, so I won't be sure if that'll work. I'll give some demos once I know how to deal with SH4 and once my libs will be updated.

Siapran wants to work on it too.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [C] Unknown project
« Reply #13 on: March 24, 2014, 02:44:58 pm »
Sounds great! ;D

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [C] Unknown project
« Reply #14 on: March 25, 2014, 08:12:20 pm »

After an almost insomniac serch, tweak and hack, I finally found (or like copy pasta, the base was crappy and too bad to be employed in a game) a way to support correctly old Mode7 and objects projections (for the moment, I only project black squares...)


EDIT : a float option would be very great for images!