• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 691920 times)

0 Members and 4 Guests are viewing this topic.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2445 on: July 16, 2011, 02:13:57 pm »
Yeah, with about 5 subprograms, each from ~2kb to ~6kb, it's nice to keep them archived.
(esp as the executable gets in the 20000s, constant "ERR:OUT OF MEM" things :P)
Actually, if the program you're compiling to exists in Archive, Axe will compile it to archive.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Features Wishlist
« Reply #2446 on: July 16, 2011, 03:40:03 pm »
Not really a feature request, but I noticed that the syntax for returning the address of a label is...
Code: [Select]
∟LBL
...whereas the syntax for returning the address of a variable is...
Code: [Select]
°VAR
...which seems kind of inconsistent to me.

I don't really care if this gets changed or not -- just commenting :)
« Last Edit: July 16, 2011, 03:40:33 pm by Michael_Lee »
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: Features Wishlist
« Reply #2447 on: July 17, 2011, 08:19:57 am »
I don't if it was mentioned before, but I would like to use Text( on the backfuffer, too...

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2448 on: July 17, 2011, 12:23:36 pm »
Drawing text to the back buffer isn't possible with TI's text routines. Axe programs and just about every sane coder use TI's built-in text routines instead of writing their own to save a large amount of effort and size.

To write text to the back buffer with routines that only draw to the front buffer, you can do something fancy like back up 6 rows of the front buffer, draw the text into those 6 rows, copy those 6 rows into the back buffer, and then restore the rows on the front buffer. But that's a really roundabout way to draw text to the back buffer.

The alternative is to write your own text routine. Whether you do it in Axe or assembly, it will probably take up a lot of space, but if you absolutely must be able to draw text easily to the back buffer, this is the way to go.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: Features Wishlist
« Reply #2449 on: July 17, 2011, 01:00:20 pm »
Oh, I didn't know that this is so difficult to do...

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 #2450 on: July 17, 2011, 02:42:18 pm »
Not really a feature request, but I noticed that the syntax for returning the address of a label is...
Code: [Select]
∟LBL
...whereas the syntax for returning the address of a variable is...
Code: [Select]
°VAR
...which seems kind of inconsistent to me.

It is annoying, but °LBL looks like (°L)(B)(L) :/




Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #2451 on: July 17, 2011, 02:49:04 pm »
Not really a feature request, but I noticed that the syntax for returning the address of a label is...
Code: [Select]
∟LBL
...whereas the syntax for returning the address of a variable is...
Code: [Select]
°VAR
...which seems kind of inconsistent to me.

It is annoying, but °LBL looks like (°L)(B)(L) :/
Axe 1.0.0 supports named variables ^^
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2452 on: July 17, 2011, 02:49:16 pm »
Actually the problem is that you can have labels and constants with the same name. The following is perfectly valid code:

Code: [Select]
Zeros(128)→°Map
Lbl Map

The address of the 128-byte map would be °Map while the address of the label would be ʟMap.
« Last Edit: July 17, 2011, 02:50:23 pm by Runer112 »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #2453 on: July 17, 2011, 03:17:33 pm »
Yeah, with about 5 subprograms, each from ~2kb to ~6kb, it's nice to keep them archived.
(esp as the executable gets in the 20000s, constant "ERR:OUT OF MEM" things :P)
Actually, if the program you're compiling to exists in Archive, Axe will compile it to archive.
Never does for me.  Even if there's an existing one in archive it overwrites it with a program in RAM.
Vy'o'us pleorsdti thl'e gjaemue

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #2454 on: July 17, 2011, 06:23:11 pm »
Yeah, with about 5 subprograms, each from ~2kb to ~6kb, it's nice to keep them archived.
(esp as the executable gets in the 20000s, constant "ERR:OUT OF MEM" things :P)
Actually, if the program you're compiling to exists in Archive, Axe will compile it to archive.
Never does for me.  Even if there's an existing one in archive it overwrites it with a program in RAM.
Yeah, Axe only compiles to RAM.  It can, however, read source from archive.

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 #2455 on: July 18, 2011, 07:56:35 am »
Actually the problem is that you can have labels and constants with the same name. The following is perfectly valid code:

Code: [Select]
Zeros(128)→°Map
Lbl Map

The address of the 128-byte map would be °Map while the address of the label would be ʟMap.

An idea: what about combining the two? Might be a bit confusing at first but I think duplicate names between variables and labels shouldn't be allowed. But then we couldn't use one-character lettered/theta labels...
« Last Edit: July 18, 2011, 07:56:49 am by Deep Thought »




Ashbad

  • Guest
Re: Features Wishlist
« Reply #2456 on: July 18, 2011, 08:18:42 am »
I actually think it's fine.  Good naming convention will keep you from this anyways (for data, always start with a S for string, D for hex delimited data; Data( is rarely used so do whatever with that).  You shouldn't be naming them the same things anyways; it's a horrible computer coding practice, why should it be okay for Axe even if it is allowed?  I stick with the original degree symbol and list symbol for doing the same thing but for different applied entities.  Like in Perl, PHP, Ruby, and many others, different sigils apply to different variables based on what type they are (though in Ruby it means scope); I think Axe's 'sigils' for finding address are good for differentiation.
« Last Edit: July 18, 2011, 08:19:43 am by Ashbad »

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Features Wishlist
« Reply #2457 on: July 18, 2011, 09:02:48 am »
make Axe compatable with gCn 1.0
This used to contain a signature.

Ashbad

  • Guest
Re: Features Wishlist
« Reply #2458 on: July 18, 2011, 09:03:54 am »
make Axe compatable with gCn 1.0

That's a job for an axiom.

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Features Wishlist
« Reply #2459 on: July 18, 2011, 09:05:46 am »
make Axe compatable with gCn 1.0

That's a job for an axiom.

how to make Axioms but I use them some like crabcake
Write one then if you can Ib dont know
This used to contain a signature.