Author Topic: Features Wishlist  (Read 606944 times)

0 Members and 2 Guests are viewing this topic.

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 #3015 on: March 18, 2012, 01:34:58 am »
No, I was wondering if it could so the coder doesn't need to press the extra button each time.  Tho I can see how it can be helpful.. hence the request for an option :)

Or, maybe don't display it if Fullrene/Crabcake is being used?
Vy'o'us pleorsdti thl'e gjaemue

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Features Wishlist
« Reply #3016 on: March 18, 2012, 05:06:21 am »
I know it has been requested many times and you answered "It is not any slower than the old method" but could you add an option to disable the progress bar while compiling ? I compiled Pokemon with 1.0.5 and with 1.1.2 and it takes longer with 1.1.2 (or maybe I counted faster :P).

(I recorded gifs but they have to start at the same time if you want to compare speed).

« Last Edit: March 18, 2012, 06:08:14 am 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 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 #3017 on: March 18, 2012, 12:15:11 pm »
It might help to keep in mind that there's other changes in the parser too that could cause the slowdown, not just the progress bar. ;)
Vy'o'us pleorsdti thl'e gjaemue

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 #3018 on: March 18, 2012, 05:20:08 pm »
Hmm... I guess I did have it update twice as often to make it smoother, so I can reduce the updating a little more to be like how it was.  However, I was actually thinking of optimizing the peephole opts into a lookup-table so that it performs significantly faster than the current linear search through all the opts.  It might even be possible to compile at nearly the same speed as the zoom option, in which case I could remove that feature, but that's optimistic, we'll see.

And Darl, I see what you mean now.  Since the size is now computeable during the first pass, I can show the message during the 2nd pass rather than after.  That's a good idea, I'll add this in the next update.
« Last Edit: March 18, 2012, 05:21:10 pm by Quigibo »
___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 #3019 on: March 18, 2012, 06:14:28 pm »
Hmm... I guess I did have it update twice as often to make it smoother, so I can reduce the updating a little more to be like how it was.  However, I was actually thinking of optimizing the peephole opts into a lookup-table so that it performs significantly faster than the current linear search through all the opts.  It might even be possible to compile at nearly the same speed as the zoom option, in which case I could remove that feature, but that's optimistic, we'll see.

And Darl, I see what you mean now.  Since the size is now computeable during the first pass, I can show the message during the 2nd pass rather than after.  That's a good idea, I'll add this in the next update.
I wouldn't remove the Zoom option. It's useful for checking to see if the bug was caused by the peephole ops.
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 #3020 on: March 18, 2012, 06:23:37 pm »
Hmm... I guess I did have it update twice as often to make it smoother, so I can reduce the updating a little more to be like how it was.  However, I was actually thinking of optimizing the peephole opts into a lookup-table so that it performs significantly faster than the current linear search through all the opts.  It might even be possible to compile at nearly the same speed as the zoom option, in which case I could remove that feature, but that's optimistic, we'll see.

And Darl, I see what you mean now.  Since the size is now computeable during the first pass, I can show the message during the 2nd pass rather than after.  That's a good idea, I'll add this in the next update.
I wouldn't remove the Zoom option. It's useful for checking to see if the bug was caused by the peephole ops.

Ideally, there will eventually be no bugs caused by the peephole optimizer system. Not having to handle both compilation types would save size as well, allowing for new features. :)
« Last Edit: March 18, 2012, 06:24:45 pm by Runer112 »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3021 on: March 18, 2012, 11:09:03 pm »
Why can't custom constant names start with a lowercase letter? I feel like the reason for not allowing this was only to deal with binary numbers being represented as starting with b, but they aren't any more.


EDIT: Oops, didn't even notice the double post. x.x
« Last Edit: March 18, 2012, 11:10:01 pm 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 #3022 on: March 18, 2012, 11:52:27 pm »
Why can't custom constant names start with a lowercase letter? I feel like the reason for not allowing this was only to deal with binary numbers being represented as starting with b, but they aren't any more.

There isn't a syntax reason.  Mostly, it allows me to use them for other purposes in the future if I ever decide on a use them (such as low level register access, low or high byte access for variables, tables, etc.

To bring back another issue, I am basically going to have to write my own assembler or part of an assembler to build binary trees and hash tables because otherwise it would take forever to code it by hand and have to change every time I add new things to the lists.  But it should be fun.  I'll probably use python since it can do that kind of stuff with just a day or two of coding.  Ignore this statement if you have no idea what I'm talking about, but the biggest part of the compiling time is searching through lists, and this should make that faster.
« Last Edit: March 18, 2012, 11:53:00 pm by Quigibo »
___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 #3023 on: March 19, 2012, 04:59:08 pm »
A Fix command to allow writing text to the 96th column could be nice. [set 4,(iy+$24)] Unfortunately, we're out of 1-digit Fix codes. 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 #3024 on: March 19, 2012, 05:06:24 pm »
Is there any reason against using letters or other characters for Fix codes?
"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 #3025 on: March 19, 2012, 05:10:18 pm »
Quigibo could really make whatever Fix codes he so desired. So letters or 2-digit fix codes are both possible. The question is if he wants to add them, and if so, will users be able to remember them?

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 #3026 on: March 19, 2012, 05:17:02 pm »
Wouldn't 2-digit Fix codes break the syntax that sets multiple Fix settings at once? Or was that syntax removed at some point?
"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 #3027 on: March 19, 2012, 05:20:08 pm »
It appears to still exist... I guess it would have to be removed. Honestly there's no real point to it, all it does is save a few bytes in the source.

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 #3028 on: March 19, 2012, 07:10:29 pm »
It's a pain to type it out. I'd go with letting Fix [letter], myself.
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 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 #3029 on: March 19, 2012, 07:14:18 pm »
In retrospect, maybe it would have been better to make Fix # turn an option on and Fix #r turn the option off. But that would definitely break compatibility now :P
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman