help on mouse and VGA programming in os development

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
cced

help on mouse and VGA programming in os development

Post by cced »

hi, guys!
I'm scratching an os project named Snixos on PC platform at http://bk.myrime.com. By now, I've roughly composed the framework of it with moldules of a simple memory management, a RAM disk file system, a simple VGA TEXT and GRAPHICS mode driver, a keyboard driver,a task scheduler which can make up to 16 tasks operated on a single CPU under the time-sharing mechanism. Also in VGA GRAPHICS mode, it has the ability to manipulate the Chinese character input and output. and now it can run on emulators such as bochs and vmware, also the bare PC is successfully tested.
But now , the driver for VGA GRAPHICS can only work on the 640x480 monochrome mode , I need a new VGA driver from you to work on 640x480 16bit color mode without BIOS accessing, also I'd like to receive your code to demonstrate how the mouse is driven in PC platform.
I'm looking forward to receive your reply . Thanks!
Dex4u

Re:help on mouse and VGA programming in os development

Post by Dex4u »

Most of the info you need, you will find here:
http://www.osdev.org/osfaq2
or here:
http://bos.asmhackers.net/docs
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:help on mouse and VGA programming in os development

Post by Pype.Clicker »

i'd rather suggest you to document on VBE and try to work with a "serious" video mode such as 640x480x256 (bare minimum) or e.g. 800x600x16M ...

16 bits colour modes are a real pain to implement, and not that useful.
cced

Re:help on mouse and VGA programming in os development

Post by cced »

hi guys:
Thanks you all. Mouse had been driven in Snixos by referring the code listed in post 2.
Snapshot may be reached http://bk.myrime.com/snixos_mouse.png
Thanks!
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:help on mouse and VGA programming in os development

Post by Pype.Clicker »

glad to hear it, but bk.myrime.com doesn't respond here. i suggest you ensure having a 24/7 running server before you advertises URL on world-wide forum ...
Post Reply