flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2, 3 Next |
Author |
|
Tommy 14 Dec 2003, 17:34
John, just to let you know: a new update of AsmEdit is soon ready... I'll post it as soon as possible (maybe tonight)... Regards, Tommy
|
|||
![]() |
|
Tommy 14 Dec 2003, 17:53
Here...
![]()
|
|||||||||||
![]() |
|
Tommy 14 Dec 2003, 18:40
Yes, I know... it's a bit unnatural... but how do I draw a bitmap with mask without using imagelists???... that's why I used it...
|
|||
![]() |
|
JohnFound 14 Dec 2003, 19:03
Tommy wrote: Yes, I know... it's a bit unnatural... but how do I draw a bitmap with mask without using imagelists???... that's why I used it... The most easy way I know is to use Icon instead of bitmap. There is a function DrawIcon and DrawIconEx that will draw directly on DC without using your created device contexts etc. AFAIK images list is simply set of icons, not of bitmaps. But I am not talking about rejecting imagelists. Simply make it more naturally with thought that it will be expanded. BTW: Think about expanding AsmEdit row with one more byte and using this byte to set flags - bookmark, breakpoint, warning etc. This also will tie bookmarks to the rows without any processing. Regards. |
|||
![]() |
|
Tommy 14 Dec 2003, 19:15
Yep...I'll use the DrawIcon(Ex) instead...
Quote: BTW: Think about expanding AsmEdit row with one more byte and using this byte to set flags - bookmark, breakpoint, warning etc. This also will tie bookmarks to the rows without any processing. ![]() So long! Regards, Tommy |
|||
![]() |
|
Tommy 15 Dec 2003, 18:53
The use of drawicon works now, but I can't figure out how to expand each line buffer with one byte... I've tried several things, but always a new bug is shown up...
![]() ![]() Regards, Tommy
|
|||||||||||
![]() |
|
JohnFound 18 Dec 2003, 10:24
Thank you Tommy. I implement this version and it works OK. (I will update work version tonight)
BTW: You forget to pack the asmedit.txt file with updated info. Please, upload it. To Privalov: Tomasz, help, please ![]() ![]() We want to add additional byte (or maybe dword) for flags to each line in AsmEdit. Which parts of AsmEdit should be changed (Only main parts, we will deal with details)? Or, is it better to reduce the line data size by one and not to touch the size of the line? Regards. |
|||
![]() |
|
Tommy 18 Dec 2003, 13:20
Hi John... Thanks.... Yes, here it comes!
![]() Tommy
|
|||||||||||
![]() |
|
Blag 19 Dec 2003, 14:56
Hi FRESH TEAM:
I got a little buggy when i run a simple and plain form in FRESH. I start FRESH, choose FILE -- NEW -- NEW FORM......RUN and then.....error....Compiler can't found the directive. Why is that happend????? Is that a bug???? Also.....i update the [help] [debugger] , etc......in the FRESH IDE, but when i closed and start it again........i give me the same mistake about no founding route......i check the fresh.ini file and it's ok......but that bug is still there......what can i do to fix that nasty bugs?????? ![]() |
|||
![]() |
|
JohnFound 22 Dec 2003, 22:21
Hi Blag.
Sorry for delayed answer, but I really was (and I am) too busy these days. ![]() Blag wrote: I got a little buggy when i run a simple and plain form in FRESH. No, it is not a bug. It is only not existing features. ![]() ![]() Don't forget, Fresh is in pre-alpha developement stage. You can use it for creating applications just in source level. The visual part of Fresh, still is only partialy written. So, you simply can't create the form and run. Actually this will happen in the first alpha release. Quote: Also.....i update the [help] [debugger] , etc......in the FRESH IDE, but when i closed and start it again........i give me the same mistake about no founding route......i check the fresh.ini file and it's ok......but that bug is still there......what can i do to fix that nasty bugs?????? Actually, this seems to be a bug. Please, give me more details - OS, what actually you do and what actually is the error message. Regards. |
|||
![]() |
|
comrade 27 Dec 2003, 01:47
Line expansion very easily, though I had trouble with additional data to line header (in addition to next/previous linked list pointers). Simply replace all 100h with LINE_LENGTH, all 108h with sizeof.AELINE. line_buffer, text_buffer and line_colors also need to be expanded.
I was working on bookmark support before just now I discovered Fresh AsmEdit had extensive modification. There is problem with your bookmark support, if you set bookmark, but then move lines down, bookmark will not be shifted along with line. I suppose adding boolean flag to AELINE structure would solve problem, but I had trouble with expanding the line header. Strange bugs with caret positioning.
|
|||||||||||||
![]() |
|
comrade 27 Dec 2003, 02:00
Damn, I forgot to include .shit in LINEHEAD, that was source of error.
![]() Include .shit in LINEHEAD (should be in LINE too). |
|||
![]() |
|
comrade 27 Dec 2003, 04:15
Here bookmarks that shift.
|
|||||||||||
![]() |
|
JohnFound 27 Dec 2003, 09:02
Hi, Comrade.
Thank you. I have to evaluate your work, but it looks interesting at first glance. Regards |
|||
![]() |
|
JohnFound 27 Dec 2003, 09:31
Comrade, hi again.
Unfortunately, you are using original AsmEdit, that is not possible to implement in Fresh, ecause of different interface and functions. But I am sure, Tommy (he maintains modified AsmEdit) will find you sources usefull. Thank you for that. BTW: I know that you are working on modified version of FASMW. Please, think about joining in the Fresh team. I think if we join our forces, we can reach valuable results, more quick and easy. Regards. Tommy: Taka a look at comrades sources. I think he works on the same problems like you. Regards. |
|||
![]() |
|
Tommy 27 Dec 2003, 09:40
Hi Comrade,
Yes, I've been working on the bookmark-problem, and our plans were to do it the way you proposed... The reason why this is not done yet, is the problems by expand the line data structure... Remember, it's not only the replace all the occurrences of 100h with something else, you have to fix the memory allocations too (etc.)... Maybe we should join and try to solve the problem? I'll take a look at your sources now... So long! Best regards, Tommy |
|||
![]() |
|
Tommy 27 Dec 2003, 09:53
Sorry, I looked into your sources now and found out that you've already done that...
![]() ![]() ![]() So long! Tommy [edit] This is very good! Do you know about any bugs? I've not found any yet... Why not joining Fresh? [/edit] |
|||
![]() |
|
Tommy 27 Dec 2003, 10:11
One bug in the syntax highlighter found, see the screenshot... I also experience that the control flickers when selecting text etc...
![]()
|
||||||||||
![]() |
|
JohnFound 27 Dec 2003, 10:23
Hello, Tommy.
Note, that we need at least 2 dword's on each line: One for flags (bookmarks, breakpoints) and one for the address of the line in the compiled program (for the debuger) Regards. |
|||
![]() |
|
Goto page 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.