Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!lll-crg!lll-lcc!vecpyr!atari!dyer From: dyer@atari.UUcp (Landon Dyer) Newsgroups: net.micro.atari16 Subject: Re: Graphics escapes in ROM VT52? Message-ID: <202@atari.UUcp> Date: Mon, 21-Apr-86 21:26:09 EST Article-I.D.: atari.202 Posted: Mon Apr 21 21:26:09 1986 Date-Received: Wed, 23-Apr-86 22:33:34 EST References: <736@isrnix.UUCP> Organization: Atari Corp., Sunnyvale CA Lines: 49 In article <736@isrnix.UUCP>, apratt@isrnix.UUCP (Allan Pratt) writes: > I read in a recent posting about The Club that there were escape codes you > could send to the built-in VT52 emulator to get graphics on the ST. I already > figured out the foreground/background codes, but are there more? The poster > said he'd started referring to the emulator as an ST52. Can anybody post > a list of escape codes on the ST52? If this is included with the Developer's > Kit, could somebody post it, so we know it's not proprietary? Here are the ST's VT-52 (ok, ST52) emulator escapes. Feel free to give it to anybody. ESC A cursor up, no effect at top of screen ESC B cursor down, no effect at bottom of screen ESC C cursor forward, no effect in rightmost column ESC D cursor backward, no effect in leftmost column ESC E clear screen, home cursor ESC H home cursor ESC I reverse line-feed (reverse scroll at top of screen) ESC J erase to end of screen ESC K erase to end of line ESC L insert line (current line moves down, cursor positioned at beginning of new, blank line) ESC M delete line (add blank line at bottom, place cursor at beginning of line) ESC Y address cursor by biased by 0x20 (ESC Y 0x20 0x21 is same as ESC H ESC C) ESC b set foreground color (lower 4 bits of next character specify the color number assigned to the foreground) ESC c similarly, for background color ESC d erase from beginning of screen to cursor (inclusive) ESC e enable cursor (make it visible) ESC f disable cursor (make it invisible) ESC j save cursor position ESC k restore cursor position; if no previous corresponding save was made, then home the cursor ESC l erase entire line, move cursor to first column of it ESC o erase from beginning of line to cursor position, inclusive ESC p enter reverse-video mode (foreground <---> background mode) ESC q exit reverse-video mode (foreground = foreground again) ESC v enable wrap at end of line (auto-LF) ESC w disable wrap at end of line ("You should have done it THIS way" flames to /dev/null, please). -- -Landon "If Business is War, then I'm a Prisoner of Business!" ... {hoptoad, lll-crg!vecpyr}!atari!dyer "Quantity is Quality"