flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > AsmEdit control

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland
AsmEdit control
Here's the separate release of the AsmEdit control with the small documentation that can help when someone want to use this control in his program. I was motivated to make such package by JohnFound, as he said he would like to use this control but needs to know more about it.

THIS IS THE OLD VERSION OF THIS CONTROL, LOOK IN THE POSTS BELOW FOR THE NEW ONE.


Description: AsmEdit control
Download
Filename: ASMEDIT.ZIP
Filesize: 23.98 KB
Downloaded: 199 Time(s)



Last edited by Tomasz Grysztar on 06 Feb 2006, 12:38; edited 1 time in total
Post 01 Aug 2003, 20:38
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3436
Location: Bulgaria
Thank you, Privalov. Actually I will use AsmEdit in the source form, not dll, but the description is still very usefull. Smile Thanks

JohnFound
Post 01 Aug 2003, 23:21
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3436
Location: Bulgaria
I take my words back Very Happy I began to use the dll version at first time.
I make some changes to prevent AsmEdit from using GWL_USERDATA. It's because I need this variable for the autoalign engine. BTW: I think that it's good practice to not use GWL_USERDATA in the stand alone controls. It's for the user not for the author. Very Happy
Here is fixed version.

[EDIT]Outdated attachement removed. There should be newer version. possibly in another thread.[/EDIT]
Post 02 Aug 2003, 13:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland
Here's the new version of DLL, using the latest core (with no line-length limit). It also includes a simple example program based on the standard fasm's MiniPad example, which uses the ASMEDIT control instead of standard EDIT.


Description: The new Assembly Editor control as a DLL, with example program.
Download
Filename: asmedit.zip
Filesize: 36.94 KB
Downloaded: 149 Time(s)

Post 22 Jan 2006, 13:17
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland
PS. The core is separated from the main files, because I wrote it with portability in mind, as I wanted to make also DOS and Linux editor controls based on the same core.
In case someone wanted to try adapting it for other needs, here's the (unfinished) documentation for the core.


Description: Assembly Editor core documentation
Download
Filename: asmedit_core.txt
Filesize: 9.54 KB
Downloaded: 194 Time(s)

Post 22 Jan 2006, 13:20
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
Does ASMEDIT suport an external message sending?
I've tried AEM_GETPOS but it gives nothing.
Post 18 Dec 2009, 09:54
View user's profile Send private message Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
i got virus allert from Avira Antivir.


Description:
Filesize: 19.13 KB
Viewed: 1733 Time(s)

alert.PNG



_________________
Sorry if bad english.
Post 24 Dec 2009, 12:29
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15085
Location: Opcode space
It is time to delete the AV then.

AVs are such a pain, I wonder why anyone uses them. Wink
Post 24 Dec 2009, 12:48
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
I like Avira Smile it saves me sometimes hehe
Post 24 Dec 2009, 12:50
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549

serfasm wrote:
Does ASMEDIT suport an external message sending?
I've tried AEM_GETPOS but it gives nothing.



It doesn't as expects the AEPOS structure to be in the same data segment. But a plugin may.
Post 25 Dec 2009, 07:45
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
how can i get the 1st visible line index
Post 20 Apr 2010, 06:20
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
Why does the control call CreateSolidBrush every time graphical aspect of drawing occurs?
It's not optimal, is it?
That's possibly the reason of text floating when there are a lot of comments and window is being scrolled.


edit: ?

Code:

CPU Disasm
Address     Hex dump            Command                                     Comments
0040BA93     .  50              push    eax
0040BA94     .  53              push    ebx
0040BA95     .  51              push    ecx
0040BA96     .  B8 59144000     mov     eax,offset fasmw.00401459
0040BA9B     .  BB 70164000     mov     ebx,offset fasmw.00401670
0040BAA0     .  B9 ACAB4000     mov     ecx,offset fasmw.0040ABAC
0040BAA5     .  59              pop     ecx
0040BAA6     .  5B              pop     ebx
0040BAA7     .  58              pop     eax


Post 11 Jul 2010, 00:14
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland

edemko wrote:
Why does the control call CreateSolidBrush every time graphical aspect of drawing occurs?
It's not optimal, is it?
That's possibly the reason of text floating when there are a lot of comments and window is being scrolled.


Yes, that creation of brush object can be optimized, that's something left unpolished from the early stages of development.
However I was not aware of any "text floating" effect. Can you demonstrate it somehow? Are you testing it on some slow machine (the slowest I was trying FASMW on was my old Pentium 60 MHz, but at the time I didn't notice any performance problems there).
Post 11 Jul 2010, 09:08
View user's profile Send private message Visit poster's website Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
CPU: AMD Sempron 1400/2500++ MGhz, 1 core.
Vid: ATI Radeon 9250, 500 MGhz.
I tried recording video but an overload becomes.
Video drivers might be: some screen-savers display smooth on LiveCD-systems but flicker with current WinXpSp3.
Games come fine some do not.
Default system params used.
Scrolling text with scrolls cannot see such effect.
Scrolling with arrows letters become "on butter-spreading".
Most felt with fasmw.exe's window maximized, nearly absent with setup params(sizes).
I think it's parsing as my code has many comments.
If no comments - all's fine.
Do not mind it if a 60MGhz PC copes with the problem.
Take it as optimization hint.
Good luck.

Previous post is really weird: the code above.
Post 11 Jul 2010, 11:20
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15085
Location: Opcode space

edemko wrote:
CPU: ... 1400/2500++ MGhz, ...
Vid: ... 500 MGhz.
... 60MGhz PC ....

OMG Shocked Where can I buy one of those Uberfast 1500 Mega-Giga-Hertz CPUs? Wink
Post 11 Jul 2010, 11:35
View user's profile Send private message Visit poster's website Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
revolution,

Bono, bono. Not everyone fluent with BIPM SI prefixes enough to use them properly. Wink
Post 11 Jul 2010, 21:48
View user's profile Send private message Reply with quote
BiMode



Joined: 14 Sep 2007
Posts: 14
Location: Thailand
A more recent version please...
Post 11 Sep 2010, 13:32
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland
The latest one (with source) is hidden in the fasmDLL package.
Post 11 Sep 2010, 13:47
View user's profile Send private message Visit poster's website Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 267
There is no ASMEDIT.DLL source there.
Post 20 Sep 2010, 07:38
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6508
Location: Kraków, Poland
SOURCE\IDE\FASMW\ASMEDIT.ASM
Post 20 Sep 2010, 08:39
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 1, 2  Next

< 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.