CPU280 3.5" 1760K format support

HxC Floppy emulator support for all others computers...
Post Reply
sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

CPU280 3.5" 1760K format support

Post by sijnstra »

Hi,

I'm trying to import an image from a Kryoflux sampled CP/M (ZCP3) 3.5" high density 1760K floppy using Tilmann Reh's specs. These specs are:

Code: Select all

   Nr. Name                 Siz Trk SecGr Sec Dense SMod Hd0 Hd1 Psk Iv Ms TT  Skw Bls   Dir Off
   =============================================================================================
   45  REH 3.5" HD           3"  80  1024  11    HD  Sec   0   1   1  -  -  -    2   4   256   0
When I try to drag the kryoflux .raw file into either the beta or the release versions of the HxCFloppyEmulator, I get "Load error! Read file error!"
When I try to load the kryoflux .img file (using skew = 2, interleave =2), it converts the file to .hfe, and the "track analyzer" view of the data looks reasonably legitimate - i.e. I can see the first sector with the format block, and the directory sectors look reasonable, however, I get a read error on my CPU280. It won't read the mounted .hfe file.

If I convert other 1440K CP/M .img files, they work as-is perfectly well, so I know the CPU280 is happy to read images from the HxC2001.

Is there something about the format that might not be supported? I'm hoping to use a few of this format due to the more convenient larger size, and that I have a few disks in this format.

Thanks!
Shawn

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

Can you share these images/dump ?

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Yes I can. I've shared a zip file with both the .raw and the .img at:

https://drive.google.com/file/d/1gH1IMr ... sp=sharing

Regards,
Shawn

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

sijnstra wrote:
Mon Sep 14, 2020 1:29 pm
Yes I can. I've shared a zip file with both the .raw and the .img at:

https://drive.google.com/file/d/1gH1IMr ... sp=sharing

Regards,
Shawn
Change the .raw extension to .ctr, then just drag & drop it on the main window (the caps library should in the hxc software folder).

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Thank you for following up.

I tried renaming the .raw to .ctr and get the same error. If I turn on debug, I get the following message in the log:

ERROR : No loader support the file D:\cpm\UZIX280.ctr !

I've also tried using the latest v2.2.2.1 on sourceforge.

I am not sure what you mean by caps library. Am I missing something?

Thanks,
Shawn

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

sijnstra wrote:
Tue Sep 15, 2020 1:03 pm
Thank you for following up.

I tried renaming the .raw to .ctr and get the same error. If I turn on debug, I get the following message in the log:

ERROR : No loader support the file D:\cpm\UZIX280.ctr !

I've also tried using the latest v2.2.2.1 on sourceforge.

I am not sure what you mean by caps library. Am I missing something?

Thanks,
Shawn

http://www.softpres.org/download
http://www.softpres.org/_media/files:sp ... ache=cache

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Hi Jeff,

Thank you for those links! The drag an drop now successfully converts the file from the raw format to .hfe which I can save to the sd card.

I'm not sure how to debug the next problem which is reading the emulated floppu. If I have a mounted floppy image of a 1440K floppy it works perfectly. For the 1760K for some reason it seems to not work. It seems to be unable to read even the first sector.

I've tried updating the firmware of the hxc2001 to the current beta v1.8.6.20a.upd

Any thoughts?

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

sijnstra wrote:
Wed Sep 16, 2020 2:01 pm
Hi Jeff,

Thank you for those links! The drag an drop now successfully converts the file from the raw format to .hfe which I can save to the sd card.

I'm not sure how to debug the next problem which is reading the emulated floppu. If I have a mounted floppy image of a 1440K floppy it works perfectly. For the 1760K for some reason it seems to not work. It seems to be unable to read even the first sector.

I've tried updating the firmware of the hxc2001 to the current beta v1.8.6.20a.upd

Any thoughts?
Share the non working converted image.

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Thanks Jeff.

Uploaded here:
https://drive.google.com/file/d/1Bd0Cff ... sp=sharing

Thanks and regards
Shawn

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Hi Jeff,

I think I have made some progress.
Firstly, I needed to prove to myself that the .img file was legitimate. I did this by using CPMTOOLS and created a DISKDEF entry:

Code: Select all

# CP/M-3 on 1.76MB floppies Tilmann Reh format
# for the REH-Design CPU280
diskdef reh-176
  seclen 1024
  tracks 160
  sectrk 11
  blocksize 4096
  maxdir 256
  skew 2
  boottrk 0
  os 3
end
As that worked well, I then had to figure out what else might not be right on the settings in the HxCFloppyEmulator software.
The disks are High Density, which may have been related to the earlier problems? I ended up manually defining the disk parameters:

Code: Select all

Track type: MFM, Bitrate: 500000, RPM: 300
Tracks: 80, Sides: 2, Sectors: 11, Sector Size: 1024, ID start: 1, Interleave: 2, Skew: 2
I loaded the image file I had shared using those settings, converted to .hfe and put it into the HxC2001. I no longer get the read error, and can read the directory and type out the files.
Perhaps there is an opportunity to tweak some of the import functionality although I'm wondering what else I could have done to make this work automatically.

Thank you for your help!

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

I've now tested the images more thoroughly. I can read and write to the .hfe files from my CPU280 but I can't format the disk. The track numbers on the HxC become erratic. Perhaps there are other things I need to tune. Any suggestions welcome.

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

Share the HFE file and the stream.

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Hi Jeff,

I've uploaded a zip with 4 files so the whole story is in one place.

https://drive.google.com/file/d/1wgxiai ... sp=sharing

The files are:
UZIX280.ctr - the kryoflux stream
UZIX280.ctr.img - the kryoflux conversion to .img format
UZIX280_ctr_auto.hfe - generated by dragging the .ctr stream into v 2.4.4.2 of the HxC Floppy emulator. Does not work; causes disk read errors.
UZIX280_ctr_manual.hfe - manually created by using the .img file with values in my previous post. Works except cannot format the disk.

Thanks and regards,
Shawn

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: CPU280 3.5" 1760K format support

Post by Jeff »

sijnstra wrote:
Mon Sep 28, 2020 12:44 pm
Hi Jeff,

I've uploaded a zip with 4 files so the whole story is in one place.

https://drive.google.com/file/d/1wgxiai ... sp=sharing

The files are:
UZIX280.ctr - the kryoflux stream
UZIX280.ctr.img - the kryoflux conversion to .img format
UZIX280_ctr_auto.hfe - generated by dragging the .ctr stream into v 2.4.4.2 of the HxC Floppy emulator. Does not work; causes disk read errors.
UZIX280_ctr_manual.hfe - manually created by using the .img file with values in my previous post. Works except cannot format the disk.

Thanks and regards,
Shawn
.ctr is not the a kryoflux stream. use the kf .raw export instead.
(if you want to be able to read the .ctr you need to have the caps library in the hxc software folder.)

sijnstra
Posts: 17
Joined: Sun Sep 13, 2020 6:26 am

Re: CPU280 3.5" 1760K format support

Post by sijnstra »

Hi Jeff,

Apologies for that. The .ctr file didn't succeed the import, however, the .raw produces a readable image.

I still can't format the disk - the track stepping gets erratic the further it goes, but I can read/write files.

I've included the raw (appears as individual files for each track in a subdirectory) as well as everything else generated by kryoflux, and the converted .hfe in the .zip below:

https://drive.google.com/file/d/1QAI3zf ... sp=sharing

Kind regards,
Shawn

Post Reply