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.
Philip wrote:i found out the linear video buffer address is usually at
f000 0000h
writing to memory from this address can put pixel on the screen
so actually in protected mode it's easier to use vesa
Uhh, you have to switch mode first? Which is easier to do in real mode/V8086 mode.
Also, where did you find that? Most of my boxes have different addresses.
First machine I tested put the LFB at 0xEE000000. The second at 0xFD000000. Both had AGP ATI Rage card. My V2100 board appeared at 0xF2000000, and IIRC bochs had it by default at 0xE000000
That's nothing at 0xF0000000
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
I think those addresses are initialized by the BIOS to whatever it feels best (when it initializes PCI devices and ACPI tables). There are also some BIOS that let you customize resource usage, including memory space.