From Newsgroup: comp.emulators.apple2
fadden <
thefadden@gmail.com> writes:
On Friday, January 20, 2023 at 4:19:33 PM UTC-8, A2CPM wrote:
I'd like to work with you on improving AppleCider's ability to cope with images of CP/M disks.
Presumably you mean CiderPress?
The support in CiderPress is a reflection of my level of familiarity with CP/M, which is
pretty low. It supports 140KB disks, but read-only.
I found what appear to be a couple of 800KB CP/AM disks, which look like CP/M with a
different catalog start and possibly a different block size. The tricky part is stuff
like, "The DPB is not usually stored on disc. It is either hardwired into the BIOS, or
generated on the fly." (https://www.seasip.info/Cpm/format31.html) So it might be
necessary to have a set of possible configurations and apply each in turn until something
reasonable pops out.
In any event, I hope to have time to make some improvements in a couple of months.
With respect to your original question, Cadius (https://brutaldeluxe.fr/products/crossdevtools/cadius/index.html) can create disk images
and copy files on and off of ProDOS disks. If you want actual MS-DOS, and not just
command-line, it'd probably work for that as well, being straightforward ANSI C.
I probably know less about CP/M than either of you. The Debian
`cpmtools' package has a file, /etc/cpmtools/diskdefs, with information
on the disk layouts for quite a variety of systems and floppy-disk
sizes. There are 98 such definitions in the package on my system.
The two Apple II-related entries are:
# Apple II CP/M skew o Apple II DOS 3.3 skew
diskdef apple-do
seclen 256
tracks 35
sectrk 16
blocksize 1024
maxdir 64
skewtab 0,6,12,3,9,15,14,5,11,2,8,7,13,4,10,1
boottrk 3
os 2.2
end
# Apple II CP/M skew o Apple II PRODOS skew
diskdef apple-po
seclen 256
tracks 35
sectrk 16
blocksize 1024
maxdir 64
skewtab 0,9,3,12,6,15,1,10,4,13,7,8,2,11,5,14
boottrk 3
os 2.2
end
Perhaps, this is helpful to someone?
--
--
Jerry jerry+a2 at jpen.ca
--- Synchronet 3.21b-Linux NewsLink 1.2