TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Tom Torfs
from: Rob Basler
date: 1998-10-06 00:43:00
subject: Pixels

TT> DVH> How do you write a pixel to the console using BCOS2???

TT>Note: Although graphics mode support is provided in
TT>VioSetMode, this support is not provided by the Base Video
TT>Handlers provided with OS/2.

TT>Does anybody know how to do graphics in console mode ?

Get VESA19.ZIP, the emx VESA graphics library for OS/2.  If you have a
SVGADATA.PMI file in your OS/2 directory it will give you all the
resolutions listed in that file in a fullscreen OS/2 session.  On my
system that gives me up to 1280x1024x24bit color.  One thing you will
have trouble with with BCOS2 (at least in 1.01 which is what I have) is
that it's BSEDOS.H file has some errors in it that make using that
library generate program crashes. If you really get into this let me
know and I'll post the changes you need to make. Basically the problem
is that some of the pointers are not declared to be 16-bit.

Rob.
___
 X SLMR 2.1a X Trust no one.

--- Maximus/2 3.01
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)
SEEN-BY: 396/1 632/0 371 633/210 260 267 270 371 635/506 728 639/252 670/218
@PATH: 153/290 2 716 7715 140/1 396/1 633/260 635/506 728 633/267

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™.