Author Topic: 160x240 CSE scrolling speed test gives promising results  (Read 13004 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
160x240 CSE scrolling speed test gives promising results
« on: March 28, 2013, 10:37:17 pm »
Just now, tr1p1ea has posted the following video on Youtube and OmnomIRC:



This video shows a TI-84 Plus C Silver Edition tile-mapper, featuring scrolling, in the 160x240 resolution mode that Calc84maniac recently discovered. The speed result is very promising! The sprites used in the video are 8x8, with their height scaled up to 16 pixels, but since the calculator is set to 160x240 instead of 320x240, the sprites looks as large as their height.

Hopefully an ASM library that allows TI-BASIC programmers to change the horizontal screen resolution and the display starting position (z-adress) will also be released in the near future, so that those programmers can take advantage of that Atari/Commodore-like mode too!


This means that fast-paced side scrollers should be very easy to create on Texas Instruments' newly released color calculator.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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: 160x240 CSE scrolling speed test gives promising results
« Reply #1 on: March 28, 2013, 10:45:47 pm »
* Sorunome feels honord by being mentioned in that screenie
* Sorunome lost
* Sorunome thinks it is awesome and this little feature may get him to buy a CSE after all as it s so quick O.o
* Sorunome notices that his message only consists out of /me messagges
« Last Edit: March 28, 2013, 10:46:04 pm by Sorunome »

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

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #2 on: March 28, 2013, 10:51:54 pm »
Note that the scrolling in that video doesn't involve drawing any pixels, by the way. It'll be a bit slower if you want to have a play area wider than two screen widths, since you'll have to actually draw in the new tiles. Should still be relatively fast, though.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #3 on: March 28, 2013, 11:37:21 pm »
The test doesn't do any drawing but it also only processes every 16th frame so there is room to play possibly.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #4 on: March 29, 2013, 12:05:12 am »
The test doesn't do any drawing but it also only processes every 16th frame so there is room to play possibly.
I keep wondering, what exactly is a "frame" here. I mean, if all you're doing is changing the scroll registers you can probably get over 9000 FPS, but that doesn't really affect the display which has its own frame rate.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #5 on: March 29, 2013, 12:14:38 am »
Lol I was reluctant to use the word frame because it isn't really correct. Basically instead of scrolling every loop I only change x every 16 loops. The registers are still written to every iteration tho ... just wanted a quick delay *hides*
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #6 on: March 29, 2013, 01:33:55 am »
Do you think you could do a video showing scrolling where an entire column of tiles is updated every frame? I am curious about how fast it would be. TO make it more accurate, add a Mario sprite, along with 3 enemies and a shroom in the mix, using masking for all.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #7 on: March 29, 2013, 01:49:21 am »
Nice job with the tests.

So does that mean that the 84 CSE games will have levels that are just super-sized images that are zoomed in and scrolled, and the sprites are moved on them?
Spoiler For Sig:







Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #8 on: March 29, 2013, 04:21:38 am »
That's very nice !
So that's basically GBA resolution. Not bad at all ! I hope we can write fast enough tile map renderers. :)
Do we have that extra space on the vertical axis (for RPGs) ?
« Last Edit: March 29, 2013, 04:25:59 am by Streetwalker »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #9 on: March 29, 2013, 05:14:01 am »
you should be able to make arbitrary sized buffers regardless, but the hardware doesnt support vertical scrolling the same way it does horizontal scrolling shown in the video. Vertical scrolling will be slower.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #10 on: March 29, 2013, 08:28:29 am »
Arf that's too bad I got oversized hope. :(

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #11 on: March 29, 2013, 11:54:24 am »
That's pretty cool. Hope lots of GBA-like games gets developed :P

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #12 on: March 29, 2013, 12:16:56 pm »
Can it also repeat the image and stitch the ends together?
If you like my work: why not give me an internet?








Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #13 on: March 29, 2013, 12:24:58 pm »
Can it also repeat the image and stitch the ends together?
Yep, that's exactly what happens. If you draw tiles offscreen before you reach them, you can pretty much scroll infinitely in the horizontal direction.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 160x240 CSE scrolling speed test gives promising results
« Reply #14 on: March 29, 2013, 12:26:48 pm »
It doesnt look like it though. You see that it's just one image, but it's stretched out to fill multiple screens. You can only scroll within the boundaries of the image in this demo.
If you like my work: why not give me an internet?