filea.txt ?
Using CP/M 2.2
Given two user areas on drive A with filea.txt in user area 1 how do I PIP filea.txt to A0>?
pip a:=files.txt [g1]
filea.txt ?
Thanks
On 12/15/21 8:53 PM, Paul Richards wrote:
Using CP/M 2.2
Given two user areas on drive A with filea.txt in user area 1 how do I PIP filea.txt to A0>?
From memory (and this may be CP/M 3 specific):
pip a:=files.txt [g1]
filea.txt ?
Using CP/M 2.2
Given two user areas on drive A with filea.txt in user area 1 how do I
PIP filea.txt to A0>?
filea.txt ?
stat pip.com
user 1* <------- hit Return here to exit from PIP
pip
save 29 pip.com
dirA: PIP COM
pip a:=a:filea.txt[g0rA: PIP COM : FILEA TXT
dir
Now theres a copy of PIP in user area 1 - where 29 is the number of 256-byte pages and is equal to the number of 128-byte records (58)
this is odd. This works because there is still a copy of PIP loaded into memory.
On Thursday, December 16, 2021 at 2:29:27 PM UTC+11, Steven Hirsch wrote:
On 12/15/21 8:53 PM, Paul Richards wrote:
Using CP/M 2.2From memory (and this may be CP/M 3 specific):
Given two user areas on drive A with filea.txt in user area 1 how do I PIP >>> filea.txt to A0>?
pip a:=files.txt [g1]
filea.txt ?
In article <spe67g$u1t$1@gioia.aioe.org>, Paul Richards writes:
Using CP/M 2.2
Given two user areas on drive A with filea.txt in user area 1 how do I
PIP filea.txt to A0>?
filea.txt ?
In a more general sense, CP/M 2 can be tricky when trying to copy files into a user
area where there are no files. I suggest you look at one of the utility programs
like SWEEP (aka NSWP207) that you'll find at
http://cpmarchives.classiccmp.org/cpm/Software/rlee/B/BAMDUA/097/
It provides menu-like file manipulation (including copying between user areas).
Using just CP/M 2 provided utilities, you'll need PIP in the current user area
(unless you're using one of the enhanced console command replacements
that can load programs from user area 0).
The following example will copy a file from user area 0 into an empty user area 1 -
stat pip.com
Recs Bytes Ext Acc
58 8k 1 R/O B:PIP.COM
Bytes Remaining On A: 420k
user 1* <------- hit Return here to exit from PIP
pip
save 29 pip.com
Now theres a copy of PIP in user area 1 - where 29 is the number of 256-byte pages and is equal to the number of 128-byte records (58) - rounded up by 1 if
this is odd. This works because there is still a copy of PIP loaded into memory.
dirA: PIP COM
pip a:=a:filea.txt[g0r
dirA: PIP COM : FILEA TXT
The file is now copied to user area 1.
The PIP option G specifies the user area to copy from, and R means if it is set
with SYS attribute then copy it too.
Tony
On 12/15/21 8:53 PM, Paul Richards wrote:
Using CP/M 2.2
Given two user areas on drive A with filea.txt in user area 1 how do I
PIP filea.txt to A0>?
From memory (and this may be CP/M 3 specific):
pip a:=files.txt [g1]
filea.txt ?
Thanks
write sample.txt [t] /tempWRITE?
write sample.txtWRITE?
Given that my directory structure is C:/SIMH/AltairZ80/, I then load WS
and write something e.g. SAMPLE.TXT. Should I set up a TEMP directory
e.g. C:/SIMH/AltairZ80/TEMP? This is what I get:
write sample.txt [t] /tempWRITE?
Paul Richards schrieb am Sonntag, 26. Dezember 2021 um 00:01:42 UTC+1:
Given that my directory structure is C:/SIMH/AltairZ80/, I then load WS
and write something e.g. SAMPLE.TXT. Should I set up a TEMP directory
e.g. C:/SIMH/AltairZ80/TEMP? This is what I get:
write sample.txt [t] /tempWRITE?
The name of the executable is w.com and not write.com, so try
w sample.txt
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 67:31:57 |
Calls: | 6,654 |
Files: | 12,200 |
Messages: | 5,331,958 |