Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.8 $; site trsvax Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!uiucdcs!convex!trsvax!earl From: earl@trsvax Newsgroups: net.micro.6809 Subject: Re: memory allocation for packed I-code Message-ID: <66700001@trsvax> Date: Tue, 10-Sep-85 15:24:00 EDT Article-I.D.: trsvax.66700001 Posted: Tue Sep 10 15:24:00 1985 Date-Received: Fri, 13-Sep-85 03:47:32 EDT References: <74200005@ea.UUCP> Lines: 13 Nf-ID: #R:ea.UUCP:74200005:trsvax:66700001:000:772 Nf-From: trsvax!earl Sep 10 14:24:00 1985 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.