smp
Veteran Member
Hello all,
I am exercising CP/M on my HP86B. HP sold an "Auxiliary Processor" also known as the CP/M system. As with other systems of that time, the module contained a 4MHz Z-80 and 64K RAM, and the interfacial logic to allow the Z-80 system to run with the keyboard, display and disk drives provided by the HP-86 & peripherals.
The HP version of CP/M was extremely crippled in I/O, as HP wanted to allow the use of CP/M but keep its user base coming to HP for software. SO, absolutely no serial input to allow any software or source code files to be imported. At that time, all software came on disk from HP. Period.
Fast-forward to today, and there are methods to get files into my HP86 CP/M system, but they are quite tedious (for me) as I normally do little bits at a time, many times over. Let's not worry about that. One day, long ago, I got the source code file for fig-FORTH onto one of my HP86 CP/M disks. Never went anywhere with it at the time, IIRC. Today, I am interested in picking up that thread.
The source code file that I have needs 4-5 patches to fix things that I've found using fig-FORTH on my other CP/M systems. So, here I am with a minimal CP/M system running on one disk and the source code file that needs a few fixes on another disk drive. I can use ED - I know, UGH! but it's only a few minor edits and I'm home free. My problem is this:
The fig-FORTH source file is 54K big. That's too big to get the whole file into ED at one go. OK, so I can do some of the patches, but I cannot get enough of the file in to do the last 1 or 2. For the life of me, I cannot find the command in ED to save some of the previous portion of the file, and go and get the rest of the file so I can finish up.
Can anyone help me with what the command is, or what sequence of commands I need to use in ED to get the last portion of a large file in for editing? I start at the beginning identifying the file to ED, and once it's ready to go, I give it the #A command to go get it all. Ed only goes and gets maybe 75% of the file in, so I can do some of my patches, but then I'm at the bottom of this batch of source code, and I need to save that off and get the last 25% of the file in so I can do the last 1 to 2 patches and be done.
Is there a different way to get this done? Is there a command to read only the second half of the file, perhaps?
Any advice or assistance would be greatly appreciated!
smp
I am exercising CP/M on my HP86B. HP sold an "Auxiliary Processor" also known as the CP/M system. As with other systems of that time, the module contained a 4MHz Z-80 and 64K RAM, and the interfacial logic to allow the Z-80 system to run with the keyboard, display and disk drives provided by the HP-86 & peripherals.
The HP version of CP/M was extremely crippled in I/O, as HP wanted to allow the use of CP/M but keep its user base coming to HP for software. SO, absolutely no serial input to allow any software or source code files to be imported. At that time, all software came on disk from HP. Period.
Fast-forward to today, and there are methods to get files into my HP86 CP/M system, but they are quite tedious (for me) as I normally do little bits at a time, many times over. Let's not worry about that. One day, long ago, I got the source code file for fig-FORTH onto one of my HP86 CP/M disks. Never went anywhere with it at the time, IIRC. Today, I am interested in picking up that thread.
The source code file that I have needs 4-5 patches to fix things that I've found using fig-FORTH on my other CP/M systems. So, here I am with a minimal CP/M system running on one disk and the source code file that needs a few fixes on another disk drive. I can use ED - I know, UGH! but it's only a few minor edits and I'm home free. My problem is this:
The fig-FORTH source file is 54K big. That's too big to get the whole file into ED at one go. OK, so I can do some of the patches, but I cannot get enough of the file in to do the last 1 or 2. For the life of me, I cannot find the command in ED to save some of the previous portion of the file, and go and get the rest of the file so I can finish up.
Can anyone help me with what the command is, or what sequence of commands I need to use in ED to get the last portion of a large file in for editing? I start at the beginning identifying the file to ED, and once it's ready to go, I give it the #A command to go get it all. Ed only goes and gets maybe 75% of the file in, so I can do some of my patches, but then I'm at the bottom of this batch of source code, and I need to save that off and get the last 25% of the file in so I can do the last 1 to 2 patches and be done.
Is there a different way to get this done? Is there a command to read only the second half of the file, perhaps?
Any advice or assistance would be greatly appreciated!
smp