TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JUHAN-A NAKKALAJARVI
from: KEVIN CAMPBELL
date: 1997-07-04 14:12:00
subject: Palette in textmode?

 > Anyway, how does work palette in textmode?
Try writing some stuff to 0xB800:0x0000. You will find the format is an array 
of characters and attributes, both taking a byte. Eg: 0xB800:0x0000 will be 
the letter, and 0xB800:0x0001 will be it's attribute. I'm not sure of the 
attribute format though.
 > I can handle VGA 13h's palette, and I was told that textmode (80x25 /
 > 80x50)
 > work same way... well, almost. But how does these actually work?
You can't change the text mode palette, as far as I know. If you can, then it 
should work in a reasonable similar way.
Have Fun - Kev
Kevin Campbell
Sysop of Deimos BBS
E-Mail: Sysop@Deimos.unmanned.co.uk
--- FMail/386 1.02
---------------
* Origin: Mail shipped from Deimos Spaceport (2:258/8)

SOURCE: echomail via exec-pc

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