Mail Archives: djgpp/1998/06/09/17:01:42
> From: "Arthur" <arfa AT clara DOT net>
> To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
> Subject: Re: a tile engine question
> Date: Tue, 9 Jun 1998 17:44:27 +0100
> You have your standard screen memory reserved by the system. The address of
> this screen is pointed to by a dword in low memory. Now the clever bit: by
> changing this pointer, you can change the area of memory the computer thinks
> is the screen. Now you can have two or three screen buffers, which you can
> swap to the screen in one ASM instruction.
>
> Is there any way you can do this on th PC, or more specifically DJGPP?
>
> James Arthur
> jaa AT arfa DOT clara DOT net
>
>
Yes there is.. but I'm not going to explain exactly how you do it
here.. it would take to long. What you want to do is called page
flipping and is supported by the vbe function 07h. With this function
you select which pixel to be displayed in the upper left corner of
the display. Any Vesa spec should show you how to implement it..
Magnus Lindström
_______________________________________
E-mail-> dal97mlm AT mds DOT mdh DOT se
WWW-> mds.mdh.se/~dal97mlm/
ICQ UIN -> 3959951
_______________________________________
- Raw text -