flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
i would appreciate name of currently edited file in caption of FASMW, like "MASMSUCK.ASM - Flat Assembler 1.66" etc.
|
|||
![]() |
|
comrade
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
thx
|
|||
![]() |
|
Mr_Silent
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
How do you know that I hadn't left out the "Untitled - flat assembler" case by design?
|
|||
![]() |
|
Mr_Silent
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
Because you caused a lot of unitialized before cap_buf to become uninitialized.
cap_buf db 0 by itself is initialized data |
|||
![]() |
|
comrade
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
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
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
Well, if I succeed to finally design the long-promised fasm's full debug info format, it will become achievable.
|
|||
![]() |
|
DOS386
> 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
What is DWARF/STAB? Isn't MS PDB the most useful format (in terms of being the most popular)?
|
|||
![]() |
|
crc
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.