| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Modem and Direct Screen Writes |
PS>> Yes, byt those are slow, and if ANSI-sequenses are to be written, it PS>> gets REALLY slow! DL> Use the VioWrtTTY() function then. It automatically decodes the ANSI DL> escape sequences for you. PS> I tryed that, but it isn't faster than cout!!! The programs PS> I see are fast, like Direct Screen Writes, ITY HAS TO BE PS> POSSIBLE!!!! =) But how... Writing one byte at a time is a real performance killer under OS/2 (and presumably other protected operating systems) due to cpu context switches. You want to write as many characters at a time as possible to avoid this overhead. cout provides buffering to accomplish this, and you have seen how much difference this can make. The same is true of writing/reading COM ports... Jeff --- timEd/2 1.01* Origin: Quibbler's Say (1:2410/242) SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 2410/242 213 10 116 3615/50 396/1 270/101 712/515 711/808 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™.