DMA for legacy devices on laptops
Posted: Mon Oct 12, 2009 4:33 pm
Hi all
I have DMA and floppy drivers in my OS which works in Bochs, QEMU, Parallels, MS VM, plus on a number of desktop computers.
However on a couple of laptops, most significantly an old 486SX Toshiba T2100CT, the FDC fails with a TO error (DMA overrun on read accesses).
The DMA controller is initialised from scratch, with no preconception about how the BIOS left it prior to my OS taking control. The specs on this laptop says FDC uses DMA#2 and IRQ#6 - pretty standard.
I guess what I am asking, is if there is a central repositary somewhere containing 'gotchas' for variations of computer hardware implementations.
The same for the A20 enable control - too many non-standard variations!
Thanks in advance,
Gary
I have DMA and floppy drivers in my OS which works in Bochs, QEMU, Parallels, MS VM, plus on a number of desktop computers.
However on a couple of laptops, most significantly an old 486SX Toshiba T2100CT, the FDC fails with a TO error (DMA overrun on read accesses).
The DMA controller is initialised from scratch, with no preconception about how the BIOS left it prior to my OS taking control. The specs on this laptop says FDC uses DMA#2 and IRQ#6 - pretty standard.
I guess what I am asking, is if there is a central repositary somewhere containing 'gotchas' for variations of computer hardware implementations.
The same for the A20 enable control - too many non-standard variations!
Thanks in advance,
Gary