Two things. This script is actually about 400 lines. I was looking at the INI file for it somehow.
And I got it to work. Just added a Field to Type TScriptInstr to contain the Line that cause the instruction to be added, set this in AddInstr, and added it to the binary dump format. This makes the binary format quite a bit bigger, so it's only added if a switch DebugOn is true.
If anyone's using MicroC and would find this useful let me know. Too bad it isn't in a google code or sourceforge project or I could just apply for membership and check in my fixes.
And I got it to work. Just added a Field to Type TScriptInstr to contain the Line that cause the instruction to be added, set this in AddInstr, and added it to the binary dump format. This makes the binary format quite a bit bigger, so it's only added if a switch DebugOn is true.
If anyone's using MicroC and would find this useful let me know. Too bad it isn't in a google code or sourceforge project or I could just apply for membership and check in my fixes.