flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 31 Jul 2020, 16:29
I find in fasmw source place:
do_compile: And put : Code: do_compile: Call MyParserA ;its work when i press in Fasmw compile. But i not found how get Fasm editor text. And how send new text to Fasm editor. |
|||
![]() |
|
Roman 31 Jul 2020, 16:53
I set text. And see in Fasm editor text 'Hi ! Its Roma !'
But compiled old(prevision) text in Fasm edit window. Code: proc MyParserA pusha invoke MessageBox,0,eax,0,0 invoke SendMessage,[hwnd_fedit],WM_SETTEXT,0,MyBufTxt popa ret MyBufTxt db 'Hi ! Its Roma !',0,0,0,0,0,0 endp |
|||
![]() |
|
revolution 01 Aug 2020, 02:27
I think you are trying to use fasm macros to make an HLL.
Perhaps what you really want is an HLL? |
|||
![]() |
|
Roman 01 Aug 2020, 04:45
Fasmw not have many useful stuf.
And some time easy write owner parser, than write macro. Because fasm macro is not always clear. And how to do something in fasm macro. Fasm macro not have break. And many good things. Quote: Perhaps what you really want is an HLL? I have many programs Directx11\Directx12. I dont want rewrite all this on c++. But i need many useful stuf in fasmw. This is the main reason. |
|||
![]() |
|
Roman 01 Aug 2020, 04:52
I found how create new window.
Code: _untitled22 db 'new',0 invoke SendMessage,[hwnd_main],FM_NEW,_untitled22,0 But how set this new window file path ? When i press compile fasm open dialog file for saving. I dont want get fasm open dialog file for saving. I want set file path(for new window editor text) and get compilation without fasm open dialog file for saving. How do this ? |
|||
![]() |
|
DimonSoft 01 Aug 2020, 12:15
I wouldn’t expect much help on that. What you ask for looks like a really cumbersome solution. And making changes to FASMW source code requires decent knowledge of WinAPI and assembly programming as well as skills reading code written by another person. Removing the Open Dialog is pretty straightforward then, especially having source code.
Usually people are also reluctant to help if it turns into doing someone else’s job themselves, just step by step. Especially not seeing the goal. Nothing personal, just my opinion. Sorry. |
|||
![]() |
|
Roman 01 Aug 2020, 18:36
Last edited by Roman on 06 Aug 2020, 08:42; edited 1 time in total |
|||
![]() |
|
bitRAKE 01 Aug 2020, 21:15
There have been people who modify FASMW to meet their needs. Have you seen Wink? Latest version on last page. It's a good discussion and links to AsmEdit core documentation. Tomasz is a very rational coder, with solid organization skills and once you gain some experience with his style, changes will be easier, imho.
All the edit window commands start with "FM_", for example FM_OPEN leads us to fmopen function - which creates the tab, read in the file data, and set name. We can see from the open_file function how to use the message. _________________ ¯\(°_o)/¯ The hardcore cynic mistakes good for guile. |
|||
![]() |
|
Roman 02 Aug 2020, 09:55
New video.
^inc useful for window block with register class and WndProc. https://www.youtube.com/watch?v=nByTv4Wgy1E&feature=youtu.be Last edited by Roman on 06 Aug 2020, 08:44; edited 2 times in total |
|||
![]() |
|
bitRAKE 02 Aug 2020, 10:59
This might also interest you. It's possible to aggregate your work across the web into a consolidated directory. You can copy my respository directly and play with the features. It auto-updates on Microsoft's servers. People can see your videos and code all in one place. It's a relatively new feature.
_________________ ¯\(°_o)/¯ The hardcore cynic mistakes good for guile. |
|||
![]() |
|
Roman 18 Aug 2020, 08:57
|
|||
![]() |
|
Roman 20 Aug 2020, 11:32
|
|||
![]() |
|
revolution 20 Aug 2020, 11:32
Roman: Can you please explain what your YT links are for?
|
|||
![]() |
|
Roman 20 Aug 2020, 11:43
Simple showing my progress.
Maybe some features Tomas implements in new version Fasmw. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.