MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / floppy_setmode

Function floppy_setmode

bsp/x86/drivers/floppy.c:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182
183void floppy_setmode(void)
184{
185 floppy_sendbyte (FD_SPECIFY);
186 floppy_sendbyte (0xcf);
187 floppy_sendbyte (0x06);
188 OUTB (0,FD_DCR);
189}
190
191
192void block_to_hts(u32 block, u32 *head, u32 *track, u32 *sector )

Callers 1

floppy_read_cmdFunction · 0.85

Calls 1

floppy_sendbyteFunction · 0.85

Tested by

no test coverage detected