Author Topic: Features Wishlist  (Read 691717 times)

0 Members and 9 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 #2055 on: March 28, 2011, 11:06:21 am »
What about a greyscale paint bucket?
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 squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Features Wishlist
« Reply #2056 on: March 28, 2011, 03:36:48 pm »
SirC's flood-filler would probably be easily modifiable to make grayscale.

IIRC the Circle() routines are coded in such a way that it is very difficult to make it draw on the back buffer.

For For() loops, just use a While loop instead and increment manually, it probably is just as optimized anyway.

As for the flickering on the grayscale, I think Deep Thought already mentioned going across the screen by rows instead of columns as per thepenguin77s grayscale tutorial, so I'll just remention that again ;)

And now I have something I want to say...
People, this has kind of been bugging me. Feature-request-wise, remember that Quigibo is really busy. Complex routines are hard to put in, and most of the time they can easily be written in Axe anyway with a few commands (like the for() and the paint bucket thing). Figure out how to do it yourself; don't just ask for a feature request because you don't want to take the time to code your own routines. Another example: grayscale. Are you really complaining that the shades of gray are too dark/light? It's freaking grayscale on a monochrome screen. Seriously, any asm programmer will tell you that grayscale is a huge pain to program correctly and IMHO we should be grateful that we have it as good as it is. I'm talking to everybody here. I feel like some people are taking Quigibo for granted, and imo something like a paint bucket is in no way really important enough to merit its own command. Something like bit-manipulation, label-addresses or switch-statements or big-endian nibble reads hint hint hint are more appropriate candidates for feature requests. And did someone really ask for multitasking?

I guess what I'm really trying to say, is just try and think about what you are asking for before you post, and whether or not it's practical. Then think about how you could code it; a lot of things are not difficult to code by hand anyway. Some languages don't even have for() loops, for example. And when you do post, try to explain what you are talking about. Not everyone knows what the phrase "stateful goto" or "try/catch" means.

Sorry to rage like this but I felt the need to say it. No offense to anyone intended. :) Also I do not want to start any kind of war or fight so if you have a problem with this, rate it down and pm me. Leave it off the forums, thanks  :)

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Features Wishlist
« Reply #2057 on: March 28, 2011, 03:48:52 pm »
You're right, squidgetx. We need to start thinking realistically here... And for many routines (such as floodfill), writing an Axiom would be the perfect solution. Then it can even have its own command if needed without stressing quigibo
There's something about Tuesday...


Pushpins 'n' stuff...


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 #2058 on: March 28, 2011, 04:01:00 pm »
My bad. I now resolve to be more explanatory/serious in the future.
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 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 #2059 on: March 28, 2011, 04:20:27 pm »
Also, I'm again pushing the request through for getting the address of a label.
I really like this idea too. :)

What about a buffer swap command instead of implementing bunch of <command>r's?
You could just use Exch(L3,L6,768) for this. ;)

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 #2060 on: March 28, 2011, 04:23:09 pm »
What about a buffer swap command instead of implementing bunch of <command>r's?
You could just use Exch(L3,L6,768) for this. ;)
I had forgotten about Exch(. This certainly makes my programs smaller.
« Last Edit: March 28, 2011, 04:23:19 pm by Freyaday »
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!

Ashbad

  • Guest
Re: Features Wishlist
« Reply #2061 on: March 28, 2011, 05:14:55 pm »
... And did someone really ask for multitasking?

O.o

That and paint bucket commands... lol.  I can just say lol.

Indeed people -- if you really want these routines fixed to your expectations, get an assembler and write up an axiom!  Squidget is right, some of these requests are a bit... farfetch'd.  However, there are some things which must be included into the actual compiler -- reading label addresses is pretty much impossible in an axiom, but quigibo is probably adding them anyways, once he figures out a nice and optimized way to do so ;)

EDIT: and also, freyaday, if you want better grayscale, you can write an axiom that changes the 11011011b and 00100100b scanlines to 11110011b and 00001100b ones ;)
« Last Edit: March 28, 2011, 05:18:44 pm by Ashbad »

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 #2062 on: March 28, 2011, 06:46:09 pm »
Speaking of which, I think it is now time to start an "Axiom Request" thread for requests such as the paint bucket, which legitimately would be a lot better as an assembly command, but wouldn't be used enough to justify being part of the standard language.  It would also be a good to keep a list of Axioms created so far so people have access to those.

The highest priority requests to me right now are actual features of the compiler, user interface improvements, and language control features.  Commands are low priority right now unless they are absolutely essential or super easy to implement since this is what Axioms are for.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #2063 on: March 28, 2011, 07:36:02 pm »
Oh, Returning the program file to existence before Archiveing the backup, and letting the parser recognize (and perhaps automatically Archive) backups that are in RAM.
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 ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Features Wishlist
« Reply #2064 on: March 28, 2011, 08:05:37 pm »
I still think a "jump to label" from the compile menu would be a handy feature. Maybe like pressing PRGM in the compile menu would display a list of the labels in the program and allow you to quickly jump to a label in your program. It would be much faster than going through the actual PRGM menu and having to scroll through and find the section of code you want to look at. I know this wouldn't be an incredibly necessary feature, just a convenience thing...And it certainly shouldn't be a priority over other features that actually improve the Axe language :P
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2065 on: March 29, 2011, 07:38:23 pm »
The Axiom system is great. Things like automatic jump and call replacements and manual 16-bit load replacements are great, which even the hard-coded Axe commands cannot do. But there's one thing that internal Axe commands can do whereas Axioms can't that I would love to be able to do. Would it be possible to add a new internal Axiom compiler feature that allows calls to be made with offsets? Perhaps a new macro like ld b,b \ .db BYTE \ .org $-2? Because this would be incredibly useful for calling a command in slightly different ways, like you often use with an optional buffer argument for drawing commands.
« Last Edit: March 29, 2011, 07:40:33 pm by Runer112 »

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Features Wishlist
« Reply #2066 on: March 30, 2011, 10:27:38 am »
I have a feature request that would significantly reduce the size of Axe programs: automatically calculate constants. For example, L1+4 is a constant, but when Axe encounters it, it loads L1, then adds 4, instead of simply loading the end value. So, when Axe encounters a string of constants in the program, it actually runs through the operations of adding, subtracting, multiplying, and dividing until a variable is encountered. For example,
Code: (Axe) [Select]
{L1+5}→{L3+2}
should parse as:
Code: (ASM) [Select]
ld hl,saveScreen+5
sto hl,appBackupScreen+2
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



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 #2067 on: March 30, 2011, 12:13:35 pm »
Doesn\'t it already do that? It also precalculates things like +L1-8 by adding (L1-8) together.

If it doesn\'t do this in the new version, it\'s a bug.




Ashbad

  • Guest
Re: Features Wishlist
« Reply #2068 on: March 30, 2011, 01:13:24 pm »
I still think a "jump to label" from the compile menu would be a handy feature. Maybe like pressing PRGM in the compile menu would display a list of the labels in the program and allow you to quickly jump to a label in your program. It would be much faster than going through the actual PRGM menu and having to scroll through and find the section of code you want to look at. I know this wouldn't be an incredibly necessary feature, just a convenience thing...And it certainly shouldn't be a priority over other features that actually improve the Axe language :P

I second that. :thumbsup:

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Features Wishlist
« Reply #2069 on: March 30, 2011, 04:06:39 pm »
Doesn\'t it already do that? It also precalculates things like +L1-8 by adding (L1-8) together.

If it doesn\'t do this in the new version, it\'s a bug.
I should probably look at dissassembled code before I make guesses of that. But if it doesn't have that in there, that would still be super nice.
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com