TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Etheredge
from: Jay Collins
date: 1995-03-22 20:08:02
subject: Bios calls / text color

> In transferring an application from Dos to OS/2, I noticed that
 > conio.h in Cset does not have the textcolor(), textbackground(), and
 > other functions that control color in the text mode. Is this
 > intentional? Can I use Bios calls/ interrupts to set the screen
 > attributes under OS/2? If this is not allowed, how do I set colors
 > and background outside of the pm / wp systems (i.e. in a full screen
 > mode such as when booting from the a drive boot disk)?

You have to use VIO api calls to do text color. Must faster than Dos's also!

--- ---
* Origin: (1:275/158)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 275/158 271/270 3615/50 396/1 270/101 105/103 42 712/515 711/808 809
@PATH: 711/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™.