Skip to contentSkip to conversation

fdc: save and restore commands

Qemu-devel Benjamin David Lunt 1 participant 1 message Sep 2, 2009

lore
Share & tools
lore
#0 lore raw

Hello again,

Another (maybe) error in fdc.c is the command code for SAVE and RESTORE. In the Intel 82078 (44pin) and the Intel 82078SL (64pin), each have the command codes as 2Eh and 4Eh respectively. The current fdc.c file has them as 2Ch and 4Ch.

fdc.c Line 368
FD_CMD_SCAN_HIGH_OR_EQUAL = 0x1d,
- FD_CMD_SAVE = 0x2c,
+ FD_CMD_SAVE = 0x2e,
FD_CMD_OPTION = 0x33,
- FD_CMD_RESTORE = 0x4c,
+ FD_CMD_RESTORE = 0x4e,

Please correct me if I am wrong.

Thanks,
Ben