[ros-kernel] Improved VBE driver

Waldo Alvarez Cañizares wac at lab.matcom.uh.cu
Tue May 25 19:34:03 CEST 2004


Hi He Jiansheng:
 
Is hard to know exactly what are you asking, you should explain yourself a little bit more next time. I'll answer you what I suppose you ask and what I have learned alone reading the DDK, reading source code, etc.. (which could be wrong, so if it is please somebody correct me)

1.      drivers/video/videoprt/  ???? device drivers?

Is the video miniport driver, it comes with the operating system an implements basic functionality used by miniport drivers

2.  drivers/video/miniport/  device drivers ?

This are the drivers that link with vidport.sys and only can link with this module, the can't link with functions in ntoskrnl or hal.dll for example, all that functionality in those other modules are accessed trough vidport.sys (although I saw that some miniport driver links directly with the hal somewhere in ReactOS I think is the VBE). This kind of driver is very basic it mainly contains the Ioctl function wich is used for very basic driver handling. (read the VBE VGA if you want and read the DDK too)


3.  dirvers/video/display/       software graphics display ?

Here are implemented graphics functions the driver implements in hardware that bypass those Engxxx  Functions (read the Windows NT DDK to get better information) and read reactos 's sources too. Well the functions can also be hooked I mean called by the driver for example for complex parameters which implementing their handling in the driver would make it too big or complex. That way the video card can be instructed to use accelerated functions implemented in hardware by the video card (taking away load from the CPU while drawing that speed ups the Operating system a lot since almost everything is done in graphics mode)

What are  videoprt and miniport used ?

Already answered

And miniport have VBE and VGA . default use VBE or VGA?

VGA is 640x400 x 16 colors, VBE is for Vesa compatible cards (not all cards around) I think that VBE is not ready yet.


Where is VMware 's vga drivers vmx_SVGA ?

This driver is proprietary from VMWare Inc., it does not comes with ReactOS, it comes in the .iso that VMWare puts there in your virtual CD drive when you want to install vmware extensions (in reactos you have to install it manually to get 16, 24 32 bpp and resolutions higher than 640x400) well I haven't tried the VBE yet, I don't know what it can handle.

How do know the system display card is vmx, or VBE,or VGA ? Where is source code?

It doesn't know, you have to tell it installing the drivers, so far you have to copy the required files and uncomment those registry entries before you build the registry hives.

thank.


Regars
Waldo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://reactos.com:8080/pipermail/ros-kernel/attachments/20040525/12de6481/attachment-0001.htm


More information about the Ros-kernel mailing list