The following should work:
- From the menu bar, select Tool -> New Tool...
- Define a new tool to assemble the current file:
- Name your tool "Tasm Current File" or something similar.
- Provide the full path to the executable in the "Program" Field.
- In the "Directory" field, hit Ctrl+Space, and select "${file_dir}" for the value. This makes the tool run in the current directory of the active file in RText.
- Specify a keyboard shortcut for the tool in the Shortcut field.
- Add command line arguments. One of these will likely be ${file_name} or one of the other values suggested via Ctrl+Space.
- Use the keyboard shortcut you defined (or select the menu item) to assemble the current file.
That's all there is to it! Output should go to the Tool Output window.
Unfortunately, having the output scanned for links back into the document (line numbers, etc.) isn't yet supported. I'd like to add it though. There would likely be a new tab in the "New Tool" window along-side "Main" and "Environment", possibly something like "Output". This tab would allow you to define regular expressions to make into hyperlinks to jump to those locations in the document.
What is the format of error messages in TASM?