flat assembler
Message board for the users of flat assembler.

Index > IDE Development > "Fresh" work version with code completition

Goto page Previous  1, 2, 3, 4
Author
Thread Post new topic Reply to topic
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 13 Jan 2004, 14:51
Usually data is aligned, as you put your code in data section, and by default sections are aligned to 4096 bytes. Anyway aligning code can give you some speed - like on my maschine.
Post 13 Jan 2004, 14:51
View user's profile Send private message Visit poster's website Reply with quote
Betov



Joined: 17 Jun 2003
Posts: 98
Betov 13 Jan 2004, 15:49
I am afraid you do not understand (or may it be me who do not understand what you mean...), but "Data Aligned on their own Boundaries", means for example, all DWord Data aligned on Dwords boundaries. This is really important for speed. If _i_ miss-understood... explain again... Wink


Betov.
Post 13 Jan 2004, 15:49
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 13 Jan 2004, 16:52
OK it was me who misunderstood Smile
But I made a small test: I made data macroses in Fresh automatically align each data block to 4byte boundary, but I gained only about 0,2-0,4 sec when compiling FRESH...
Post 13 Jan 2004, 16:52
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 13 Jan 2004, 16:59
BTW, all fasm's dword-size data is aligned to dword boundary in the official releases.
Post 13 Jan 2004, 16:59
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 13 Jan 2004, 17:34
Well, with last Privalov's version of FASM 1.51, the parser becomes approximately 5 times faster: from 4.8 seconds to 1second on my 500MHz K6-2

Simply the best!!! Very Happy


Description: Compilation times of Fresh 1_0_1C with new parser by Privalov.
Filesize: 3.38 KB
Viewed: 12963 Time(s)

Speed2.png


Post 13 Jan 2004, 17:34
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 13 Jan 2004, 19:04
Here's the result from the previous release which I mentioned... Maybe not very useful now, but I'm uploading it though...

BTW: nice speed optimizing Privalov! Wink

Cheers,
Tommy


Description:
Filesize: 2.96 KB
Viewed: 12949 Time(s)

ss.gif


Post 13 Jan 2004, 19:04
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 13 Jan 2004, 20:01
Hi all.
I just uploaded the next work version on the Fresh site. It is with FASM 1.51

Regards
Post 13 Jan 2004, 20:01
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Jan 2004, 18:04
Hi all.
Following our guru Privalov, and using almost the same approach, I rewrite the label tree creating, so now it is lightning fast (approx 4 times faster)! Very Happy

New work version is uploaded. Please make some tests of the speed (and there are bugs maybe...) on different platforms.

Regards.
Post 14 Jan 2004, 18:04
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
ipadilla



Joined: 08 Sep 2003
Posts: 11
ipadilla 14 Jan 2004, 18:56
JohnFound, possibly you know this bug, but...
1) Please create a new form.
2) Push on Monthview control
3) Create the control

After that you can see that fresh is HALTed.

os: Windiws 98 SE

Regards
ipadilla
Post 14 Jan 2004, 18:56
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Jan 2004, 20:56
ipadilla wrote:
JohnFound, possibly you know this bug, but...


No, it's not a bug at all. It is feature...still not implemented. Wink

It is in my TO-DO list exactly after code completition. Because I suppose that CC will help me to write faster. Smile

Regards
Post 14 Jan 2004, 20:56
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 15 Jan 2004, 17:35
Heh I must say that I haven't been using CC before, and I thought it's too early to implement it in Fresh. But now I realized that this feature is... just great Wink
Two bugs: when you move mouse cursor over some toolbar icons (comment, indent...) no hint is displayed. Also, when you use those functions when there is no text selected, they work with two lines (instead of one line, where cursor is placed).
Post 15 Jan 2004, 17:35
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 16 Jan 2004, 20:40
Hi

Uploaded work version with one new feature: "Labels explorer".

It shows all labels in dialog window, and the user can check values, types and structure of the labels tree.
It is still not finished, but I posted it for evaluation. I need opinions how usefull you think it is and how to implement it the best way.
Also, you can suggest any other useful features, based on information about labels.
For example I think about "right click|Label info" function in the editor.

Regards.
Post 16 Jan 2004, 20:40
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 16 Jan 2004, 21:08
I agree that this feature is very useful, but why not to make "label explorer" be a non-modal window? And adding "goto declaration" feature would be nice (if possible with current Fresh structure).

regards
Post 16 Jan 2004, 21:08
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 16 Jan 2004, 21:56
decard wrote:
I agree that this feature is very useful, but why not to make "label explorer" be a non-modal window? And adding "goto declaration" feature would be nice (if possible with current Fresh structure).
regards


Hm, about "goto declaration" there are two problems:
1. FASM keeps the pointer to first place where label is used, not to the place of declaration.
2. This pointer don't give me to capture the filename and row number in the source, because there is no (at least I still can't find it) easy way to trace back in the preprocessed source, but the row number and file name are in the begining of each line in preprocessed code.

I am hardly working on this, but....

Just when I make this, there will be source editor function "goto declaration". Very Happy

About modal/modeless -> It is experimental version. I simply don't know whether to keep it as dialog or to make several more specialized functions like:
"Goto declaration" - when you click label in the editor with ctrl pressed, "Goto address"- small dialog where you enter address and Fresh moves you to the source line (or closest line possible), "tooltip with info" - when you point some label in the editor, etc.

Regards
Post 16 Jan 2004, 21:56
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 17 Jan 2004, 11:57
Hi John!

First of all (again): very good work with the CC feature! Wink Keep it up! Though I found a few bugs:

1) The Component Toolbar doesn't load (Yes! I've set the include path properly)
2) Starting Fresh and open a new or an existing document, there's a bug in AsmEdit control....

See screenshot for more information.... (I'm using WinXP)...

Tell me what more info you need and I'll give it to you! Wink


Description: Screenshot
Filesize: 8.51 KB
Viewed: 12839 Time(s)

ss.gif


Post 17 Jan 2004, 11:57
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.