Pages: 1 [2] 3 4
|
 |
|
Author
|
Topic: RichMasm: an editor that remembers your formatting (Read 65143 times)
|
jj2007
|
Version of 24 September fixed a harmless bug (text scrolled when typing something in the Find box), and greatly enhanced the Ctrl K insert hyperlink feature.
|
|
« Last Edit: July 22, 2009, 10:29:52 AM by jj2007 »
|
Logged
|
|
|
|
jj2007
|
Version 24 September attached right above: - Hyperlinks now fully functional, either by pressing Ctrl K or by selecting Format/Insert link. If http: or x :\file.ext are present on clipboard, the edit field will be prefilled. - Right-click to edit an existing link. - F4 toggles comments (if first non-whitespace char is ;, then all comments will be removed, if not, ; will be added to all selected lines) - New Win & Console app option added to File menu - Build & run option added to File menu - if int 3 is present, F6 assembles, links and starts OllyDbg; for console apps, the nagging console window will be automatically minimised Suggestions welcome, of course 
|
|
« Last Edit: September 24, 2008, 07:06:15 AM by jj2007 »
|
Logged
|
|
|
|
jj2007
|
In addition to "normal" hyperlinks, version 30 September 08 has now text anchors, i.e. you can create html-like anchors in a document to which you can link. Example: (page 5): mov ecx, hList .if ShowLB ; attention may be reset by this procedure mov ecx, hRE mov eax, BST_UNCHECKED .endif (page 25) .if ShowLB or ecx, -1 mov eax, BST_CHECKED and ShowLB, 0 .endif This feature turned out to be pretty complex, but it seems stable now - feedback and bug reports wanted... RichMasm saves a temporary plain text file to disk, then launches ml.exe. Internally, an anchor is preceded by a 5 letter (hidden) code telling RichMasm its name and length. This code will obviously be removed before launching the build process. In practice, this means your text anchor can be embedded in the code. The link, however, will not be removed, and therefore must appear in a comment. Edit: Fixed a minor bug that caused unexpected scrolling. See top of thread for latest attachment.
|
|
« Last Edit: July 22, 2009, 10:29:20 AM by jj2007 »
|
Logged
|
|
|
|
jj2007
|
See top of thread for latest version.
|
|
« Last Edit: July 22, 2009, 10:15:01 AM by jj2007 »
|
Logged
|
|
|
|
jj2007
|
Version 10 October, attached above: Improved reading in of plain text sources. Bookmarks are now generated for .data, .data?, .code, macros, procs, and a number of WM_ messages. The guide contains a little table with links to the Masm32 examples.
|
|
|
Logged
|
|
|
|
hutch--
Administrator
Member
    
Posts: 12013
Mnemonic Driven API Grinder
|
 JJ, If you ever succeed in getting RichMasm comprehendable to mere mortals it could end up a dangerous weapon. No the important question apart from what you have designed it to do is can it make good cappachino ? Keep up the good work. 
|
|
|
Logged
|
|
|
|
jj2007
|
dangerous weapon
I am working on it, as the snippet below shows - for notebooks only, unfortunately. CheckQuality proc call AnalyseCode .if NoobScore>20 invoke PlayMidi, chr$("ViolentLaughter.mid") .elseif BadCodeScore>20 call CloseCoverAndSmashProgrammersHands .else MsgBox hWnd, chr$("Compliments, your code is fine!"), addr AppName, MB_OK .endif ret CheckQuality endp Now the important question apart from what you have designed it to do is can it make good cappuccino?
Now you caught me in the act, Hutch! But I am having problems with the hardware interface. Anybody aware of standard protocols for communicating with a coffee machine? Keep up the good work.  You too  By the way: I have added a couple of links to the \masm32\examples section into the manual. Usage should be simple enough for mere mortals: Click on the link, and hit F6 when you see code. Afaik they all assemble fine and don't need the build.bat any more... \masm32\RichMasm\bldallRM.bax has some goodies, but beware, I don't check if it has been changed, so every new installation will overwrite the bax.
|
|
« Last Edit: October 10, 2008, 11:38:14 AM by jj2007 »
|
Logged
|
|
|
|
jj2007
|
RichMasm has been updated - see above below the screenshot. Major changes: - a recent files menu aka MRU (most recently used) - a template for using TIMERS.ASM (under File/New Masm source) - assembly output now integrated - jumps directly to the error line where possible - autoformat for blocks with ugly formatting - under the hood: added SSE2 for faster strlenFeedback welcome, of course. EDIT: The search function has been improved. Example: Find uMsg*VK will find all lines where VK follows uMsg. Problem: They are not in the same line... .elseif uMsg==WM_KEYDOWN .if wParam== VK_RETURN Find uMsg **VK will find the block above. And in case you have something like this: .elseif uMsg==WM_CHAR ; KeyFiles ; status wParam, chr$("CHAR ") .if wParam== VK_SPACE || wParam==VK_RETURN ... just add one star more: Find uMsg***VK will find VK within the next two lines.
|
|
|
Logged
|
|
|
|
lingo
|
Not a big deal but I can't see the menu titles under Windows 64 bit Vista Ultimate SP1.
[attachment deleted by admin]
|
|
|
Logged
|
|
|
|
jj2007
|
Not a big deal but I can't see the menu titles under Windows 64 bit Vista Ultimate SP1.
Thanks, Lingo. It seems that Vista doesn't like painting on the Window DC. "Not a big deal" is an understatement 
|
|
|
Logged
|
|
|
|
lingo
|
"Not a big deal" is an understatement"
"Not a big deal" means Vista has special properties options for exe files and if we mark "Disable desktop composition" option from Properties\Compatibility of the richmasm.exe all appears OK...
[attachment deleted by admin]
|
|
|
Logged
|
|
|
|
jj2007
|
if we mark "Disable desktop composition" option from Properties\Compatibility of the richmasm.exe all appears OK...
Ok, I admit you are a genius 
|
|
|
Logged
|
|
|
|
jj2007
|
Update above, below the screenshot.
Handling of linker warnings is now improved, see OPT_NoWarn in File/Configure project.
|
|
|
Logged
|
|
|
|
jj2007
|
Update above, below the screenshot. Main change: a "Last good version" in the File menu allows to revert to the last version that assembled & linked without errors. Can be a handy feature 
|
|
|
Logged
|
|
|
|
UtillMasm
|
Your editor look good. When will you post code? I guess I can speak for everybody when I say we are curious. 
|
|
|
Logged
|
|
|
|
|
Pages: 1 [2] 3 4
|
|
|
 |