From: "Silent Dreamer" Newsgroups: comp.os.msdos.djgpp Subject: Re: Timeconsuming __dpmi_int problem with pageflips! Date: 21 Jul 1997 22:57:18 GMT Lines: 31 Message-ID: <01bc9601$22b12660$LocalHost@nop44597> References: <33cf809b DOT 147466 AT news DOT algonet DOT se> NNTP-Posting-Host: etr1-p7.telepac.pt To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > 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