TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JAMES NORMAN
from: ALEXIS TCACH
date: 1997-09-28 18:41:00
subject: creating ascii screens

­Hola James!
El Wednesday September 24 1997, James Norman le escribi¢ a Anyone:
 JN> void screen(int fc, int bc, char sym) {
 JN>         textcolor(fc); textbackground(bc);
 JN>         int i = 0;
 JN>         int j = 0;
 JN>         for (i= 1; i <= 25; i++) {
 JN>                 for (j = 1; j <= 80; j++) {
 JN>                         cprintf("%c", sym);
 JN>                 }
 JN>         }
 JN> }
 JN> // I call the function like this .... screen(15, 1, '*');
 JN> // takes a while for the screen to come up...just wondering if there is 

 JN> better way to do this...any help would be much appreciated...thanx!!!!
    Yes, by accessing to the video RAM directly. I  can't remember how you 
had to put the data to the memory, but you can find that in any Assembly 
norton guide or interrupt list.
   Salute !!!                                             ALEX
--- FMail/386 1.0g
---------------
* Origin: =[Cryptanic BBS TLD 22:30 à 07 hs Tel : 709-5028]= (4:900/470.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™.