TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Owen Kaluza
date: 1995-09-18 17:05:28
subject: Text mode colours

David,
 DN> Well, it isn't in C, but take a look at Ralf Brown's 
 DN> interrupt list, INT 10h, along with the ega+ specific 
 DN> functions around sub-function 11h. There's also a 
 DN> method of doing this on cga adaptors, but to be honest, 
 DN> I wouldn't be bothered.
I looked that up and it was just what I was looking for, thanks for your help. 

 > Another question, how can you change the text mode character
 > definitions, ie: where are they stored and in what format?

 DN> Again, INT 10H will help, again around the same region.

 > (I assume they are just stored sequentially, 8 bytes to each
 > character?)

 DN> No, not quite. The table/font size depends on the size 
 DN> of font on the screen. You'll have 14x8 in 80x25, and 
 DN> 8x8 in 80x50 for example.

I checked the int. list for this and found several entries to do with 
changing the character tables but I am unsure of how to implement them,
do you know if any source code using these functions been released to the
public domain?

Thanks again for your help...

Owen Kaluza


--- Maximus 3.00
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 711/401 409 410 430 510
SEEN-BY: 711/807 808 809 932 934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 635/544 50/99 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™.