From: Ludvig Larsson Newsgroups: comp.os.msdos.djgpp Subject: Re: Line frame buffer speed problem Date: Wed, 17 Feb 1999 14:14:33 +0100 Organization: Faas-Goldhart Lines: 36 Message-ID: <36CAC0B9.6BA3@club-internet.fr> References: <3 DOT 0 DOT 1 DOT 32 DOT 19990216140256 DOT 0091b100 AT iut DOT ujf-grenoble DOT fr> NNTP-Posting-Host: toulouse-ferie4-87.club-internet.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: front6.grolier.fr 919257079 20544 194.158.125.87 (17 Feb 1999 13:11:19 GMT) NNTP-Posting-Date: 17 Feb 1999 13:11:19 GMT X-Mailer: Mozilla 3.01C-CLUB (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com LETUFFE SYLVAIN wrote: [snip] > Well as a matter of fact could I get the source code of your graphical > library ??? please. > 'cause I am also working on a 3D engine but only in bank switching mode and > I'd like to try the lfb as well... > How do you use the descriptor to lfb memory ? how do you know which adress > it is ? > > Go on with your work ! (good luck...) > Could you just mail me a little explanation of how do you compute your > rotation (up-down)(left-right)? Okay, I'll send you the LFB-detect stuff right away, it's sort of ripped out, I'm sending the include files so include them and call init_graphics and then you should be able to use the descriptor "video_ds" that points to the lfb. You might also want to change the mode, it is actually 640x480x16bit(mode 0x111) and it's in init_lfb_graphics(). Well, if it doesn't work, sen me a mail. second: the rotation stuff: Hm, it's not as easy as that, or, actually, it's rather easy, but I don't have any easy code to show you "like that". So, I'll try to write down something, and include some of my code if you want to. And now a question from me: what are you using(planning to use) for algorithm in your engine? resolution etc? Ludvig Larsson