On Thursday, 7 June 2018 13:49:17 UTC-4, John Morris wrote:
> Yeah, the A2R format for Applesauce records the number of nanoseconds between flux transitions across the entire disk surface. Things like bit rates are completely irrelevant to it. The Applesauce software then converts the timing information into bitstreams.
My emulator could consume that, or any intermediate format (e.g. sampling the flux stream at 2.046Mhz or any other arbitrary high resolution); since I strongly suspect you've discovered that it isn't useful I don't think it's really important.
The patches the emulator keeps in-memory on top of the track to record write patches are actually at 2.046Mhz because as discussed elsewhere I'm just running the Disk II state machine ROM, because I'm lazy. Which means that I don't actually know that much in advance about when a transition will be written other than that the options are discrete, so just sampling it at the Disk II clock rate saves me some effort there. I'm very, very lazy.
In case anybody is curious, it then costs me about 75% as much to emulate the Disk II as it does to emulate the Apple II. But that's still only a net 10% to 15% of the 1.1 Ghz Core M in my 2015 MacBook so I'm not that bothered. Though the emulator is smart enough to clock it selectively, based on the combination of whether the drive motor is on, selected operation and current shift register contents.
Apologies for the digression!