• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 617015 times)

0 Members and 2 Guests are viewing this topic.

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 #3075 on: November 29, 2012, 01:39:42 am »
Compiler feature request: having a "variable scanner" baked into Axe Parser (preferably with a toggle so it doesn't take time when you don't want it to) that keeps track of and shows the variables used in the project being compiled.




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 #3076 on: November 29, 2012, 02:45:40 am »
#ifdef and #!ifdef
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 Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3077 on: November 29, 2012, 09:02:03 am »
#ifdef and #!ifdef

I asked for these a while ago, and Quigibo's response was the →→ operator. Is was much simpler code-wise to implement and has a simpler syntax, and we agreed that most of the time you need to know whether a constant has been defined or not, it's so you can define it if it isn't.

Although I think it would be nice to have these more general constructs eventually, hopefully the current solution will work for now. I don't think I have the familiarity with the Axe project to pull off feature as rooted in the compiler as this yet, unfortunately.
« Last Edit: November 29, 2012, 09:05:48 am by Runer112 »

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 #3078 on: November 29, 2012, 04:44:15 pm »
What's →→ ?
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 leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: Features Wishlist
« Reply #3079 on: November 29, 2012, 04:49:55 pm »
If you haven't defined a static variable earlier, you can use →→ to store a constant into that static variable. It's ignored if the static variable does already have a value, so you can use it as kind of #ifdef sort of thing
In-progress: Graviter (...)

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 #3080 on: November 29, 2012, 07:24:52 pm »
What about subroutines?
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 Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #3081 on: December 02, 2012, 06:14:45 pm »
My request is to move the interrupt table to 0x9200 (tableStuff) and out of L2.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Features Wishlist
« Reply #3082 on: December 07, 2012, 05:43:33 am »
My request is someway to do like in Asm :
Code: [Select]
.db labelBecause the only way to put a byte at a precise location is Asm(byte), and this syntax doesn't support Llabel.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3083 on: December 07, 2012, 10:40:00 am »
Matrefeytontias, what would be the purpose of that? Adding a syntax for including label address as inline data seems like an extremely specific thing (one that I'm not even sure I can think of a use for).

Eventually I would like to allow for including any constant expression in the middle of an Asm() block, so you could do something like Asm((LLabel)). But until such a feature is added, is there perhaps a way that you can do what you're trying to do without it?

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Features Wishlist
« Reply #3084 on: December 07, 2012, 10:57:45 am »
I actually have a specific use for that : make an AP-enabled header for my AxeDCS axiom. See http://dcs.cemetech.net for what's an AP program.

It needs a specific DCS header, different to the one provided by Axe - and it includes a label address, the start of the AP section.

I tries to figure all the possible ways, and that's the only one that works.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Features Wishlist
« Reply #3085 on: December 08, 2012, 02:24:07 am »
Feature request: Somehow make it able to use more than 2 byte variables :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Features Wishlist
« Reply #3086 on: December 08, 2012, 07:11:07 am »
Feature request: Somehow make it able to use more than 2 byte variables :D
There is already a lib for adding, substracting and displaying 3 and 4 bytes numbers but I agree that native support for all operations in 3 or 4 bytes would be great :D
« Last Edit: December 08, 2012, 01:05:37 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3087 on: December 08, 2012, 11:05:03 am »
That would be very hard to do, I would imagine. Axe is pretty much entirely built to work with 16-bit values. But just wondering, what kind of things would you want to do with 32-bit values?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Features Wishlist
« Reply #3088 on: December 08, 2012, 01:03:11 pm »
add, subtract(, multiply, devide), display, compare

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Features Wishlist
« Reply #3089 on: December 08, 2012, 01:08:12 pm »
add, subtract(, multiply, devide), display, compare
Substract and display are already present ;)
But multiply, divide and compare are still missing :P

That would be very hard to do, I would imagine. Axe is pretty much entirely built to work with 16-bit values.
Don't try to tell me something is impossible for you, I won't believe you :P

But just wondering, what kind of things would you want to do with 32-bit values?
I can't even imagine all the physics Builderboy could do if he had the precision offered by 3 and 4 bytes.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s