earl@trsvax (09/10/85)
All you have to do is change the PERMANENT STORAGE SIZE value located in the Module Header for RUNB (or Basic09, etc.). On page 22 of the OS9 Technical Information Manual (Radio Shack's, CoCo OS9), there is a chart showing the Executable memory Module Format. Relative Byte Offsets H0B and H0C can be changed using the OS9 Debugger. OS9 uses this value to determine how much memory is needed to execute a process, unless you override it. Just use the debugger to change the Permanent Storage Size value, then use VERIFY to update the module's CRC checksum value, etc. If you do not want to use the debugger you can write a simple Basic09 program to SEEK to these locations, and then change them, on disk. Then you can run Verify against the changed file.