Author Topic: Who is entering the Axe Parser programming contest?  (Read 36293 times)

0 Members and 1 Guest are viewing this topic.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #60 on: September 03, 2010, 07:02:07 pm »
no, I'm using just dispgraphrr, and two sets of 4-level grayscale. Unfortunately, it behaves similarly to 3-level when done like that, so with 3, 2, 1 and 0 representing each sprite's 4 level value, 3 over 1 is the same as 1 over 3, and so on, giving only 9 values from the 16 pixels in my test pattern.

If I had the evolving pattern from the backbuffer also on the front buffer, this would be true 16-level.

I'm not sure how effective combining all three dispgraphs would be, since they basically build on each other.
« Last Edit: September 03, 2010, 07:05:15 pm by willrandship »

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: Who is entering the Axe Parser programming contest?
« Reply #61 on: September 03, 2010, 07:04:09 pm »
Plus, 15mhz isn't any faster on the nspire (at least to me) so it will probably be 6mhz too.
I only notice a slight increase in speed. Barely any difference indeed.

As for grayscale, I think you can use L1 as additional buffer, but to be full screen, you need to sacrify all variables, since they're stored next to the 712 bytes L1

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Who is entering the Axe Parser programming contest?
« Reply #62 on: September 03, 2010, 07:07:15 pm »
Or you can set apart a 768-byte portion of your program :S




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: Who is entering the Axe Parser programming contest?
« Reply #63 on: September 03, 2010, 07:11:10 pm »
Although that takes more space in user RAM, while L1/L3/L6 are RAM areas used by the TI OS

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Who is entering the Axe Parser programming contest?
« Reply #64 on: September 03, 2010, 07:19:22 pm »
Oh, right.

Just thought of something: Wouldn't it technically take less RAM to just use labels like GDB1 inside the program? Because initializing a value in L1 takes up 6 bytes or something, whereas initializing a byte to a label is just that one byte.
« Last Edit: September 03, 2010, 07:19:34 pm by Deep Thought »




Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #65 on: September 03, 2010, 07:38:33 pm »
I'm too inexperienced at programming in axe at all to worry about optimizations right now :P


I don't need an extra buffer, just for the current front buffer to flicker like the back buffer.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Who is entering the Axe Parser programming contest?
« Reply #66 on: September 03, 2010, 07:48:52 pm »
You'll need your own (ASM) routine :P




Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #67 on: September 03, 2010, 07:59:32 pm »
Grrr.......that makes it ineligible for the contest :'(

I guess I can just stick with 9-level....strange no one else uses that. Unless of course 8-level doesn't include white :P then it is 8 level.

Edit: Plus I dont' know asm anyways :P
« Last Edit: September 03, 2010, 08:02:49 pm by willrandship »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Who is entering the Axe Parser programming contest?
« Reply #68 on: September 03, 2010, 08:03:48 pm »
:D Well, 3 level and 4 level include white, so you're probably good with 9.

Good luck with your entry. I'd like to see 9-lvl grayscale in Axe :)




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: Who is entering the Axe Parser programming contest?
« Reply #69 on: September 03, 2010, 08:04:10 pm »
I don't think 16 level is such a good idea, anyway. Due to the calc LCDs, on the 83+SE and even worse on the 83+, most grays will not even be visible depending of the contrast. On the 83+, when I play 8 level gs Chips Challenge, I only see 6 shades of gray at once.

EDIT:

« Last Edit: September 03, 2010, 08:06:28 pm by DJ Omnimaga »

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #70 on: September 03, 2010, 08:17:01 pm »
whoa!  what game is that?!
guess, TI-Boy?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #71 on: September 03, 2010, 08:23:30 pm »
Spencer's zelda, right?

I didn't know the lcd differs that much from calc to calc. the nspire's screen definitely flickers more though, especially noticable in chip

The 86 had 16 level in a few applications...
« Last Edit: September 03, 2010, 08:24:04 pm by willrandship »

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: Who is entering the Axe Parser programming contest?
« Reply #72 on: September 03, 2010, 08:43:45 pm »
This was a Zelda mockup by Zera a while ago, not an actual program. The above demonstrates the grayscale difference between each calc. If you pay attention to the grays in the 83+ one, you'll understand why I don't recommend anything above 6 lv on that calc.
« Last Edit: September 03, 2010, 08:44:29 pm by DJ Omnimaga »

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #73 on: September 03, 2010, 08:50:50 pm »
Hmm...I'll keep that in mind, but since my 9-level method is by far easier than anything else I've tried (besides 4 and 3 level of course :P) and only has as much flickering unoptimized as unoptimized 4-level.

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: Who is entering the Axe Parser programming contest?
« Reply #74 on: September 03, 2010, 09:17:52 pm »
well that'S good to hear. I can't wait to see it in action. :)