Mail Archives: djgpp/1997/07/22/00:47:59
> I use a linearframebuffer with near pointers. Fliping between two
> pages in the videomem can be done by function 0x4f07 using
> the int 0x10. It worked just fine until I started to do som heavy
> graphics routines.I could not belive that I couldn't draw more pixels
> on p120 in 320x240x24 so i ran gprof. Gprof shows the horrible
> truth that one single __dpmi_int takes near 50% of the cputime.
> Is there a faster way of flipping pages through vesa??
Yes, if you're using VBE20, i should use function 0x4F0A.
It gives you the pointers to those functions (SetDisplayStart, etc)
That way you can then call directlly, avoiding that way the __dpmi_int, and
the overhead of the int 10h.
> Is there a good doc available for the At&t assembler syntax??
> (It drives me kind of crazy with its mixture of Motorola/Intel syntax)
Try:
http://www.rt66.com/~brennan/djgpp/.
http://resourcium.com/.
-
--
Silent Dreamer
silentdreamer AT mail DOT telepac DOT pt
- Raw text -