flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 21 Jun 2006, 09:15
i would appreciate name of currently edited file in caption of FASMW, like "MASMSUCK.ASM - Flat Assembler 1.66" etc.
|
|||
![]() |
|
comrade 21 Jun 2006, 17:58
vid, I have a mod for it. I was going to post it on my page but never got around to it. The mod also contains external debugger support via F8 keyboard key.
|
|||||||||||
![]() |
|
vid 21 Jun 2006, 18:10
thx
|
|||
![]() |
|
Mr_Silent 22 Jun 2006, 01:57
comrade wrote: vid, I have a mod for it... Nice, but not perfect - if U try to save 'untitled' with some name, that name won't go into the main title (though it will appear in the tabcontrol) Here is what I came to... FasmW.asm Code: ................ section '.data' data readable writeable ; Silent: changed caption _caption db ' - flat assembler ',VERSION_STRING,0 ; Silent: made new fields ; new buffer for modified caption cap_buf db 0 ; pre-init empty string rb 255+32 ; reserve ; end new var ................ fmopen: ... set_asmedit_text: invoke SendMessage,[hwnd_asmedit],WM_SETTEXT,0,dword [esp] call [VirtualFree] mov eax,ebx ; Silent: Hook :/ _cap_out: ; escapes handler with updating invoke SendMessage,[hwnd_tabctrl],TCM_GETCURSEL,0,0 ; GetCurrentItem invoke SendMessage,[hwnd],FM_SELECT,eax,0 ; SetCurrentItem Oogly, but works... Last edited by Mr_Silent on 22 Jun 2006, 05:45; edited 2 times in total |
|||
![]() |
|
comrade 22 Jun 2006, 03:30
How do you know that I hadn't left out the "Untitled - flat assembler" case by design?
|
|||
![]() |
|
Mr_Silent 22 Jun 2006, 04:06
comrade wrote: How do you know that I hadn't left out the "Untitled - flat assembler" case by design? I didn't tell that Untitled should be in... I said, when you give your file REAL name (like 'MASMSUCK.ASM') by saving, this new name won't appear in caption. EDITED: I've changed the code. Placing cap_buf at the end of .udata section resulted in additional 38kb of .exe size... M-m-m-m... Reason, anyone? |
|||
![]() |
|
comrade 22 Jun 2006, 06:32
Because you caused a lot of unitialized before cap_buf to become uninitialized.
cap_buf db 0 by itself is initialized data |
|||
![]() |
|
comrade 09 Jul 2008, 17:56
Just want to let you know I updated my FASMW modifications to the latest version (IDE version 0.93.15.0 that comes with FASM 1.67.26).
You can find them here: http://comrade.ownz.com/docs/fasm.html#idemods The modifications are:
|
|||
![]() |
|
Tomasz Grysztar 09 Jul 2008, 18:01
comrade wrote:
This was actually intentional that it uses default 'Yes' when you close with Esc or Alt+X, and 'No' when you close with Alt+F4 - as I personally use Alt+F4 only when I just want to get rid of the windows, discarding whathever is there. Once again a kind of interface weirdness adapted to my own habits. Sorry. ![]() |
|||
![]() |
|
comrade 09 Jul 2008, 20:24
Tomasz, I've spoken to you about this many years ago, but what do you think of putting in external debugger support to FASMW IDE? Your idea before was to keep out of the main IDE then, because you eventually wanted to add integrated debugging support to the IDE itself. Since that didn't come about (or is it going to come about?
![]() ![]() |
|||
![]() |
|
Tomasz Grysztar 09 Jul 2008, 22:31
Well, if I succeed to finally design the long-promised fasm's full debug info format, it will become achievable.
|
|||
![]() |
|
DOS386 11 Jul 2008, 08:32
> to finally design the long-promised fasm's full debug
Create a new debug format ? Why not support an existing one (DWARF/STAB) ? Many people miss it (OTOH I actually have no idea how they work ![]() |
|||
![]() |
|
comrade 11 Jul 2008, 14:47
What is DWARF/STAB? Isn't MS PDB the most useful format (in terms of being the most popular)?
|
|||
![]() |
|
crc 11 Jul 2008, 23:48
Quote: What is DWARF/STAB? Isn't MS PDB the most useful format (in terms of being the most popular)? DWARF and STAB are more common on Unix-like systems. PDB is a proprietary file format, and isn't documented as well as DWARF or STAB if I remember correctly. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.