flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Fresh IDE v2.1.2 released.

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Thanks to the Bargest and Idle bug reports, serious bugs, manifesting themselves only on 64bit Windows 7 platforms was fixed.
On these platforms, the update to v.2.1.2 is highly recommended.

The updated version 2.1.2 is available for download on the Fresh download page.

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 10 Nov 2012, 06:55
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
dancho



Joined: 06 Mar 2011
Posts: 74
dancho
version 2.1.2 working fine here John ( winXP sp3 ) ,
out of box compiled couple of my hoby programs and no problems or errors...
nice work
Post 10 Nov 2012, 09:49
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Thanks. Is it 64bit WinXP?
Post 10 Nov 2012, 10:14
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
dancho



Joined: 06 Mar 2011
Posts: 74
dancho
it is 32bit winxp
Post 10 Nov 2012, 10:54
View user's profile Send private message Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest
After several runs of v. 2.1.2 I got these errors (one-by-one), and then any loaded project is displayed as empty.
This continues for 10-20 runs, then 2-3 times Fresh starts good.
Here is the INI-file:
Code:
[Environment]
finc=D:\Fresh\include
Fresh=D:\Fresh
lib=D:\Fresh\freshlib
[IDE settings]
AutoHideEnable=0
AutoHideTime=2000
andLinux=
LinuxSharedDir=
LinuxDebugger=
Debugger=
LinuxTerminal=
[HelpFiles]
[MRU files]
MRUCount=0
[MRU projects]
MRUCount=0
    

Fresh is located in "D:\Fresh\".

This bug also was in previosly posted Fresh-dbg.exe, but I thought it is because of Debug-version.Smile

Sometimes it runs good many times.

UPD: I think error is here:
Code:
...
.code:00401FC6 call    ds:MultiByteToWideChar
.code:00401FCC lea     edx, [eax+eax+8]
.code:00401FD0 push    ecx                             ; dwBytes  <----- Why ecx? Ecx = 0x447CFBA9
.code:00401FD1 call    goHeapAlloc
    

While converting "D:\Fresh\fresh.ini" to wide char.

UPD2: found this place, recompiled. It seems the bug is fixed.Smile


Description: errors
Filesize: 81.54 KB
Viewed: 3241 Time(s)

error-log.png



_________________
jmp $ ; Happy end!
Post 10 Nov 2012, 14:05
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Very strange? It looks like Fresh has no access permissions to some files. Or "FileExists" procedure fails because of another reason.
Please, if possible, try to run Fresh as an administrator and check whether this errors will still appear...
Post 10 Nov 2012, 14:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest
I've just found error in code, previous post is updated. Smile
It could not allocate an extremely big place for string, so HeapAlloc returned 0. Then NULL was passed to CreateFile and it fails, so Fresh couldn't read Fresh.INI.
Post 10 Nov 2012, 14:55
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
I missed your update... Shame on me! Of course it is wrong. It must be "edx" instead. Thanks for the debugging.

I will publish silent update after several minutes...
Post 10 Nov 2012, 15:00
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
OK, the files are updated on Fresh download page. Please download it again.
Bargest, thanks again for the bug fix. It was really very useful.
How strange, this kind of errors never appear on my computer...
Post 10 Nov 2012, 15:09
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest
I have a question about Fresh interface.
At the bottom of editor window Fresh has such information:
Code:
Total: 13920 lines. Binary: 10947 lines.
    

I guess that "Binary" means count of asm instructions. And what means "Total"? Total lines count in all source files?
Post 19 Nov 2012, 19:31
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
This statistic is calculated based on the assembling stage of FASM.
Binary lines are all lines that generate some code in the output file (binary file). "Total" are all lines processed by the assembling stage of the compiler. Macro definitions are not included in this count, but the lines generated by the macros are included.

For example following code:
Code:
a = 1

macro b {
  local c
  nop
  c = 0
}

        b
        b

        db a    


will be compiled with: Total=6 and Binary=3. These lines are:
Code:
1: a = 1
2: nop
3: c?1 = 0
4: nop
5: c?2 = 0
6: db a    


Lines 2, 4 and 6 will generate some code in the output file and lines 1, 3 and 5 will not.
Post 19 Nov 2012, 20:02
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Bargest



Joined: 09 Feb 2012
Posts: 79
Location: Russia
Bargest
Thanks, now I can understand it.Smile
Post 19 Nov 2012, 20:06
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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-2020, Tomasz Grysztar.

Powered by rwasa.