Sort of. The emulator image is raw MFM encoded data. Only think I know that
can use it directly is TRS-80 emulator trs80gp.
I do provide tools to convert from/to a disk image. To make a disk image
do something like
$ mfm_util --emu emufile --ext dosimg.ext --ana
It will print something like this. You will need information from it later.
Interleave (not checked): 0 3 6 9 12 15 1 4 7 10 13 16 2 5 8 11 14
Command line to read disk:
--format OMTI_5510 --sectors 17,0 --heads 6 --cylinders 640 --header_crc 0x2605fb9c,0x104c981,32,6 --data_crc 0xd4d7ca20,0x104c981,32,6 --sector_length 512 --retries 50,4 --drive 0
For disks that are partitioned tools I use need the partitions extracted. You
can do that with following. All is assuming you are using my latest OS image.
Just become root.
$ sudo su
# kpartx -av dosimg.ext
add map loop0p4 (253:0): 0 65161 linear 7:0 17
If you want the parition to use with tools not on the beaglebone you can
create a file with
# cp /dev/mapper/loop0p4 partition1
You can then use scp to copy file off or copy to removable flash on beaglebone
On beaglebone you can try to mount the partition
# mount -o loop /dev/mapper/loop0p4 /mnt/usb
usb is an existing directory. You can use any under /mnt or create one.
Do the same for other image except pick a different directory under /mnt
Should see your files
# ls -l /mnt/usb
After moving files umount everything
# umount /mnt/usb
#kpartx -dv dosimg.ext
Do same for second image you mounted
Now you need to convert back to emulator file. Go back to debian user
# exit
$ ext2emu --format OMTI_5510 --heads 6 --cylinders 640 --interleave 3 --ext dosimg.ext --emu new.emu
For interleave enter the value from subtracting the first two values reported
from mfm_util (3 - 0).
May want to try this command first to verify if your format is supported. Also
see if it still boots ok before you change anything.
mtools is on the beaglebone also. If mount and copying files makes image
ususable by Compaq you can try mtools.
mdir -i partition1 ::
To copy all files to current directory
# mkdir workinge
# cd working
# mcopy -spm -i ../partition1 :: .
To copy all files in current directory to image
# mcopy -sp -i ../partition1 * ::
You will need to copy partition1 back to /dev/mapper/loop0p4 before kpartx -dv
> > <
https://groups.google.com/d/msgid/mfm-discuss/95830eeb-951d-4b9c-8e08-f70abf1b81b5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
> You received this message because you are subscribed to the Google Groups "MFM Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
mfm-discuss...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/mfm-discuss/CAP0wULyO7tb8zi0BaKbGpyE4vsAj30KtSbaTeSYKWicFOHP%3DYQ%40mail.gmail.com.