Hi!
Are there anyone who have ever tried to write a video driver for the VMware "hardware" ? I'd like to ask some question about that... I'm using VMware 5.0 ( video chip has 0x0405 device ID ) and i've problems with the framebuffer. The card tells me where the framebuffer is ( actually 0xF0000000 ) and how long it is. I'm doing the following: alloc as much real memory as the card tells and remap the 0xF0000000 area to the real memory space. I think it's good, but in real life it isn't working. I can do everything, but the screen doesn't change. Pls help if you can!
VMware Video Driver
Re:VMware Video Driver
Just a thought - have you tried writing without allocating memory or remapping the framebuffer? Writing to the fb memory area should directly access the card RAM instead of the system RAM.
Re:VMware Video Driver
I've tried to write directly to the framebuffer, but then i got a page fault
Re:VMware Video Driver
I think you're doing it the wrong way around. The video device will use real memory addresses and not virtual.I'm doing the following: alloc as much real memory as the card tells and remap the 0xF0000000 area to the real memory space.
So you really shouldn't be allocating any memory. You should just be remapping *somewhere* to point to the real address of 0xF0000000.
Re:VMware Video Driver
what video mode have you enabled? if you have gotten it to work with better than VGA modes, (like 640x480 and higher) i'd love to see this code
proxy
proxy
Re:VMware Video Driver
any chance of you sharing the code? I've been toying with video mode switching on and off, and finally finished my v8086 monitor such that i can switch to a VGA mode pretty reliably.
proxy
proxy
Re:VMware Video Driver
The source is from the X server. You can download it or i can show it you