Author Topic: Features Wishlist  (Read 690276 times)

0 Members and 2 Guests are viewing this topic.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #1770 on: January 12, 2011, 02:29:11 pm »
Oh yeah, thanks for reminding me!
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: Features Wishlist
« Reply #1771 on: January 12, 2011, 02:30:14 pm »
I had thought about that too.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1772 on: January 12, 2011, 02:58:49 pm »
Shade({E8447}+24 should do the trick :D
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #1773 on: January 12, 2011, 03:25:34 pm »
Shade({E8447}+24

Could you give me an example of how to use it, please? Thanks much.

If that really works then I don't see the need of adding another command.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1774 on: January 12, 2011, 03:32:03 pm »
You just use it like that :)
It will restore the contrast to what it was at the beginning of the program.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #1775 on: January 12, 2011, 03:50:32 pm »
You just use it like that :)
It will restore the contrast to what it was at the beginning of the program.

Oh! Then that's perfect! I thought you had to set it to a variable or sth.

EDIT: It worked on uPong, thanks much!
« Last Edit: January 12, 2011, 03:52:06 pm by ScoutDavid »

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: Features Wishlist
« Reply #1776 on: January 12, 2011, 06:53:34 pm »
That code would've helped so much in Reuben Quest series. I had to force the user to choose his contrast when starting a game because the tool I used used its own contrast level.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1777 on: January 12, 2011, 09:09:02 pm »
calcdude84se reminded me in IRC of _InsertMem and _DelMem. We both seemed to agree that they're quite useful bcalls and would be quite useful. Any chance of them being officially added? If not I might just end up writing an Axiom for it, although I get the feeling that an Axiom wouldn't be nearly as widely useful as a built-in feature. And I realize that they could be dangerous, but there are so many other ways to RAM clear in Axe already. :P

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: Features Wishlist
« Reply #1778 on: January 12, 2011, 10:01:00 pm »
calcdude84se reminded me in IRC of _InsertMem and _DelMem. We both seemed to agree that they're quite useful bcalls and would be quite useful. Any chance of them being officially added? If not I might just end up writing an Axiom for it, although I get the feeling that an Axiom wouldn't be nearly as widely useful as a built-in feature. And I realize that they could be dangerous, but there are so many other ways to RAM clear in Axe already. :P

^ Seconded (aagin). It would be really useful to people who want to make a dynamic array or something. Is there a way to prevent it from being used on a safeRAM area, though? Maybe have Axe parse the expression for the locaton to insert/delete and throw an error if it contains any of the L1 to L6 things? Unless its in braces, of coures.

EDIT: When did the new poll go up? It seems to be tied in the grays :D
« Last Edit: January 12, 2011, 10:02:14 pm by Deep Thought »




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1779 on: January 12, 2011, 10:02:41 pm »
Checks would just make it slower, so I'm against them.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #1780 on: January 13, 2011, 02:29:14 am »
At this point, I'm not sure how many new features I will have time to add before 1.0.0  I'm just trying to get the Axioms working and its so difficult with so many possibilities and combinations for commands, its almost overwhelming me... but I'm at least halfway done with that luckily.

And I couldn't figure out how to delete the poll... so I just decided to make a goofy question instead :P
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #1781 on: January 13, 2011, 09:10:09 am »
Sorry for a probably dumb question but,
Could there be another safty feature: Safe test:On/Off
When compiling it would check the program for getkey(41).
If the program does not contain, It will compile.
In this compiled version, no matter where you are, pressing on will quit the program.

I am not sure if this can be done, although i am sure it would slow things down.  But it would be great for testing code where speed doesn't matter, without the fear of a ram clear.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Features Wishlist
« Reply #1782 on: January 13, 2011, 12:52:51 pm »
That would also (probably) have to use interrupts; hence you wouldn't be able to use your own interrupts- the parser would have to check for that too. I think MirageOS already has some kind of feature like this (as long as you don't use your own interrupts: ON+MODE) i think?

Regardless, for non-mirage programs that would be useful as well I suppose. How hard would it be to implement?

I felt tempted to add the option Netham45 is a lobster to the poll but I didn't :P.
« Last Edit: January 13, 2011, 12:59:24 pm by squidgetx »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #1783 on: January 13, 2011, 12:58:47 pm »
well I think you could do it really easily with a certain sized piece of code that would reset the stack and return when the On-Interupt was triggered.  I'm not sure but i *think* that this would work even if your program used interrupts, and so I think is a great option for Axe parser and protecting people against infinite loops and the like :)

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: Features Wishlist
« Reply #1784 on: January 15, 2011, 11:59:34 am »
well I think you could do it really easily with a certain sized piece of code that would reset the stack and return when the On-Interupt was triggered.  I'm not sure but i *think* that this would work even if your program used interrupts, and so I think is a great option for Axe parser and protecting people against infinite loops and the like :)

At the beginning of the program:
Code: (Axe) [Select]
:Asm(ED734B8C)

Then, when you want to quit immediately:
Code: (Axe) [Select]
:Asm(ED7B4B8C)
:Return

Haven't actually tried it yet, but that should do it.
« Last Edit: January 15, 2011, 01:37:44 pm by Deep Thought »