2HC is everything OK, 2DD can read but can't write, delete and format!

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

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by Jeff »

I don't think that this LOWDNS output is useful for the emulator : It just set the floppy drive AGC input network and filters. This is completly useless for a flash based floppy emulator.

wirequire
Posts: 22
Joined: Thu Feb 04, 2021 9:32 am

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by wirequire »

Thank you!
I understand! :)

wirequire
Posts: 22
Joined: Thu Feb 04, 2021 9:32 am

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by wirequire »

Hi Jeff,

I haven't seen you for a while

Good news I have.
At last I've solved 2DD's problem! :D

The cause was that transfer rate was not 250kbps but 300kbps even though 2DD on 3.5inch FDD.

This spec may be only in an old Japanese PC(as well as PC98).
You may know, these PC can use both 2HD and 2DD of 5inch on the same FDD.
Normally in 5inch FDD, physcally different FDD are used for useing 2HD or 2DD.
Apparently, These spec are taken from 5inch FDD's spec.

So FDD is controlled by same speed(=360rpm) both 2HD and 2DD of 3.5inch FDD.
Furthermore in 2DD, to keep transfer rate per rotating speed, transfer by 1.2x speed(250kbps x (360 / 300)rpm = 300kbps).

I modifyed HFE's data directly using binary editor.
I changed transfer rate 250kbps(FA0) to 300kbps(2C1).
It was perfict.
My problem was gone.

I appriciate you that I've came to this thought.

BTW, I tried to convert above HFE to IMG using HxCFloppyEmulator.
But it seems not to take over transfer rate.

IMG file can't have transfer rate in the first place?
Or do you happen to know how it takes over them?
I am sorry to say, but it is more useful using IMG than HEF for me.
I hope I can do it.

Thank you. :D

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

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by Jeff »

You can force the bitrate from the embedded menu : Remove the stick, press both buttons, select "bitrate".

You can also redefine a custom format in the firmware :
https://hxc2001.com/custom_fw/ (User defined raw file image/disk format)

wirequire
Posts: 22
Joined: Thu Feb 04, 2021 9:32 am

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by wirequire »

Jeff wrote:
Mon Feb 15, 2021 9:27 pm
You can force the bitrate from the embedded menu : Remove the stick, press both buttons, select "bitrate".

You can also redefine a custom format in the firmware :
https://hxc2001.com/custom_fw/ (User defined raw file image/disk format)
I don't think it is better solution for my case.
Because this setting surely can access to 2DD but can't access to 2HD instead.
I want to access both 2HD and 2DD of IMG, if I can.
Do you have any good idea?
Or unfortunately is it difficult?

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

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by Jeff »

As the HD format is working out the box, just redefine the DD format : https://hxc2001.com/custom_fw/ (User defined raw file image/disk format)

wirequire
Posts: 22
Joined: Thu Feb 04, 2021 9:32 am

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by wirequire »

Hi Jeff,

It is bothersome, so I'll use not IMG but HEF.
Thank you.

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

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by Jeff »

wirequire wrote:
Tue Feb 16, 2021 1:39 pm
Hi Jeff,

It is bothersome, so I'll use not IMG but HEF.
Thank you.
I don't understand : What is the problem ?

wirequire
Posts: 22
Joined: Thu Feb 04, 2021 9:32 am

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by wirequire »

I don't mean to hurt your feeling.
My phrasing was poor, let me say again.

I use 2HD format and 2DD format in the same USB memory.
HFE format can set bit rate each file.
So I can change 2DD or 2HDD disk images easily even if there are mixed in the same USB memory.

But IMG format can't.
Once bit-rate set to 300kbps into firmware, 2DD is OK but 2HD is BAD.
If I want to change 2DD to 2HD disk image, I also should change bit-rate to 500kbps every time.
For this reason, I said "It is bothersome".

Always thank you.

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

Re: 2HC is everything OK, 2DD can read but can't write, delete and format!

Post by Jeff »

The change only apply to one image format : The HD IMG bitrate shouldn't change if you just change the DD format :
See : https://hxc2001.com/custom_fw/ (User defined raw file image/disk format)

Post Reply