Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - calcdude84se

Pages: 1 ... 153 154 [155] 156 157 ... 161
2311
Axe / Re: Help: Screenshotting program ends up screensh*tting
« on: May 21, 2010, 10:25:58 pm »
pretty much. and "If" is about the equivalent of "If Ans"

2312
ASM / Re: OS Programming
« on: May 21, 2010, 10:25:12 pm »
I'm stuck. How does dual booting work? I can't seem to figure it out...

2313
Humour and Jokes / Re: Weird/funny pictures thread
« on: May 21, 2010, 10:19:07 pm »
So, after 10.5 years, they've finally rejected me.
lol :)

2314
Axe / Re: Help: Screenshotting program ends up screensh*tting
« on: May 21, 2010, 10:16:54 pm »
no, calling GetCalc(Str1,768) creates vPIC it if it doesn't exist, deletes it and recreates it if it does, and then proceeds to return the pointer to the 768 bytes of data.
And yeah, variable management can be difficult. The "correct" way to create an appvar is a bit unwieldy, as this code that loads the value in an appvar demonstrates:
Code: [Select]
"vSCORE"->Str1
GetCalc(Str1)->X
.If it's non-zero, we're good, otherwise it's archived or non existent.
!If
    UnArchive Str1
    .If 0, it failed. Try to create the appvar
    !If
        GetCalc(Str1,2)
        .If it's 0, not enough RAM. Err and give up.
        !If
            "Not enough RAM"->Str2
            Disp Str2,i
            Return
        End
    End
    GetCalc(Str1)->X
    .This next If should never be reached
    !If
        "Serious Error"->Str3
        Disp Str3,i
        Return
    End
End
.X should now contain the pointer to the data. Phew!
Even w/o comments and indents, it still looks like this:
Code: [Select]
"vSCORE"->Str1
GetCalc(Str1)->X
!If
UnArchive Str1
!If
GetCalc(Str1,2)
!If
"Not enough RAM"->Str2
Disp Str2,i
Return
End
End
GetCalc(Str1)->X
!If
"Serious Error"->Str3
Disp Str3,i
Return
End
End
Oh, if an If has on condition following it, it's the condition on the previous line.

2315
Math and Science / Re: MIT courses online!
« on: May 21, 2010, 09:50:43 pm »
wow. that's an incredible optimization. surprised you can't use it, though.
well, sounds nice anyway

2316
Axe / Re: Help: Screenshotting program ends up screensh*tting
« on: May 21, 2010, 07:45:18 am »
I don't think you need the first "GetCalc" (did someone already say that?) and the "DispGraph" at the end seems superfluous, but it should work. Let me try...
Also, scrnview should have that last Str1 (the one in the conj( line) be M also.
As an afterthought, though I doubt this is your problem, just be aware that if there isn't enough free ram when you try to create vPIC, nothing will actually be created (since you are then proceeding to try to write to ROM, nothing bad will happen.)

2317
TI Z80 / Re: TI Basic Editor
« on: May 21, 2010, 07:26:22 am »
Not to mention hard-coding normally makes code more inflexible and difficult to debug.
This is coming along nicely. I'm looking forward to a screenshot. :)

2318
TI Z80 / Re: TI Basic Editor
« on: May 20, 2010, 08:16:45 pm »
Another good suggestion is to have 89-style line clearing, where pressing clear from the middle of a line removes everything from there to the end, and pressing it from the beginning or end clears everything.

2319
And that would be very, very bad. We just need to stay out of TI's way unless they're obviously wrong, like they were with invoking the DMCA in the key-signing controversy. That might be difficult though, actually trying to prevent something from being able to be done. TI was never very successful at this. (Every graphing calc they have released w/o ASM has been hacked to run ASM, except the TI-80 and other ones that I don't know about and probably aren't as important)

2320
Other Calculators / Re: What is *Pure* TI-Basic
« on: May 20, 2010, 07:28:59 am »
Wow, this is really sparking a lot of debate. I think I'll revise my definition of "Pure" to allow lowercase letters, greek characters, etc.
Yeah, I guess it's kind of ridiculous to say those versions of Illusiat aren't pure BASIC.
(* calcdude apologizes for getting over-excited earlier.  :-[)

2321
Other Calculators / Re: What is *Pure* TI-Basic
« on: May 19, 2010, 08:25:33 pm »
ASM-Less! ASM-Less! They run in the interpreter without any help! ...
(I had another really annoying conversation today about what a certain word/phrase meant. Meh.)

2322
Other Calculators / Re: What is *Pure* TI-Basic
« on: May 19, 2010, 08:11:49 pm »
I oppose DJ and say that pure BASIC what is type-able with the BASIC editor, which means no hacked vars. However, I guess one could say I hold a mixed opinion because I consider another version of BASIC to be what is runnable w/TI's interpreter.
So (in my levels of purity):
Pure BASIC - No hacked vars, type-able by hand
ASM-less BASIC - no libs or hooks, but hacked vars are allowed
Type-able BASIC - includes hooks, such as Celtic III and xLIB (still includes hacked vars, though)
Hybrid BASIC - anything that can be started like "prgmNAME" on the homescreen w/o a special hook

2323
Math and Science / Re: MIT courses online!
« on: May 19, 2010, 05:29:35 pm »
That's nice. Now I know where my next few hours online (not necessarily continuous) will be.
EDIT: Oh, wait, these are 40min lectures. Let's make the next day or so

2324
The Axe Parser Project / Re: Features Wishlist
« on: May 19, 2010, 07:42:22 am »
Probably the same way appvars are: with storage into strings.
You'll have to ask quigibo for how he actually plans to do it, but it seems you'd have something like:
"Str8"->Str1
If GetCalc(Str1)->X
{X-2}r->S
X+S-1->E
For(A,X,E
Disp {A}->Frac
End
End
Disp i
Which would display Str8's contents on the homescreen, or nothing if non-existent/archived.

2325
The Axe Parser Project / Re: Features Wishlist
« on: May 19, 2010, 07:24:02 am »
The TI-Basic variables, if I understand it correctly

Pages: 1 ... 153 154 [155] 156 157 ... 161