Problem with VESA & floppy
Posted: Tue Oct 08, 2013 4:01 am
Hi,
I have a little problem, and need help to solve it
I have a floppy driver that can read sectors from the disk. it use DMA
i have a Vesa driver that can switch to graphic mode/returns to text mode ; it use vesa 2.0 , and switch between real& protected mode to switch the graphic mode
the floppy driver works when i'm in text mode
when i'm in graphic mode, the floppy driver seem to block (maybe problem with dma interrupt ?)
when i'm in graphic mode, then i go back to text mode, the floppy driver works
this not work :
SetMode mode1024x768x24
ReadFile
...do something ://this dont' seem to be reached,
but this works:
SetMode mode1024x768x24
ExitMode
ReadFile
SetMode mode1024x768x24
... do something ;//this seem to be executed correctly
do you know if there's is similar known problems and how i can solve it?
I have a little problem, and need help to solve it
I have a floppy driver that can read sectors from the disk. it use DMA
i have a Vesa driver that can switch to graphic mode/returns to text mode ; it use vesa 2.0 , and switch between real& protected mode to switch the graphic mode
the floppy driver works when i'm in text mode
when i'm in graphic mode, the floppy driver seem to block (maybe problem with dma interrupt ?)
when i'm in graphic mode, then i go back to text mode, the floppy driver works
this not work :
SetMode mode1024x768x24
ReadFile
...do something ://this dont' seem to be reached,
but this works:
SetMode mode1024x768x24
ExitMode
ReadFile
SetMode mode1024x768x24
... do something ;//this seem to be executed correctly
do you know if there's is similar known problems and how i can solve it?