TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Greg Boyles
from: Ron T Lewis
date: 1995-10-16 14:02:00
subject: Graphics double bufferin

Hello Greg,

GB>I have been using a Borlang graphic interface and have
  >found that the lack of multiple pages in the higher
  >resolution modes a nuisance.

It's not really possible to do what you ask and stay compatible with
the myriad of cards used with the PC.. So unless your ONLY
programming for your OWN system I'd suggest you forget it..

However, you may be a candidate for ModeX which uses tweaked modes
and makes all your 256k graphic memory available.  I don't know how
advanced you are so I won't enlarge on the detail, but what you want
is quite feasible in this mode..

There is are many Libraries available that enable ModeX and the one I
could recommend is XLib..  Latest Version I believe is Xlib612.zip
for Windoze or 61.zip for Dos.

Here is a bit from the docs.. :-  ABOUT XLIB

XLIB  is a "user supported freeware" graphics library
specifically designed with game programming in mind. It has been
released to the public for the benefit of all and is the result
of MANY hours of or work.

All users must comply with the following guidelines:
Leave the code in the public domain.
Do not distribute any modified or incomplete versions of this
library.
New contributions and comments are welcome. There will be more
releases as the code evolves.

GENERAL FEATURES
Support for a number of 256 color tweaked graphics mode resolutions
320x200 320x240 360x200 360x240 376x282 320x400 320x480 360x400
360x480 360x360 376x308 376x564

Virtual screens larger than the physical screen (memory permitting)
that can be panned at pixel resolution in all directions.

A split screen capability for status displays etc.

Text functions supporting 8x8 and 8x14 ROM fonts and user
defined fonts

Support for page flipping

Graphics primitives such as line and rectangle drawing functions.

Bit block manipulation functions

Please note that some of the resolutions best suit monitors with
adjustable vertical height.

MODULES COMPRISING XLIB
XMAIN   Main module containing mode setting code and basic functions
XPOINT  Pixel functions
XRECT   Filled rectangle and VRAM to VRAM block move functions
XPAL                    Palette functions
XLINE                   Line functions
XTEXT                   Text and font functions
XPRINTF                 Printf style string output
XPBITMAP                Planar bitmap functions
XPBMCLIP                Clipped planar bitmap functions
XCBITMAP                Compiled bitmap functions using linear bitmaps.
XCOMPPBM                Compiled bitmap functions using planar bitmaps.
XVBITMAP                Video bitmap functions
XMAKEVBM        Support module for video bitmaps
XMOUSE                  Mouse functions
XBMTOOLS                Bitmap format conversion tools
XCLIPPBM                Clipped planar bitmap functions. (Uses blits.)
XCIRCLE         Circle Drawing functions.
XDETECT                 Hardware detection module
XFILEIO                 File I/O functions
XRLETOOL                RLE encoding/decoding functions
XPOLYGON                Convex polygon and triangle functions.
XBEZIER                 Bezier curve drawing
XFILL                   General purpose flood fill routines.
XVSYNC          Simulated vertical retrace Interrupt module.
XCBITM32                32 Bit compiled bitmaps.
             ------------ cut --------------------------

If you have trouble locating a copy local you'll find it at
x2ftp.oulu.fi in the ..\?\?\programming\libs section.

My BBS Softtech in Brisbane has it online.. 700k-800K

Hope it helps..

(OH! Well! Life's like that Sumtimes!) Regards Ron T Lewis
 InterNet Address (ron.t.lewis{at}softtech.brisnet.org.au)
  FidoNet Address  (Ron T Lewis 3:640/201)

--- Maximus/2 3.00
* Origin: Soft-Tech, Qld, Australia +61-7-3869-2666 (3:640/201)
SEEN-BY: 50/99 620/243 623/630 640/101 201 206 208 215 216 217 222 238 247
SEEN-BY: 640/281 301 302 305 309 375 390 452 523 531 820 821 822 823 890 937
SEEN-BY: 690/660 711/401 409 410 413 430 510 807 808 809 932 934 712/515
SEEN-BY: 713/888 714/906 800/1 7877/2809
@PATH: 640/201 820 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.