mouse

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
steve

mouse

Post by steve »

Hello

- As I said in "VESA and PM and MOUSE", my mouse doesn't sometimes work (theoretically it may work, but...). When I only set video mode with vesa, all is ok. But if I load eg. 256-byte mode info table into 256 byte buffer - mouse doesn't work. If I delete this part of code, it work. Setting COM1 port (baud, out2, ...) is after PM set. Before setup of COM1 is setup of PS/2 mouse (I have COM1 mouse). But sometimes mouse doesn't work until I put cli/sti somewhere or delete some other part of code, then it work.

- Can be problem with bootloader? I think after bootloader ds=0.

- And what about returning to real mode after computer is turned on? - (excuse my english - when you turn on your PC and your OS is booted before Windows - not when you are in Windows and you reset PC from Windows and then boot your OS). When is PC restarted from Win, and my OS boot, return to the real mode - and exit is successfull.

Thanks for answers
Have a nice coding
Steve
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:mouse

Post by Pype.Clicker »

please stay in one thread per problem. Don't fork instead of replying. Thanks.
Post Reply