TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Patrick Haller
from: Rob Basler
date: 1994-07-21 16:06:00
subject: Palette question re DIVE

PH> RB> I've been playing with the DIVE spec and have ported a 3D
PH> RB> texture map graphics engine to run in a little window on the screen.
PH>Hmm, Rob could you provide me with some information on DIVE ?
PH>The only thing I heard about it is, that's it's sort of a
PH>counterpart to M$'s WinG... ?

Don't know about WinG, but Dive lets you access video RAM directly in
PM, so that you can write to your desktop at BLINDING fast rates.  I
used it to put a 320x200 graphics window into the middle of my desktop
that displayed at around 15fps.  And most of that time is spent doing
the graphics calculations.  DIVE is how MMPM Video works.

The spec is pretty simple to use, I just took the files in the DIVE.ZIP
file and was able to use them directly. You can find DIVE.ZIP on
internet at ftp.cdrom.com - I believe that's where I got it. It contains
an example that will work on 8bit, 16bit or 24bit video cards - sorry no
4bit.  I haven't figured out how palette manager works yet so I still
can't get the colors right - the app I am playing with doesn't use
OS/2's default palette.  Note you need MMPM video (or at least
SMVDD.SYS) installed for this to work.

Here's a bit from the READ.ME:

DIVE.ZIP is an exectuable and source code which shows you how to
use DIVE (Direct Interface to Video Extensions) to directly
access the video display. It is useful for games and other apps
which need SPEED!  You actually write directly to video memory.

It contains the following items:

L        CMD  sample linker file
DIRECT   H    fucntion prototypes
SHOW     EXE  program to display a bitmap
SHOW     C    source code for DIVE interface
SMVDD    SYS  Device driver to map addresses
CHICK    BMP  Bitmap
DIRECT   C    More DIVE code
C        CMD  Compiler batch file.

Rob.
___
 X SLMR 2.1a X Summer: half the clothing - twice the fun!

--- Maximus/2 2.01wb

* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 153/905 918 3615/50 229/2 12/2442 711/409 54/54 711/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™.