News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

MasmBasic in RadAsm

Started by jj2007, February 02, 2012, 07:13:45 PM

Previous topic - Next topic

jj2007

Since many new members seem to go for RadAsm as their primary IDE, I have cooked up this little
recipe to make the MasmBasic library available to RadAsm users.

Only in case RadAsm is not yet installed, go to the RadAsm site and download
- RadASM IDE pack: unzip e.g. to \Masm32\RadAsm, with "use folder names"
- MasmEd Code Editor: unzip to the same folder

- now download MasmBasic (at the bottom of the first post)
- unzip MasmBasic[daymonth]2012.zip to the root, i.e. x:\, where x is your Masm32 drive, with "use folder names"
- start \masm32\RichMasm\RichMasm.exe
- click on File, New Masm source
- click on MasmBasic in the second line ("very simple template using BASIC syntax")
- the source SkelMbEmpty.asc will open
- under "end start", insert OPT_Tmp2Asm 1 - this will generate a plain text asm from the RTF source.
  Some of the bigger examples, e.g. the "Simple Window", have a bookmark called
  RichMasm options. Click on it, and add the option there if needed 1)
- hit F6 (you should see a console app starting - if not, PM me)
- move \masm32\RichMasm\Res\SkelMbEmpty.asm to your RadAsm
  source file folder, e.g. \masm32\RadAsm\projects\MasmBasic
- rename SkelMbEmpty.asm to something more convenient, e.g. MbTest.asm
- open this file in MasmEd.exe
- make sure it is the only file (or tab) open
- go to Project, Create project, and save it e.g. as MbTest
- go to Option, Make options
- in the Combo box on top, choose Windows or Console app (RichMasm does that automatically, but
  RadAsm requires to set this option manually; if you assemble a console app with subsystem Windows,
  you will not see any output, and your program will hang around somewhere...)
- go to Make and click "Set current as mainfile"
- press Control F5, and voilà, you have a good chance to see your proggie in action!
- \masm32\MasmBasic\MbGuide.rtf (attached below) contains help on the MasmBasic syntax and available commands

Enjoy, and give me feedback!

1)   The MasmBasic examples in \masm32\RichMasm\Res are in RTF format with
   the *.asc ending, therefore this conversion is needed, sorry.