Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amiga.amiga.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!pyramid!amiga!bruceb From: bruceb@amiga.UUCP (Bruce Barrett) Newsgroups: net.micro.amiga Subject: Re: Speed of output to RAW: Message-ID: <433@amiga.amiga.UUCP> Date: Mon, 23-Dec-85 18:47:26 EST Article-I.D.: amiga.433 Posted: Mon Dec 23 18:47:26 1985 Date-Received: Wed, 25-Dec-85 03:27:55 EST References: <241@cirl.UUCP> Reply-To: bruceb@hunter.UUCP (Bruce Barrett) Distribution: net Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 29 To Gary, and others-- >.....I assume ED draws to the screen directly. MicroEmacs opens a RAW: >window for output. ?? Draws to the screen directly?? There are several ways to get to the screen. I belive the least effecient of these is "printf" (because it goes through all the other layers too). >Also, the Amigaterm program posted recently writes characters >directly to the window using graphics library calls. Most effecient routines are ^^^^^^^^^^^^^^^^^^^^^^ > The advantage of the RAW: is that it offers built >in ANSI sequences, like cursor motion, character styles, etc. This advantage can also be achived by using the console device. Sooo... the overhead brakes down something like: Lowest: Graphics routines (no ESC sequences handled) console.device fh = Open (RAW:xx/yy/xxx/yyy/name); + Write (fh, buf, len); fd = fopen (... Highest: printf(..... Use whatever fits your needs best. Oh, for additional speed (at loss of colors) you might try: opening a custom screen 1 bit plane (2 colors) deep. I don't know but think this may save you 50% of the blit for your text. --BruceB