• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 691877 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: Features Wishlist
« Reply #1005 on: July 26, 2010, 11:50:09 am »
I'm a bit confused about how to read from the Archive.  Let's assume that I want to read data from AppVar MyAppV, which is archived.  How would I do this?  And could I exploit this, possibly with some dummy entries in the VAT, to force a page swap?

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 #1006 on: July 26, 2010, 11:55:01 am »
Code: [Select]
GetCalc("appvMyAppV",Y1
{Y1-2}r-1->S
For(X,0,S
Disp {Y1+S}>Char
End
Also, as far as I can tell, the actual reading is done with a bcall (that should probably be changed), which means the page would be switched back. It could be possible, but, as above, I'd like official support for page-address pointer pairs.
« Last Edit: July 26, 2010, 11:55:33 am by calcdude84se »
"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 Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1007 on: July 27, 2010, 03:39:10 am »
By the way, the reason I can't draw the circle or line to the backbuffer is that the routines are hardwired into the primary buffer and are not possible hijack like my other routines.  For instance, the sprite drawing routine defines what buffer it will draw to in the very beginning of the routine so all I have to do is define a different buffer before calling it and then call the routine a little further down than it's normally called, skipping the part about the regular buffer, to hijack it with the new buffer.  This isn't possible with the circle or line since the buffer is defined in the middle.  I would have to write entirely separate routines since they can't share and it would inflate the code.

Ah ha! I found it! I knew you posted something like this a while ago. It sounds like drawing sprites to an arbitrary buffer would be a pretty quick feature to implement  ;)
« Last Edit: July 27, 2010, 03:47:39 am by Runer112 »

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 #1008 on: July 27, 2010, 03:58:16 am »
Alright!  Alright!  I'll include it in 0.4.1 since you're helping me debug that other problem and since I need things to add and this is extremely easy.  The syntax will be Pt-On(X,Y,Pic1)→BUFF.  I can also use a similar technique with ClrDraw and DrawInv, but I'm not sure if I'll have time for that right now.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1009 on: July 27, 2010, 05:19:50 am »
Yay! :D I wouldn't worry too much about ClrDraw or DrawInv, as those can be done pretty easily and quickly anyways.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Features Wishlist
« Reply #1010 on: July 27, 2010, 10:51:25 am »
yeah, clearing can be done by setting the buffer to 0, and inverting can be done by xor'ing all the bytes with 0xFF.  I don't really see the point, but I guess it could be useful.  So I'm guessing buff->DispGraph is for displaying?

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Features Wishlist
« Reply #1011 on: July 27, 2010, 10:53:00 am »
Safty features, I hate how if I make a disp A with no dec at the end, I am screwed with the eternal text displaying

SirCmpwn

  • Guest
Re: Features Wishlist
« Reply #1012 on: July 27, 2010, 11:30:32 am »
I still don't feel comfortable with arbitrary jumping because its generally dangerous and isn't really useful to the average programmer.

This is all fine, if you only want Axe to be used by the average programmer.  If you never want Axe to be used for advanced purposes, this is perfectly fine.  But getting label values with L and calling arbitrary subroutines would be quite useful for a myriad of purposes, and it would be useful for tons of competition purposes, too.  If you are concerned with people screwing it up, put it in an "Advanced Commands" section or something.  This kind of thing would open Axe up to serious programmers, for serious purposes.

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: Features Wishlist
« Reply #1013 on: July 27, 2010, 01:28:39 pm »
Shaky ground you treadin' on, SirCmpwn. Mind that post's sharpness.

In any case, I would suggest _player's idea of keyhooking the COMPILE command in Axe.
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 Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Features Wishlist
« Reply #1014 on: July 27, 2010, 01:47:42 pm »
That was a little sharp SirCmpwn, try to remember to remain polite. I do agree though I would like that feature.
I would also like the keyhook for compiling. :D
/e

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 #1015 on: July 27, 2010, 03:59:43 pm »
Qazz, it only messes up what's displayed, it doesn't crash. Putting such features could be difficult because Disp A could actually be useful. Not much can be done there ;D
As for using labels literally, yeah, it probably should be reserved as an "advanced use."
The suggestions I've given (definitely "address-of" and less likely advanced operations for "files" (or what I'm calling extended pointers)) probably don't need to be given any "advanced" label, though.
I agree a keyhook to compile would be nice. :)
"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 Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #1016 on: July 27, 2010, 05:24:48 pm »
This is all fine, if you only want Axe to be used by the average programmer.  If you never want Axe to be used for advanced purposes, this is perfectly fine. This kind of thing would open Axe up to serious programmers, for serious purposes.

Calm down SirCmpwn, this is Quigibo's program and he's going to support the features he deems necessary.  He is keeping in mind all of his users, and if he doesn't support a feature you want, dont get angry.  It really has very little practical support and could cause more trouble than its worth.  If you really need it super badly you can always write some Asm code to do it for you, Axe is as advanced as you make it.
« Last Edit: July 28, 2010, 12:03:13 am by Raylin »

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 #1017 on: July 27, 2010, 06:06:27 pm »
I think if advanced commands are added, there should be an advanced section and a warning that those commands are only for experts. Maybe in a different readme file or something. Axe is meant for people who want an easy language like TI-BASIC, so hard commands should probably have a special section. That said, those commands are not a priority at the moment, I think, since Quigibo is focusing on the ease-fullness. I personally find fixed points hard enough x.x so I stayed away from them.

After the new token thing, I learned that it would be best to let Quigibo add features in order he decides to add them or that he wants the majority to add them (poll). I think it is already pretty good, else it would never have been featured on ticalc.org and it would not have 6000 posts. It's not a good idea to badmouth him for not wanting to add a feature, not that it would make the feature get added necessarly, anyway.

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 #1018 on: July 27, 2010, 06:17:36 pm »
Well I didn't find it that rude, and its nice to see some criticism for a change, I was getting worried  ;)

There are a few technical considerations because its not as simple as a number substitution since the labels aren't actually well defined until the end of the first pass, so its a little more difficult.  That also means the "label values" start using up the available space for label names (there is a 150 name limit for labels).  Secondly, just getting the value of the label is not very useful unless you can actually jump or call to that address.  I'd like to see you propose an intuitive syntax for that since I can't think of a good one off the top of my head.  Lastly, it allows for arbitrary execution of assembly code which is against the rules of the contest if that's what you were planning to use it for.

EDIT: Also, I reset the poll since it was getting old and moldy.
« Last Edit: July 27, 2010, 06:25:25 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #1019 on: July 27, 2010, 06:22:21 pm »
Yeah it would be against the rules. There are actually other ways to run ASM, too, apparently, as player mentionned to me once, but that would still be against the rules, too (same for every potential exploits people find)

As for features, you should add 64 level grayscale, pixel shading/ambient light 3D textures and 150 MHz Nspire 84+ emulation mode to the poll.
« Last Edit: July 27, 2010, 06:23:15 pm by DJ Omnimaga »