To: "A.Appleyard" Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: V2 Date: Sun, 29 Jan 95 09:40:13 +0200 From: "Eli Zaretskii" > In my program I have to write to the text screen a LOT. How much longer will > it take using this `dosmemput()' every time, than direct writing to addresses > like I do now? I don't always write to screen as neat whole bufferfuls, but > often one character here, one there. So I declare `unsigned short *screen' For your application, farptr functions are ideal. When you compile with optimizations enables, they emit inline assembly code which uses 2-3 machine instructions per access. I don't think this is more than what the direct access will compile to.