TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Rob Basler
date: 1995-01-11 10:32:52
subject: Can`t set VIO palette

PF> RB> the palette in an OS/2 full screen session in mode 13 (320x200x256) and
PF> RB> every time I make the VioSetState call, I get the return

PF>There is an error in one of the os2 *.h files.  I just
PF>checked and the error is STILL on the warp toolkit.  Here's
PF>a sample (note that the Borland compiler did not produce
PF>functioning code for this no matter what I did,  and since
PF>it can't debug full screen apps I didn't try any harder):

I checked my .H file, and it was correct!  I also looked at the
assembler output from the compiler (BCC -3 -S OS2GRAPH.CPP), and it did
fiddle the pointer into a 16:16 style pointer (taking the pointer,
shifting and anding it). I'm still not clear on what is involved in
thunking so I can't say if it did it right or not.  Like you said
though, it still doesn't work.

Rob.
___
 X SLMR 2.1a X We've replaced the Dilithium with new Folgers Crystals!

--- Maximus/2 2.01wb
* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809
@PATH: 153/905 828 7041 752 716 920 270/101 396/1 3615/50 229/2 12/2442
@PATH: 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™.