Fast grapics

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
feaster

Fast grapics

Post by feaster »

How do i write fast graphics to the screen in ASM ?

If i do it in vesa mode and use for it putpixel(ax=0x0ch int 10) then it is too slow to make fast graphics. I know you could als do it by sending your colors to 0x0A000 but i think this is also slow.

Are there some functions into videocard wich i can use ?
anton

RE:Fast grapics

Post by anton »

Writing to 0xA000 is much faster(and is enought for start). But the fastest(a bit faster then 0xA000 and no fuss with a window memory frame) would be to write directly to the video ram of the video card. You set up the video cards ram address by PCI interface. You can also use VESA functions(VBE 2.0 or >) to do this.
Anton.
Post Reply