hjalfi
Experienced Member
I finally figured out how to make executable files for my Brother word processor, and after going on an extended reverse engineering binge (with ghidra, which is amazing) I have CP/M running on it: https://www.reddit.com/r/retrobattlestations/comments/f01hxo/cpm_on_a_typewriter/
But that's not what I'm asking about. The interesting bit is that I went poking through the Brother ROM trying to find the the disk access routines, to see whether driving the floppy drive controller directly rather than going through the OS was feasible. To my surprise, I found GCR tables. More investigation shows that it's doing the disk flux-to-bits encode and decode in software. It looks like the floppy drive 'controller' simply locks on to the bitstream via a PLL and then streams bits to the CPU through a FIFO. There must be some mechanism for synchronising to the beginning of a disk record, but there doesn't seem to be more to it than that. All the encoded data for a sector is read into a buffer, then the CPU decodes it in one go.
This means it'd be perfectly possible to change the disk format by using different software.
My question: I've seen rumours that single-sided, single-density 3.5" floppy disks did exist at one point. Is this true and does anyone have any pointers? In particular, what clock rate did they run at? The Brother hardware generates bitstreams on disk at 280kHz, at least when I spin the disk at 300rpm; I don't know yet whether the clock rate is configurable.
But that's not what I'm asking about. The interesting bit is that I went poking through the Brother ROM trying to find the the disk access routines, to see whether driving the floppy drive controller directly rather than going through the OS was feasible. To my surprise, I found GCR tables. More investigation shows that it's doing the disk flux-to-bits encode and decode in software. It looks like the floppy drive 'controller' simply locks on to the bitstream via a PLL and then streams bits to the CPU through a FIFO. There must be some mechanism for synchronising to the beginning of a disk record, but there doesn't seem to be more to it than that. All the encoded data for a sector is read into a buffer, then the CPU decodes it in one go.
This means it'd be perfectly possible to change the disk format by using different software.
My question: I've seen rumours that single-sided, single-density 3.5" floppy disks did exist at one point. Is this true and does anyone have any pointers? In particular, what clock rate did they run at? The Brother hardware generates bitstreams on disk at 280kHz, at least when I spin the disk at 300rpm; I don't know yet whether the clock rate is configurable.