Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3007

8-bit acorn emulators • Re: HFE and Index Pulses

$
0
0
Hopefully a quick question for someone who knows. With the HFE image file format, where should the index pulse be relative to the start of each set of track data from the file? If at the start, is the track data in the file aligned to the leading or trailing edge of the index pulse and how long should it be?
I don't know the correct answer.

I based beebjit's code on various tests and observations:
- HFE tooling (e.g. HxC Floppy Emulator) seems to generate HFEs with the SET INDEX right at the beginning of each track.
- HFE v3 only encodes the start of an index pulse.
- Testing a real disc drive (my Chinon), it sustains the index pulse for about 4ms. This matches datasheets for other drives, which specify 4ms pulse width.
- Testing with a real 1770, the trigger point appears to be the leading edge of the index pulse. Specifically, the "read track" command will start returning track data at the leading edge of the index pulse.


Cheers
Chris

Statistics: Posted by scarybeasts — Fri Apr 25, 2025 7:39 pm



Viewing all articles
Browse latest Browse all 3007

Trending Articles