🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #2241

Transferring CP/M progs to ST

#2241
From: Prabhaker Mateti
Date: Sat, 25 Jan 1986 22:03
35 lines
2418 bytes
Here is a method for transferring files from TOS to CP/M-emulator's disk.
It is painful, but using this technique I moved several files including
PIP, STAT, DDT, BDS C compiler, etc.  I own all of these on an Osborne-1
that I rarely use now.  This is being posted in a 'good spirit.'  Don't
send me or this group any flames on the legality of this.

Enter CP/M emulator.  Insert a TOS-formatted disk.  This should contain no
files (either TOS or CP/M).  Now issue the CP/M command

save 32 junk.ddd

which saves 32 'pages' of CP/M core image as file junk.ddd.  This
ofcourse contains garbage, but never mind that.  Now exit CP/M.
Write a program to run on TOS to read a file (from a TOS disk) and
wait until you change
the disk to the above CP/M disk (with the junk.ddd file), and write
the file out onto consecutive sectors whose logical numbers
begin at 26.  (Because we saved 32 pages (== 8k), make sure the file
you are transferring is <= 8k.  If you want to transfer larger files, change
the 32 to whatever.)  A SSDD TOS disk has 9 sectors (numbered 1 to 9)
on each track (numbered 0 upwards).  So logical sector number 26 (say, s) is
track 2 (== s/9) phys sector 9 (== (s modulo 9) + 1).  Each sector holds
512 bytes.

I suggest that you transfer either a vanilla MODEM7.COM or PIP.COM this
way.  Now re-enter CP/M emulator, do a 'ren pip.com=junk.ddd' (assuming you
transferred PIP).  Type 'pip' and you should see the '*' as the prompt.
Once PIP is working, you can copy files in a number of ways.  The CP/M disk
with files can be disk-copied with TOS (e.g. COPYDISK.PRG).
-- 

prabhaker mateti				decvax!cwruecmp!pm
department of computer engineering & science	pm@Case
case western reserve university			(pm%Case@csnet-relay)
cleveland, oh 44106				(216) 368-2816
Technical Details
Message-ID: <1390@cwruecmp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!cwruecmp!pm

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/17/84; site cwruecmp.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!cwruecmp!pm
From: pm@cwruecmp.UUCP (Prabhaker Mateti)
Newsgroups: net.micro.atari
Subject: Transferring CP/M progs to ST
Message-ID: <1390@cwruecmp.UUCP>
Date: Sat, 25-Jan-86 17:03:30 EST
Article-I.D.: cwruecmp.1390
Posted: Sat Jan 25 17:03:30 1986
Date-Received: Sun, 26-Jan-86 06:05:22 EST
Reply-To: pm@cwruecmp.UUCP (Prabhaker Mateti)
Organization: CWRU Dept. Computer Eng., Cleveland, OH
Lines: 35
Keywords: CP/M 520ST