TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Kevin Ring
from: Rob Basler
date: 1995-12-20 16:32:08
subject: Non-PM Graphics

KR>Is it possible to create a non-PM 32 bit OS/2 native
KR>program that uses graphics modes (such as mode 13h)?

Yes, check out PRCP.INF (available as a variety of ZIPS, look
around) which has documentation on VIO* calls which can be used to set
up standard VGA graphics (like mode 13), also check out a file called
VESA18.ZIP which is an archive of VESA graphics routines (for the
emx C compiler) which can be used under OS/2, you will specifically be
interested in VESA_ALL.C included.  I have written a little OS/2
graphics library for 320x200x256 which provides the basics (mode
selection, palettes) I am working on a VESA version of the library
(want that 640x480x256!).

Rob.
___
 X SLMR 2.1a X Press any key to continue or any other key to quit

--- Maximus/2 2.01wb
* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 153/905 828 800 270/101 712/515 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™.