Add ability to execute aditional commands

Started by TNick, January 17, 2010, 04:26:12 PM

Previous topic - Next topic

TNick

Hello!

In attachment you will find patches that, once combined to RadASM sources,
adds the ability to launch files in execution before and after each command.
To test it, just open a project then go in Project->Project Options. You will
notice 3 new radio buttons at the bottom of the dialog.

If <Before> is checked, you will see commands to be executed before
actual command. If <Command> is selected, you see actual commands.
If <After> is selected, then you see commands to be executed
after the main command has ended.

The format of these aditional commands is identical with main commands.
To simply execute a bat file, use 0,O,BatName.bat
You may - just like with usual commands - have a set for DEBUG mode
and one for RELEASE mode.

To apply the patches you may use patch.exe (from GnuWin32) like so:
patch.exe FileToPatch.xxx PatchFile.patch

MdiRadAsm.asm is found under RadASM\Mdi
Output.asm is found under RadASM\Out
ProOption.asm is found under RadASM\Pro
ProOptionDlg.Rc represents the content of ProOption.dlg processed by RadASM.
One is found under Res, the other is found under Dialogs folder.


Regards,
Nick

PS Source files for RadASM are here.

UtillMasm

modify to RadASM.exe?
why not just attach your RadASM.exe's sources?

TNick

The source files do not start with a copyright notice or something. Besides, I don't know what Ketil thinks about patches and changes to source files. It doesn't feel right to post someone else's work. Furthermore, I have a somewhat different coding style (concerning capitalization and indent, mostly) and my sources are modified in that respect, too. I have set WinMerge to ignore those differences when patches were generated.

Nick

TNick

Sadly, first release had a bug, as result of my never-ending fight with the heap (and math). Please re-download at the top.

Nick