View previous topic :: View next topic |
Author |
Message |
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Fri Jun 12, 2015 3:43 am Post subject: CE Auto Assemble Feature Suggestion |
|
|
In auto assemble window when writing a script, it can get pretty tiring to registersymbols and then unregister them especially with long scripts.
It would be pretty nice to have a button in Template menu or maybe make a new menu (Insert) that will have the option RegisterSymbol and a window pops up asking for what you want to name the symbol. The symbol should be registered and unregistered automatically in [enable] and [disable] section of the script. This will save a lot of time and is a lot faster than manually typing or copying.
On the same note, an option to insert labels would be nice as well. A hotkey can be added which should make it even faster.
I would have done this myself considering how simple it is but after my last unsuccessful attempt at compiling CE (finding the correct lazarus/fpc version is a headache), can you please consider this Dark Byte ?. Shouldn't take more than a few minutes of your time and i am sure a lot of other people would want it too! .
Cheers _________________
|
|
Back to top |
|
|
danrevella Master Cheater Reputation: 2
Joined: 11 Jun 2008 Posts: 290
|
Posted: Fri Jun 12, 2015 5:09 am Post subject: |
|
|
@SIN
you are an expert and advance user, so I may understand your request......
Me as newbie user I would like another feature in the AA template:
many time I have many problems in understanding where the code "inside" the template start to be executed.
f.e. I would like a line comment in red character about f.e. Your modded code start fron here.......
Thanks |
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Sun Jun 28, 2015 12:13 pm Post subject: |
|
|
Update on this DB ? _________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Jun 28, 2015 12:21 pm Post subject: |
|
|
There's not much need to unregister symbols. AA scripts can reassign registered symbols without a problem
As for labels, it's a bit more troublesome because the use of registered symbols as address setters could be misinterpreted as label definitions.
e.g
script 1 registers bla
script 2 does
Code: |
12345:
nop
nop
bla:
nop
nop
|
the template would then add a label(bla) and thus cause bla to be at address 12347 instead of the intended address
Anyhow, forgetting to label a label won't be a problem in next version. (when a script fails, it tries it as a label) _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|