From: gregorio AT jet DOT es (Grzegorz Adam Hankiewicz) Newsgroups: comp.os.msdos.djgpp Subject: Text Routines in DJGPP Date: Sat, 15 Nov 1997 13:12:55 GMT Organization: Gogosoftware Message-ID: <346d9e96.2429899@news.jet.es> References: <64j7pg$292$1 AT news1 DOT worldchat DOT com> NNTP-Posting-Host: infon122.jet.es Lines: 33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >Yes, I'm one of those chicken to learn ASM (It's just me..) and I'd love >to find some good routines to plot text in colors and whatnot on the >screen... I wrote some functions to do that, but they are totally in C. However, you can read them and port them yourself to ASM, since it's just writting to the screen or memory buffer. >Anyone familiar with QBASIC and PowerBASIC knows that the routines are >extremely fast, you could fill the screen up with text chars one by one >and you wouldn't tell. Functions like cprintf() are too slow and >maybe it's something I'm doing but it should be optimized... how big >of a difference does the -O2 -O3 -O make to these routines? I don't think there's much of a difference. I tried to draw a screen with cprintf() and compiled with the PGCC, I still saw how the screen was drew. Then, I made the same with my routines and you didn't notice on a 386. You can get those from my homepage at: http://web.jet.es/gregorio/gogosoftware Go to the download area and you will notice the lib is still beta... but already wrote a program using it. Justs need docs and examples to release it as 1.0 >Any help/sources are appriciated... please e-mail aswell as I may >miss the message here 'cause I'm not a regular reader, yet,... I encourage you to be regular. - G.A. Hankiewicz - ICQ 255289 - gregorio AT jet DOT es http://web.jet.es/gregorio - Gogosoftware http://web.jet.es/gregorio/gogosoftware