Author Topic: Features Wishlist  (Read 694986 times)

0 Members and 7 Guests are viewing this topic.

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 #1110 on: August 20, 2010, 05:18:13 pm »
Break and Switch are great ideas in my mind.  I also was visualizing some sort of breakpoint command?  Where you could pause execution, view the variables, and do other sorts of things.  Its highly conceptual right now though, what do you guys think?

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 #1111 on: August 20, 2010, 05:36:10 pm »
Switch would be a great addition, but don't know about break. We could always just Goto our way out of the loop.




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 #1112 on: August 21, 2010, 11:29:00 am »
That, however, requires extra labels, and remember, Goto is bad :P
Edit: It's less that Goto is bad than we have to come up with extra label names for somewhere we shouldn't need to :)
« Last Edit: August 21, 2010, 11:30:10 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 LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #1113 on: August 21, 2010, 02:11:53 pm »
Could you perhaps impelement "Goto End" as Break? on this code it would jump to the next End that is read. Is that a good idea?
« Last Edit: August 21, 2010, 02:12:13 pm by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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 #1114 on: August 21, 2010, 03:43:14 pm »
That sounds like it could work. Though it wouldn't necessarily be the next End, since If's don't count, not being looping constructs.
Also, it would be nice to be able to specify how far out to go, possibly like "Goto End(3)" to break out of three loops. (This is constant, of course. "Goto End(X)" won't compile, just like "getKey(X)" won't.)
What token would work after Goto for a continue, though, since there's more than one looping construct?
"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 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 #1115 on: August 21, 2010, 05:02:59 pm »
The InsertMen and DeleteMem commands I was considering to add at one time, but then I realized that you can do basically the exact same thing by creating an appvar, string, program, etc. in ram and then delete it when you're done to get a quick temporary variable without any extra syntax.
But this doesn't allow me to, for example, create a program and write a variable amount of data into it. I would have to create a whole new program every time, copy over the old data, and delete the original. I'd rather just like to be able to insert or delete memory as I need to.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #1116 on: August 23, 2010, 09:15:55 am »
That sounds like it could work. Though it wouldn't necessarily be the next End, since If's don't count, not being looping constructs.
Also, it would be nice to be able to specify how far out to go, possibly like "Goto End(3)" to break out of three loops. (This is constant, of course. "Goto End(X)" won't compile, just like "getKey(X)" won't.)
What token would work after Goto for a continue, though, since there's more than one looping construct?
Can't "Goto End(EXP)" also be used for If's? that would perhaps be more convenient for the compiler, but of course I don't know how the compiler exactly is handling End commands...

perhaps the token "Connected" could be used for continue? and otherwise "IS>("? that would be handy because of it's location (prgm -> A)
« Last Edit: August 23, 2010, 09:18:16 am by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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 #1117 on: August 23, 2010, 09:48:04 am »
An indexed Connected would be nice, and the name could be changed. As for "Goto End" taking If's into account, I guess that would be okay if it makes things easier for the compiler. I don't know how it works internally either ;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 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 #1118 on: August 25, 2010, 02:01:12 pm »
An indexed Connected would be nice, and the name could be changed. As for "Goto End" taking If's into account, I guess that would be okay if it makes things easier for the compiler. I don't know how it works internally either ;D

But then there's the problem of nested loops having the same expression. Stuff like
Code: (Axe BASIC) [Select]
...
:While U>4
:U-1→U
:While U>4
...

Obviously, this probably isn't the best example :P but there are times when someone'd need two loops with the same condition. It'd be a lot easier to just put an extra label at the end and Goto it when we need to for a break, or do it at the beginning of the loop for a continue. Labels don't add to the executable size, anyway, and I don't think there are any problems with Goto'ing out of a loop...
« Last Edit: August 26, 2010, 12:46:35 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 #1119 on: August 25, 2010, 09:58:52 pm »
I'm not sure how that would prevent it :)
As for just using Goto, yes, it's the same size, but it's more convenient to have break and continue :)
"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 andrepd

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 19
  • Rating: +0/-0
    • View Profile
Re: Features Wishlist
« Reply #1120 on: August 26, 2010, 12:12:51 pm »
Tilemapping is a must. Even though with good optimization it is possible in axe, programming it natively in Asm and implementing a command for it is, of course, easier and *much* faster...

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 #1121 on: August 26, 2010, 12:49:54 pm »
I think it depends, though. I recall some functions weren't much faster and smaller when done automatically rather than manually, simply because they were the exact same thing. However, writing a tilemapper can be hard, especially with half-byte compression, some people struggle at it and I feel that since Axe is game-oriented, it would be a very nice feature to add to 1.0.0 or 1.0.1

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Features Wishlist
« Reply #1122 on: September 04, 2010, 06:39:24 pm »
I wonder if we could manipulate variables Pic of the calculator, because it did not seem to have been added (from the documentation).
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

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 #1123 on: September 04, 2010, 06:43:47 pm »
I am curious if this could be added as well. Right now it's possible to just use DispGraph then run a BASIC program to store to a pic var, but that won't let us store to hacked pics... not to mention it would be nice to do in pure Axe, too.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Features Wishlist
« Reply #1124 on: September 04, 2010, 07:20:45 pm »
Yeah, storing hacked pics would be amazingly useful, especially if we could get them to store the 64th row. That would make Pokemon TI's tile data a heck of a lot smaller.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.