Hard sector format

HxC Floppy emulator support for all others computers...
Post Reply
djones60
Posts: 18
Joined: Wed Jun 13, 2018 2:59 pm

Re: Hard sector format

Post by djones60 » Tue Aug 14, 2018 5:04 pm

Jeff wrote:
Tue Aug 14, 2018 10:56 am
A question to everyone present in this thread : Is the "Gotek" hardware is a must for you ?
I mean : Today there is definitively some more reliable and interesting solutions available. I am thinking about something designed around a Raspberry-Like solution.
BTW is there someone with a Raspberry Pi Zero (W) here ?
You mean something like this?
https://www.hackster.io/RobSmithDev/ard ... 2-2-239c97

snhirsch
Posts: 160
Joined: Tue Dec 08, 2015 1:42 am

Re: Hard sector format

Post by snhirsch » Tue Aug 14, 2018 8:11 pm

Jeff wrote:
Tue Aug 14, 2018 3:40 pm
Why low cost is important for you ? Do you plan to resell them ? Or plan to install thousand units somewhere ?
Neither. But, I do have 4 systems to update with support for hard-sector emulation. At 30 USD, the Gotek is a great deal. At 90 USD, the Lotharek would be prohibitively costly. I would like to spend no more then 50 USD on hardware if possible. Maybe it's not possible, but you did ask :-).

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

Re: Hard sector format

Post by Jeff » Tue Aug 14, 2018 8:14 pm

djones60 wrote:
Tue Aug 14, 2018 5:04 pm
Jeff wrote:
Tue Aug 14, 2018 10:56 am
A question to everyone present in this thread : Is the "Gotek" hardware is a must for you ?
I mean : Today there is definitively some more reliable and interesting solutions available. I am thinking about something designed around a Raspberry-Like solution.
BTW is there someone with a Raspberry Pi Zero (W) here ?
You mean something like this?
https://www.hackster.io/RobSmithDev/ard ... 2-2-239c97
No, something more like this :
https://www.youtube.com/watch?v=wJEekEhZtD8
(with a new cost effective floppy interface).

The network support open the solution to tons of features. And the huge RAM quantities available eliminate the flash latency problem and make all image type support possible.

The in-middle solution is to emulate an USB stick with a raspberry-zero with wifi support. Already tried and this is working pretty well.

dwight
Posts: 11
Joined: Thu Jun 14, 2018 3:04 am

Re: Hard sector format

Post by dwight » Fri Aug 24, 2018 11:11 pm

Hi Jeff
Did you try responding with a corrupt data a couple times? I'd think this would give you the time needed. You do need to keep the sector pulses going while doing other book keeping. Is that the problem?
Dwight

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

Re: Hard sector format

Post by Jeff » Fri Aug 24, 2018 11:31 pm

dwight wrote:
Fri Aug 24, 2018 11:11 pm
Hi Jeff
Did you try responding with a corrupt data a couple times? I'd think this would give you the time needed. You do need to keep the sector pulses going while doing other book keeping. Is that the problem?
Dwight
No i didn't. As i explained a specific firmware is needed. Currently the sector data flow is giving rythm to the index signal. To fake some sectors the firmware need to be modified : the index must give rythm to the sector data flow. This may sound easy to do but in fact all the pipeline need to be changed.

BTW Will all available software retry with an read error ? I ask because this is not always true on others systems.

dwight
Posts: 11
Joined: Thu Jun 14, 2018 3:04 am

Re: Hard sector format

Post by dwight » Tue Sep 18, 2018 12:25 am

Any access that goes through the bios will normally expect a possible error, at least on the first read.
I can't say that 100% of the software will do that.
I do hope you are stretching the timing between sector pulses. it isn't a lot of time but still some slack.
Dwight

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

Re: Hard sector format

Post by Jeff » Tue Sep 18, 2018 12:36 am

dwight wrote:
Tue Sep 18, 2018 12:25 am
I do hope you are stretching the timing between sector pulses. it isn't a lot of time but still some slack.
mhhh ? what do you mean ?

dwight
Posts: 11
Joined: Thu Jun 14, 2018 3:04 am

Re: Hard sector format

Post by dwight » Tue Sep 18, 2018 9:12 pm

I posted the maximum time you could delay a sector pulse. It is noticeably longer than a normal running floppy would be.
The hardware requires a continuous stream of sector pulses and index pulse. There is some slack on the timing but not a lot. That is why I asked if you were using timers to create the pulses.
Dwight

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

Re: Hard sector format

Post by Jeff » Mon Oct 01, 2018 10:28 pm

dwight wrote:
Tue Sep 18, 2018 9:12 pm
I posted the maximum time you could delay a sector pulse. It is noticeably longer than a normal running floppy would be.
The hardware requires a continuous stream of sector pulses and index pulse. There is some slack on the timing but not a lot. That is why I asked if you were using timers to create the pulses.
Dwight
Not currently : The index is recorded in the HFEv3 track stream. The current issue is that when the machine is stepping a bunch of tracks, some index may be delayed or skipped due to the flash access latency.

So as i explained i need to change the firmware design : the sector/index timer must be used as trigger to output the next sector.

namachari
Posts: 40
Joined: Tue Aug 23, 2016 11:33 am

Re: Hard sector format

Post by namachari » Sat Dec 08, 2018 10:07 am

I've been following this thread on and off over the months, but it's a long thread and hard to follow at times. I was just wondering if this is at a stage where it works reliably enough to try on my SOL-20?

Thanks

Philip

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

Re: Hard sector format

Post by Jeff » Sat Dec 08, 2018 4:54 pm

namachari wrote:
Sat Dec 08, 2018 10:07 am
I've been following this thread on and off over the months, but it's a long thread and hard to follow at times. I was just wondering if this is at a stage where it works reliably enough to try on my SOL-20?

Thanks

Philip
Have already tried the current firmware with your SOL-20.

dwight
Posts: 11
Joined: Thu Jun 14, 2018 3:04 am

Re: Hard sector format

Post by dwight » Fri Jan 18, 2019 5:49 am

Hi
The Sol-20 didn't have an official controller. Most used a N* controller. Still, the software is different and may not be as ready to flag an error on a late sector pulse. Jef code works well for the data part. It is possible that the software written for the SOL-20 doesn't even pay attention to the sector error signal.
Dwight

Post Reply