| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Text mode colours |
> I was wondering how, in several programs that seem to run in > text mode, they use high intensity colours for the background > as well as the foreground? > Does anyone know how to do this using C? Well, it isn't in C, but take a look at Ralf Brown's interrupt list, INT 10h, along with the ega+ specific functions around sub-function 11h. There's also a method of doing this on cga adaptors, but to be honest, I wouldn't be bothered. > Another question, how can you change the text mode character > definitions, ie: where are they stored and in what format? Again, INT 10H will help, again around the same region. > (I assume they are just stored sequentially, 8 bytes to each > character?) No, not quite. The table/font size depends on the size of font on the screen. You'll have 14x8 in 80x25, and 8x8 in 80x50 for example. ---* Origin: Unique Computing, Melbourne, Australia (3:632/348) SEEN-BY: 50/99 620/243 623/630 632/103 348 998 633/371 634/384 388 635/301 SEEN-BY: 635/502 503 544 727 639/100 711/401 409 410 430 510 807 808 809 932 SEEN-BY: 711/934 712/515 713/888 714/906 800/1 7877/2809 @PATH: 632/103 348 635/503 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™.