[net.micro.atari] Transferring CP/M progs to ST

pm@cwruecmp.UUCP (Prabhaker Mateti) (01/26/86)

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

jimomura@lsuc.UUCP (Jim Omura) (01/29/86)

     Some of us are a bit concerned about the CP/M-80 emulator that was
posted to the net lately.  I don't have an Atari handy, but aparently
it has a Copyright notice and serial number.  Was this actually public
domain?  Does anyone know who the author is so I can check?

                                      Cheers! -- Jim O.

-- 
James Omura, Barrister & Solicitor, Toronto
ihnp4!utzoo!lsuc!jimomura
Byte Information eXchange: jimomura
(416) 652-3880