VESA and PM and MOUSE
Posted: Thu Oct 14, 2004 5:46 am
Hello
I have one problem: Vhen I use VESA function in my operating system to get vesa informations to the 256-byte buffer, my mouse doesn't work. I don't know where is problem. This function is before PM set. After PM set my OS tests for PS/2 and Serial mouse. Before PM set, interrupts are disabled by push dword 2
popfd
, after jump and register set interrupts are enabled simple by sti.
Where can be problem? In interrupt handlers (pushad, popad on begin and end), in CLI-STI or somewhere else?
- My read CMOS date/time now work, but before not. I don't know how I repaired it. Where can be in my OS problem???
- When I start PC and then if I want to exit from my OS by returning to REAL mode and warmboot, it freezes. When I restart PC from Windows and then is my OS booted from floppy disk, returning to REAL mode and warmboot/coldboot is OK. Why my OS doesn't set REAL mode and exit when PC is started???
- excuse my english, I hope you can understand what have I on mind.
- Thanks for answers coders!!!
- Have a nice coding...
Steve
I have one problem: Vhen I use VESA function in my operating system to get vesa informations to the 256-byte buffer, my mouse doesn't work. I don't know where is problem. This function is before PM set. After PM set my OS tests for PS/2 and Serial mouse. Before PM set, interrupts are disabled by push dword 2
popfd
, after jump and register set interrupts are enabled simple by sti.
Where can be problem? In interrupt handlers (pushad, popad on begin and end), in CLI-STI or somewhere else?
- My read CMOS date/time now work, but before not. I don't know how I repaired it. Where can be in my OS problem???
- When I start PC and then if I want to exit from my OS by returning to REAL mode and warmboot, it freezes. When I restart PC from Windows and then is my OS booted from floppy disk, returning to REAL mode and warmboot/coldboot is OK. Why my OS doesn't set REAL mode and exit when PC is started???
- excuse my english, I hope you can understand what have I on mind.
- Thanks for answers coders!!!
- Have a nice coding...
Steve