[comp.os.cpm] DosDisk for CP/M-68K

mknox@EMX.UTEXAS.EDU (Margaret H. Knox) (02/15/88)

With reference to Bridger Mitchell's comments about porting DosDisk
to CP/M-68K (Z-80 assembly language running as RSX routine):

CP/M-68K does indeed support RSX modules (I have written a number of
them), although the total DRI documentation on them in the 68K manual
consists of the statement that they are supported.

I should point out however that porting a Z80 assembly language
program to the 68000 is non-trivial.  Better off to look at the
Z80 code and use that as a template to re-write the program.  The
biggest problem is that the Z80 (and 8080) does not update the CC
for a number of common instructions.  A straight transliterated
version will spend a lot of time saving and restoring
(uselessly) the CC.  Only other solution is to look at every
conditional and see where the CC was actually determined.

cwwj@ur-tut.UUCP (Clarence Wilkerson) (02/15/88)

I wrote a utility in Turbo Pascal that might be suitable
for use as a template for programming this on other systems.
My memory is that that it is on GENIE CP/M as DOSONCPM.ARC.
I deleted the write to DOS disk because I had companion program
for PC's that reads CP/M disks. DOSONCPM does support subdirectory
reads. My experience with utilities to use CP/M diskettes on
PC's is that it is slow. I imagine, but have not tried, that
the reverse is true. Clarence Wilkerson
.