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

0 Members and 2 Guests are viewing this topic.

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 #105 on: September 08, 2010, 07:30:06 pm »
To read and write to L1 and all other mem locations except variables, remember the braces...
« Last Edit: September 08, 2010, 07:30:33 pm by Deep Thought »




Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #106 on: September 08, 2010, 07:32:04 pm »
To read and write to L1 and all other mem locations except variables, remember the braces...

Sorry would like to clarify, i would like to write to L1 without by chance rewriting some of the A-Z vars

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 #107 on: September 08, 2010, 07:32:57 pm »
Just don't write to anything behind L1. A through Z are right behind L1, starting at L1-56.
« Last Edit: September 08, 2010, 07:34:56 pm by Deep Thought »




Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #108 on: September 08, 2010, 07:33:53 pm »
L1 points to the start of 712 bytes of RAM you can use for whatever you please. The variables take up space in memory just before L1, so just make sure that all the data you store is at position L1 or greater.

Edit: ninja'd
« Last Edit: September 08, 2010, 07:34:11 pm by Runer112 »

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #109 on: September 08, 2010, 07:35:01 pm »
Just don't write to anything behind L1. A through Z are right behind L1.
Ohhhh ok I remember reading somewhere that someone overwrote those vars by accident using L1. Thanks! Will now get back to coding, may actually finish this on time now.

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 #110 on: September 08, 2010, 07:37:28 pm »
I never understood it. So L1-56 is A, right? That means there are 56 bytes between A's low byte and L1. But at two bytes a var, A through Z and θ would only take up 54. So what are the last two bytes used for?




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #111 on: September 08, 2010, 07:41:22 pm »
I believe they are used for the random seed, although im not positive.

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 #112 on: September 08, 2010, 07:48:39 pm »
Not help on how to use create arrays, just being able to write and recall L1, i've tried it by myself but it doesn't seem to work properly.  ??? I think I'm just doing something small wrong.

By the way i had it posted on the Axe thread, I'll go delete it now
Do you mean the entire game was posted there?

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Who is entering the Axe Parser programming contest?
« Reply #113 on: September 08, 2010, 08:09:19 pm »
Not help on how to use create arrays, just being able to write and recall L1, i've tried it by myself but it doesn't seem to work properly.  ??? I think I'm just doing something small wrong.

By the way i had it posted on the Axe thread, I'll go delete it now
Do you mean the entire game was posted there?

No just the details of the problem.

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 #114 on: September 08, 2010, 08:59:42 pm »
Oh ok, good, because if it was the game, you would have needed to do some modifications to it to not get disqualified x.x (like Snake_X)

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Who is entering the Axe Parser programming contest?
« Reply #115 on: September 09, 2010, 12:49:45 am »
*cough*gRaViTy*cough*

:D
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #116 on: September 09, 2010, 01:19:56 am »
Yeah about that one... I seriously hope this year there aren't any sort of e-mail issues causing files to not arrive at destination in time or something like that. Sadly, I do not know how to check if they were really sent at the deadline or not. This is a bit why I recommend sending them a bit sooner, in case, not to mention at the very last minute, if you get a RAM clear or something, you're screwed :/

Last year, also, there was another entry that got submitted that would have been our only pure ASM entry, but it was disqualified because the contest rules required people to make a platformer. However, Bejewelled is not a platformer, and it was totally broken (up arrow acted as left, down did nothing, right went in random directions, and so on x.x).

I also recommend that if you,re certain the entry is fine, to not wait to submit it, because I'll most likely start checking what I got before the deadline, unless I receive an update on a specific entry. That way, that will eliminate delays between the deadline and the survey/judging startup.

EDIT: I also hope they send it at the right e-mail address.
« Last Edit: September 09, 2010, 01:23:50 am 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 #117 on: September 10, 2010, 10:50:33 pm »
I have bad news....Ram reset :'(

I hate the nspire for that. Everything lost because MSD8x doesn't work and it's impossible to do a ram clear from a crash, only RAM and Archive, so no recovery. Even though I had everything archived, and it was a simple crash that a RAM clear could have fixed, Doom to my project.

I still have the concept for my 9-level and 12-level grayscale though.

yeah, I don't think I'm entering the contest :P I managed to smooth out the 9-level grey though, but the 12-level is so lined up that you can't tell the shades apart :P

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 #118 on: September 10, 2010, 10:53:52 pm »
Sorry to hear, this is why I always recommend doing backups elsewhere, because on-calc it is not always reliable :/

I also hate how the Nspire does that. Did you try the reset button on the back, though? Sometimes that works

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 #119 on: September 10, 2010, 10:57:43 pm »
That brought up the "Reset All Ram and Archive" Menu. I'm using Version 1.6

Is there any way that USB8x could be made to run on the nspire? I think I would prefer that as to connecting to the computer, because I can back up my stuff on the go.