IRTC, when in the Host mode, will compile an application very quickly. However, when it has been written and debugged, it may be desirable to save the resultant code.
This may be done with HEX-SAVE.
The start and end addresses are calculated and given to HEX-SAVE with a filename. The file extension .HEX is automatically appended to the filename.
Use: $0000 $0FFF HEX-SAVE APPL
The code is saved in the INTELLEC format, and may be copied to a programmer from DOS.
Saved code may be re-loaded into the Host Target image with HEX-LOAD. Again no file extension is required.
A * is shown for every 1k of code loaded, and a checksum of the code is given at the end.
Note: The addresses used by HEX-LOAD and HEX-SAVE are byte addresses not word. To save your total application use;
$F000 HERE-T HEX-SAVE APPL
As the TI programming program required a TI Hex, there are also the TIHEX-LOAD and TIHEX-SAVE versions of the above. The word TLM-FILE produces a TI Hex file called MSPTLM.HEX which is used by TLM.BAT and BSLDEMO.EXE to initially program the Target chip with the TLM code.