Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cvl.UUCP Path: utzoo!linus!decvax!harpo!seismo!rlgvax!cvl!jcw From: jcw@cvl.UUCP (Jay C. Weber) Newsgroups: net.micro.pc Subject: Re: Cursor Positioning on IBM PC Message-ID: <570@cvl.UUCP> Date: Thu, 25-Aug-83 00:02:43 EDT Article-I.D.: cvl.570 Posted: Thu Aug 25 00:02:43 1983 Date-Received: Fri, 26-Aug-83 06:59:10 EDT References: <3278@npoiv.UUCP> Organization: U. of Md. Computer Vision Lab Lines: 17 The C language does not have any i/o features built into the language; i/o is totally handled by the library routines. I have seen at least one compiler advertized that comes with screen manipulation routines, but I know that many don't. I depends on your C compiler. However, if you are using DOS 2.0 and include the loading of the ANSI screen device driver in your CONFIG.SYS file, simple "prints" (printf, puts, etc.) to the console can be used to position the cursor. See section 13 of the DOS 2.0 manual. If you need to write a library routine from scratch, it will need to perform INT 10 (video i/o in BIOS) with ah=3 to read the current cursor position and then with ah=2 to set it to the new position. See pg A-43 in technical reference manual for more. -Jay Weber {..!seismo!rlgvax!cvl!jcw}