Home » Archimedes archive » Micro User » MU 1992-06.adf » PD » BASS/Comms/ArcANSI/?ReadMe

BASS/Comms/ArcANSI/?ReadMe

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Micro User » MU 1992-06.adf » PD
Filename: BASS/Comms/ArcANSI/?ReadMe
Read OK:
File size: 0E8A bytes
Load address: 0000
Exec address: 0000
File contents
Small document with the ArcANSI module
--------------------------------------
                                                  
Some facts:
-----------
ArcANSI is the Archimedes ANSI Escape Sequence emulator module.
ANSI escape sequences are sequences of bytes that allow for easy colour
and cursor control. All sequences start off with a 27 (ESC), hence the 
term 'escape sequences'.
The ANSI 6429 standard is mostly used by BBS's to give their users nice
and colourful screens in a quick and widely supported way 
People familiar with MS-DOS surely know about ANSI.SYS... ArcANSI is just
the Archimedes equivalent of this ANSI.SYS driver! 


The ANSI 6429 escape sequences:  
-------------------------------
Note that ESC must be treated as the single byte 27 

ESC[r;cH         | Put cursor at position r,c (ROW,COLUMN)
ESC[r;cf         | E.g. ESC[10,16H                  

ESC[nA           | Move cursor up n lines (omitting n moves up 1 line)
                 | E.g. ESC[4A

ESC[nB           | Move cursor down n lines (omitting n moves down 1 line)
                 | E.g. ESC[10B

ESC[nC           | Move cursor right n columns (omitting n moves right 1 col)
                 | E.g. ESC[C

ESC[nD           | Move cursor left n columns (omitting n moves left 1 col)
                 | E.g. ESC[3D

ESC[s            | Store current cursor position
                 | E.g. ESC[s

ESC[u            | Restore previously stored cursor position
                 | E.g. ESC[u

ESC[2J           | Clear display and move cursor to home position
                 | E.g. ESC[2J

ESC[K            | Clear current line from cursor position (inclusive)
                 | E.g. ESC[K

ESC[c;...;cm     | Set foreground/background colours                
                 | 0 = reset to default colours (white on black)
                 | offset 0 = black
                 | offset 1 = red
                 | offset 2 = green
                 | offset 3 = yellow
                 | offset 4 = blue
                 | offset 5 = magenta
                 | offset 6 = cyan
                 | offset 7 = white
                 | To set foreground colour, add 30 to colour offset
                 | To set background colour, add 40 to colour offset 
                 | E.g. ESC[34;47m


Using ArcANSI:
--------------
To load the ArcANSI module, double-click on its icon in a filer, or type
'*RMLoad ArcANSI [ENTER]' at the CLI-prompt * .
When loaded, the emulator will automatically activate itself, ie. any bytes
subsequently sent to the VDU will pass through the ANSI emulator, which will
take action when necessary.                                                 

The module also provides the new *ANSI keyword:
Use  '*ANSI Off [ENTER]'  to turn the ANSI emulator off
     '*ANSI On  [ENTER]'  to turn the ANSI emulator back on
     '*ANSI     [ENTER]'  to display the ANSI emulation status
Use  '*Help ANSI_Info [ENTER]'  for some cryptic info on the ArcANSI module.

The module also provides a new SWI, "ANSI_Control" (&C0100):
Entry: R0 = 0, R1 = 0
       Turn off the ANSI emulator
Entry: R0 = 0, R1 = 1
       Turn on the ANSI emulator
Entry: R0 = 1, R1 = 0
       Don't allow VDU codes to pass through the emulator
Entry: R0 = 1, R1 = 1
       Allow VDU codes to pass through the emulator


Comments:
---------
If you have any comments on the ArcANSI module or would like to get some more
info on BASS, write to:

        Carl Declerck, Vrijgeweidestraat 24, 2800 Mechelen, Belgium
                                    or
       John Tytgat, Brusselbaan 445, 1600 St.-Pieters-Leeuw, Belgium


                       Tune in, Turn on, Burn out...

                                                    Carl Declerck, BASS 1990
00000000  53 6d 61 6c 6c 20 64 6f  63 75 6d 65 6e 74 20 77  |Small document w|
00000010  69 74 68 20 74 68 65 20  41 72 63 41 4e 53 49 20  |ith the ArcANSI |
00000020  6d 6f 64 75 6c 65 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |module.---------|
00000030  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000040  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 20 20  |-------------.  |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000080  0a 53 6f 6d 65 20 66 61  63 74 73 3a 0a 2d 2d 2d  |.Some facts:.---|
00000090  2d 2d 2d 2d 2d 2d 2d 2d  0a 41 72 63 41 4e 53 49  |--------.ArcANSI|
000000a0  20 69 73 20 74 68 65 20  41 72 63 68 69 6d 65 64  | is the Archimed|
000000b0  65 73 20 41 4e 53 49 20  45 73 63 61 70 65 20 53  |es ANSI Escape S|
000000c0  65 71 75 65 6e 63 65 20  65 6d 75 6c 61 74 6f 72  |equence emulator|
000000d0  20 6d 6f 64 75 6c 65 2e  0a 41 4e 53 49 20 65 73  | module..ANSI es|
000000e0  63 61 70 65 20 73 65 71  75 65 6e 63 65 73 20 61  |cape sequences a|
000000f0  72 65 20 73 65 71 75 65  6e 63 65 73 20 6f 66 20  |re sequences of |
00000100  62 79 74 65 73 20 74 68  61 74 20 61 6c 6c 6f 77  |bytes that allow|
00000110  20 66 6f 72 20 65 61 73  79 20 63 6f 6c 6f 75 72  | for easy colour|
00000120  0a 61 6e 64 20 63 75 72  73 6f 72 20 63 6f 6e 74  |.and cursor cont|
00000130  72 6f 6c 2e 20 41 6c 6c  20 73 65 71 75 65 6e 63  |rol. All sequenc|
00000140  65 73 20 73 74 61 72 74  20 6f 66 66 20 77 69 74  |es start off wit|
00000150  68 20 61 20 32 37 20 28  45 53 43 29 2c 20 68 65  |h a 27 (ESC), he|
00000160  6e 63 65 20 74 68 65 20  0a 74 65 72 6d 20 27 65  |nce the .term 'e|
00000170  73 63 61 70 65 20 73 65  71 75 65 6e 63 65 73 27  |scape sequences'|
00000180  2e 0a 54 68 65 20 41 4e  53 49 20 36 34 32 39 20  |..The ANSI 6429 |
00000190  73 74 61 6e 64 61 72 64  20 69 73 20 6d 6f 73 74  |standard is most|
000001a0  6c 79 20 75 73 65 64 20  62 79 20 42 42 53 27 73  |ly used by BBS's|
000001b0  20 74 6f 20 67 69 76 65  20 74 68 65 69 72 20 75  | to give their u|
000001c0  73 65 72 73 20 6e 69 63  65 0a 61 6e 64 20 63 6f  |sers nice.and co|
000001d0  6c 6f 75 72 66 75 6c 20  73 63 72 65 65 6e 73 20  |lourful screens |
000001e0  69 6e 20 61 20 71 75 69  63 6b 20 61 6e 64 20 77  |in a quick and w|
000001f0  69 64 65 6c 79 20 73 75  70 70 6f 72 74 65 64 20  |idely supported |
00000200  77 61 79 20 0a 50 65 6f  70 6c 65 20 66 61 6d 69  |way .People fami|
00000210  6c 69 61 72 20 77 69 74  68 20 4d 53 2d 44 4f 53  |liar with MS-DOS|
00000220  20 73 75 72 65 6c 79 20  6b 6e 6f 77 20 61 62 6f  | surely know abo|
00000230  75 74 20 41 4e 53 49 2e  53 59 53 2e 2e 2e 20 41  |ut ANSI.SYS... A|
00000240  72 63 41 4e 53 49 20 69  73 20 6a 75 73 74 0a 74  |rcANSI is just.t|
00000250  68 65 20 41 72 63 68 69  6d 65 64 65 73 20 65 71  |he Archimedes eq|
00000260  75 69 76 61 6c 65 6e 74  20 6f 66 20 74 68 69 73  |uivalent of this|
00000270  20 41 4e 53 49 2e 53 59  53 20 64 72 69 76 65 72  | ANSI.SYS driver|
00000280  21 20 0a 0a 0a 54 68 65  20 41 4e 53 49 20 36 34  |! ...The ANSI 64|
00000290  32 39 20 65 73 63 61 70  65 20 73 65 71 75 65 6e  |29 escape sequen|
000002a0  63 65 73 3a 20 20 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ces:  .---------|
000002b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000002c0  2d 2d 2d 2d 2d 2d 0a 4e  6f 74 65 20 74 68 61 74  |------.Note that|
000002d0  20 45 53 43 20 6d 75 73  74 20 62 65 20 74 72 65  | ESC must be tre|
000002e0  61 74 65 64 20 61 73 20  74 68 65 20 73 69 6e 67  |ated as the sing|
000002f0  6c 65 20 62 79 74 65 20  32 37 20 0a 0a 45 53 43  |le byte 27 ..ESC|
00000300  5b 72 3b 63 48 20 20 20  20 20 20 20 20 20 7c 20  |[r;cH         | |
00000310  50 75 74 20 63 75 72 73  6f 72 20 61 74 20 70 6f  |Put cursor at po|
00000320  73 69 74 69 6f 6e 20 72  2c 63 20 28 52 4f 57 2c  |sition r,c (ROW,|
00000330  43 4f 4c 55 4d 4e 29 0a  45 53 43 5b 72 3b 63 66  |COLUMN).ESC[r;cf|
00000340  20 20 20 20 20 20 20 20  20 7c 20 45 2e 67 2e 20  |         | E.g. |
00000350  45 53 43 5b 31 30 2c 31  36 48 20 20 20 20 20 20  |ESC[10,16H      |
00000360  20 20 20 20 20 20 20 20  20 20 20 20 0a 0a 45 53  |            ..ES|
00000370  43 5b 6e 41 20 20 20 20  20 20 20 20 20 20 20 7c  |C[nA           ||
00000380  20 4d 6f 76 65 20 63 75  72 73 6f 72 20 75 70 20  | Move cursor up |
00000390  6e 20 6c 69 6e 65 73 20  28 6f 6d 69 74 74 69 6e  |n lines (omittin|
000003a0  67 20 6e 20 6d 6f 76 65  73 20 75 70 20 31 20 6c  |g n moves up 1 l|
000003b0  69 6e 65 29 0a 20 20 20  20 20 20 20 20 20 20 20  |ine).           |
000003c0  20 20 20 20 20 20 7c 20  45 2e 67 2e 20 45 53 43  |      | E.g. ESC|
000003d0  5b 34 41 0a 0a 45 53 43  5b 6e 42 20 20 20 20 20  |[4A..ESC[nB     |
000003e0  20 20 20 20 20 20 7c 20  4d 6f 76 65 20 63 75 72  |      | Move cur|
000003f0  73 6f 72 20 64 6f 77 6e  20 6e 20 6c 69 6e 65 73  |sor down n lines|
00000400  20 28 6f 6d 69 74 74 69  6e 67 20 6e 20 6d 6f 76  | (omitting n mov|
00000410  65 73 20 64 6f 77 6e 20  31 20 6c 69 6e 65 29 0a  |es down 1 line).|
00000420  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000430  20 7c 20 45 2e 67 2e 20  45 53 43 5b 31 30 42 0a  | | E.g. ESC[10B.|
00000440  0a 45 53 43 5b 6e 43 20  20 20 20 20 20 20 20 20  |.ESC[nC         |
00000450  20 20 7c 20 4d 6f 76 65  20 63 75 72 73 6f 72 20  |  | Move cursor |
00000460  72 69 67 68 74 20 6e 20  63 6f 6c 75 6d 6e 73 20  |right n columns |
00000470  28 6f 6d 69 74 74 69 6e  67 20 6e 20 6d 6f 76 65  |(omitting n move|
00000480  73 20 72 69 67 68 74 20  31 20 63 6f 6c 29 0a 20  |s right 1 col). |
00000490  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000004a0  7c 20 45 2e 67 2e 20 45  53 43 5b 43 0a 0a 45 53  || E.g. ESC[C..ES|
000004b0  43 5b 6e 44 20 20 20 20  20 20 20 20 20 20 20 7c  |C[nD           ||
000004c0  20 4d 6f 76 65 20 63 75  72 73 6f 72 20 6c 65 66  | Move cursor lef|
000004d0  74 20 6e 20 63 6f 6c 75  6d 6e 73 20 28 6f 6d 69  |t n columns (omi|
000004e0  74 74 69 6e 67 20 6e 20  6d 6f 76 65 73 20 6c 65  |tting n moves le|
000004f0  66 74 20 31 20 63 6f 6c  29 0a 20 20 20 20 20 20  |ft 1 col).      |
00000500  20 20 20 20 20 20 20 20  20 20 20 7c 20 45 2e 67  |           | E.g|
00000510  2e 20 45 53 43 5b 33 44  0a 0a 45 53 43 5b 73 20  |. ESC[3D..ESC[s |
00000520  20 20 20 20 20 20 20 20  20 20 20 7c 20 53 74 6f  |           | Sto|
00000530  72 65 20 63 75 72 72 65  6e 74 20 63 75 72 73 6f  |re current curso|
00000540  72 20 70 6f 73 69 74 69  6f 6e 0a 20 20 20 20 20  |r position.     |
00000550  20 20 20 20 20 20 20 20  20 20 20 20 7c 20 45 2e  |            | E.|
00000560  67 2e 20 45 53 43 5b 73  0a 0a 45 53 43 5b 75 20  |g. ESC[s..ESC[u |
00000570  20 20 20 20 20 20 20 20  20 20 20 7c 20 52 65 73  |           | Res|
00000580  74 6f 72 65 20 70 72 65  76 69 6f 75 73 6c 79 20  |tore previously |
00000590  73 74 6f 72 65 64 20 63  75 72 73 6f 72 20 70 6f  |stored cursor po|
000005a0  73 69 74 69 6f 6e 0a 20  20 20 20 20 20 20 20 20  |sition.         |
000005b0  20 20 20 20 20 20 20 20  7c 20 45 2e 67 2e 20 45  |        | E.g. E|
000005c0  53 43 5b 75 0a 0a 45 53  43 5b 32 4a 20 20 20 20  |SC[u..ESC[2J    |
000005d0  20 20 20 20 20 20 20 7c  20 43 6c 65 61 72 20 64  |       | Clear d|
000005e0  69 73 70 6c 61 79 20 61  6e 64 20 6d 6f 76 65 20  |isplay and move |
000005f0  63 75 72 73 6f 72 20 74  6f 20 68 6f 6d 65 20 70  |cursor to home p|
00000600  6f 73 69 74 69 6f 6e 0a  20 20 20 20 20 20 20 20  |osition.        |
00000610  20 20 20 20 20 20 20 20  20 7c 20 45 2e 67 2e 20  |         | E.g. |
00000620  45 53 43 5b 32 4a 0a 0a  45 53 43 5b 4b 20 20 20  |ESC[2J..ESC[K   |
00000630  20 20 20 20 20 20 20 20  20 7c 20 43 6c 65 61 72  |         | Clear|
00000640  20 63 75 72 72 65 6e 74  20 6c 69 6e 65 20 66 72  | current line fr|
00000650  6f 6d 20 63 75 72 73 6f  72 20 70 6f 73 69 74 69  |om cursor positi|
00000660  6f 6e 20 28 69 6e 63 6c  75 73 69 76 65 29 0a 20  |on (inclusive). |
00000670  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000680  7c 20 45 2e 67 2e 20 45  53 43 5b 4b 0a 0a 45 53  || E.g. ESC[K..ES|
00000690  43 5b 63 3b 2e 2e 2e 3b  63 6d 20 20 20 20 20 7c  |C[c;...;cm     ||
000006a0  20 53 65 74 20 66 6f 72  65 67 72 6f 75 6e 64 2f  | Set foreground/|
000006b0  62 61 63 6b 67 72 6f 75  6e 64 20 63 6f 6c 6f 75  |background colou|
000006c0  72 73 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |rs              |
000006d0  20 20 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |  .             |
000006e0  20 20 20 20 7c 20 30 20  3d 20 72 65 73 65 74 20  |    | 0 = reset |
000006f0  74 6f 20 64 65 66 61 75  6c 74 20 63 6f 6c 6f 75  |to default colou|
00000700  72 73 20 28 77 68 69 74  65 20 6f 6e 20 62 6c 61  |rs (white on bla|
00000710  63 6b 29 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ck).            |
00000720  20 20 20 20 20 7c 20 6f  66 66 73 65 74 20 30 20  |     | offset 0 |
00000730  3d 20 62 6c 61 63 6b 0a  20 20 20 20 20 20 20 20  |= black.        |
00000740  20 20 20 20 20 20 20 20  20 7c 20 6f 66 66 73 65  |         | offse|
00000750  74 20 31 20 3d 20 72 65  64 0a 20 20 20 20 20 20  |t 1 = red.      |
00000760  20 20 20 20 20 20 20 20  20 20 20 7c 20 6f 66 66  |           | off|
00000770  73 65 74 20 32 20 3d 20  67 72 65 65 6e 0a 20 20  |set 2 = green.  |
00000780  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 7c  |               ||
00000790  20 6f 66 66 73 65 74 20  33 20 3d 20 79 65 6c 6c  | offset 3 = yell|
000007a0  6f 77 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ow.             |
000007b0  20 20 20 20 7c 20 6f 66  66 73 65 74 20 34 20 3d  |    | offset 4 =|
000007c0  20 62 6c 75 65 0a 20 20  20 20 20 20 20 20 20 20  | blue.          |
000007d0  20 20 20 20 20 20 20 7c  20 6f 66 66 73 65 74 20  |       | offset |
000007e0  35 20 3d 20 6d 61 67 65  6e 74 61 0a 20 20 20 20  |5 = magenta.    |
000007f0  20 20 20 20 20 20 20 20  20 20 20 20 20 7c 20 6f  |             | o|
00000800  66 66 73 65 74 20 36 20  3d 20 63 79 61 6e 0a 20  |ffset 6 = cyan. |
00000810  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000820  7c 20 6f 66 66 73 65 74  20 37 20 3d 20 77 68 69  || offset 7 = whi|
00000830  74 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |te.             |
00000840  20 20 20 20 7c 20 54 6f  20 73 65 74 20 66 6f 72  |    | To set for|
00000850  65 67 72 6f 75 6e 64 20  63 6f 6c 6f 75 72 2c 20  |eground colour, |
00000860  61 64 64 20 33 30 20 74  6f 20 63 6f 6c 6f 75 72  |add 30 to colour|
00000870  20 6f 66 66 73 65 74 0a  20 20 20 20 20 20 20 20  | offset.        |
00000880  20 20 20 20 20 20 20 20  20 7c 20 54 6f 20 73 65  |         | To se|
00000890  74 20 62 61 63 6b 67 72  6f 75 6e 64 20 63 6f 6c  |t background col|
000008a0  6f 75 72 2c 20 61 64 64  20 34 30 20 74 6f 20 63  |our, add 40 to c|
000008b0  6f 6c 6f 75 72 20 6f 66  66 73 65 74 20 0a 20 20  |olour offset .  |
000008c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 7c  |               ||
000008d0  20 45 2e 67 2e 20 45 53  43 5b 33 34 3b 34 37 6d  | E.g. ESC[34;47m|
000008e0  0a 0a 0a 55 73 69 6e 67  20 41 72 63 41 4e 53 49  |...Using ArcANSI|
000008f0  3a 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |:.--------------|
00000900  0a 54 6f 20 6c 6f 61 64  20 74 68 65 20 41 72 63  |.To load the Arc|
00000910  41 4e 53 49 20 6d 6f 64  75 6c 65 2c 20 64 6f 75  |ANSI module, dou|
00000920  62 6c 65 2d 63 6c 69 63  6b 20 6f 6e 20 69 74 73  |ble-click on its|
00000930  20 69 63 6f 6e 20 69 6e  20 61 20 66 69 6c 65 72  | icon in a filer|
00000940  2c 20 6f 72 20 74 79 70  65 0a 27 2a 52 4d 4c 6f  |, or type.'*RMLo|
00000950  61 64 20 41 72 63 41 4e  53 49 20 5b 45 4e 54 45  |ad ArcANSI [ENTE|
00000960  52 5d 27 20 61 74 20 74  68 65 20 43 4c 49 2d 70  |R]' at the CLI-p|
00000970  72 6f 6d 70 74 20 2a 20  2e 0a 57 68 65 6e 20 6c  |rompt * ..When l|
00000980  6f 61 64 65 64 2c 20 74  68 65 20 65 6d 75 6c 61  |oaded, the emula|
00000990  74 6f 72 20 77 69 6c 6c  20 61 75 74 6f 6d 61 74  |tor will automat|
000009a0  69 63 61 6c 6c 79 20 61  63 74 69 76 61 74 65 20  |ically activate |
000009b0  69 74 73 65 6c 66 2c 20  69 65 2e 20 61 6e 79 20  |itself, ie. any |
000009c0  62 79 74 65 73 0a 73 75  62 73 65 71 75 65 6e 74  |bytes.subsequent|
000009d0  6c 79 20 73 65 6e 74 20  74 6f 20 74 68 65 20 56  |ly sent to the V|
000009e0  44 55 20 77 69 6c 6c 20  70 61 73 73 20 74 68 72  |DU will pass thr|
000009f0  6f 75 67 68 20 74 68 65  20 41 4e 53 49 20 65 6d  |ough the ANSI em|
00000a00  75 6c 61 74 6f 72 2c 20  77 68 69 63 68 20 77 69  |ulator, which wi|
00000a10  6c 6c 0a 74 61 6b 65 20  61 63 74 69 6f 6e 20 77  |ll.take action w|
00000a20  68 65 6e 20 6e 65 63 65  73 73 61 72 79 2e 20 20  |hen necessary.  |
00000a30  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000a50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 0a  |               .|
00000a60  0a 54 68 65 20 6d 6f 64  75 6c 65 20 61 6c 73 6f  |.The module also|
00000a70  20 70 72 6f 76 69 64 65  73 20 74 68 65 20 6e 65  | provides the ne|
00000a80  77 20 2a 41 4e 53 49 20  6b 65 79 77 6f 72 64 3a  |w *ANSI keyword:|
00000a90  0a 55 73 65 20 20 27 2a  41 4e 53 49 20 4f 66 66  |.Use  '*ANSI Off|
00000aa0  20 5b 45 4e 54 45 52 5d  27 20 20 74 6f 20 74 75  | [ENTER]'  to tu|
00000ab0  72 6e 20 74 68 65 20 41  4e 53 49 20 65 6d 75 6c  |rn the ANSI emul|
00000ac0  61 74 6f 72 20 6f 66 66  0a 20 20 20 20 20 27 2a  |ator off.     '*|
00000ad0  41 4e 53 49 20 4f 6e 20  20 5b 45 4e 54 45 52 5d  |ANSI On  [ENTER]|
00000ae0  27 20 20 74 6f 20 74 75  72 6e 20 74 68 65 20 41  |'  to turn the A|
00000af0  4e 53 49 20 65 6d 75 6c  61 74 6f 72 20 62 61 63  |NSI emulator bac|
00000b00  6b 20 6f 6e 0a 20 20 20  20 20 27 2a 41 4e 53 49  |k on.     '*ANSI|
00000b10  20 20 20 20 20 5b 45 4e  54 45 52 5d 27 20 20 74  |     [ENTER]'  t|
00000b20  6f 20 64 69 73 70 6c 61  79 20 74 68 65 20 41 4e  |o display the AN|
00000b30  53 49 20 65 6d 75 6c 61  74 69 6f 6e 20 73 74 61  |SI emulation sta|
00000b40  74 75 73 0a 55 73 65 20  20 27 2a 48 65 6c 70 20  |tus.Use  '*Help |
00000b50  41 4e 53 49 5f 49 6e 66  6f 20 5b 45 4e 54 45 52  |ANSI_Info [ENTER|
00000b60  5d 27 20 20 66 6f 72 20  73 6f 6d 65 20 63 72 79  |]'  for some cry|
00000b70  70 74 69 63 20 69 6e 66  6f 20 6f 6e 20 74 68 65  |ptic info on the|
00000b80  20 41 72 63 41 4e 53 49  20 6d 6f 64 75 6c 65 2e  | ArcANSI module.|
00000b90  0a 0a 54 68 65 20 6d 6f  64 75 6c 65 20 61 6c 73  |..The module als|
00000ba0  6f 20 70 72 6f 76 69 64  65 73 20 61 20 6e 65 77  |o provides a new|
00000bb0  20 53 57 49 2c 20 22 41  4e 53 49 5f 43 6f 6e 74  | SWI, "ANSI_Cont|
00000bc0  72 6f 6c 22 20 28 26 43  30 31 30 30 29 3a 0a 45  |rol" (&C0100):.E|
00000bd0  6e 74 72 79 3a 20 52 30  20 3d 20 30 2c 20 52 31  |ntry: R0 = 0, R1|
00000be0  20 3d 20 30 0a 20 20 20  20 20 20 20 54 75 72 6e  | = 0.       Turn|
00000bf0  20 6f 66 66 20 74 68 65  20 41 4e 53 49 20 65 6d  | off the ANSI em|
00000c00  75 6c 61 74 6f 72 0a 45  6e 74 72 79 3a 20 52 30  |ulator.Entry: R0|
00000c10  20 3d 20 30 2c 20 52 31  20 3d 20 31 0a 20 20 20  | = 0, R1 = 1.   |
00000c20  20 20 20 20 54 75 72 6e  20 6f 6e 20 74 68 65 20  |    Turn on the |
00000c30  41 4e 53 49 20 65 6d 75  6c 61 74 6f 72 0a 45 6e  |ANSI emulator.En|
00000c40  74 72 79 3a 20 52 30 20  3d 20 31 2c 20 52 31 20  |try: R0 = 1, R1 |
00000c50  3d 20 30 0a 20 20 20 20  20 20 20 44 6f 6e 27 74  |= 0.       Don't|
00000c60  20 61 6c 6c 6f 77 20 56  44 55 20 63 6f 64 65 73  | allow VDU codes|
00000c70  20 74 6f 20 70 61 73 73  20 74 68 72 6f 75 67 68  | to pass through|
00000c80  20 74 68 65 20 65 6d 75  6c 61 74 6f 72 0a 45 6e  | the emulator.En|
00000c90  74 72 79 3a 20 52 30 20  3d 20 31 2c 20 52 31 20  |try: R0 = 1, R1 |
00000ca0  3d 20 31 0a 20 20 20 20  20 20 20 41 6c 6c 6f 77  |= 1.       Allow|
00000cb0  20 56 44 55 20 63 6f 64  65 73 20 74 6f 20 70 61  | VDU codes to pa|
00000cc0  73 73 20 74 68 72 6f 75  67 68 20 74 68 65 20 65  |ss through the e|
00000cd0  6d 75 6c 61 74 6f 72 0a  0a 0a 43 6f 6d 6d 65 6e  |mulator...Commen|
00000ce0  74 73 3a 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 49 66  |ts:.---------.If|
00000cf0  20 79 6f 75 20 68 61 76  65 20 61 6e 79 20 63 6f  | you have any co|
00000d00  6d 6d 65 6e 74 73 20 6f  6e 20 74 68 65 20 41 72  |mments on the Ar|
00000d10  63 41 4e 53 49 20 6d 6f  64 75 6c 65 20 6f 72 20  |cANSI module or |
00000d20  77 6f 75 6c 64 20 6c 69  6b 65 20 74 6f 20 67 65  |would like to ge|
00000d30  74 20 73 6f 6d 65 20 6d  6f 72 65 0a 69 6e 66 6f  |t some more.info|
00000d40  20 6f 6e 20 42 41 53 53  2c 20 77 72 69 74 65 20  | on BASS, write |
00000d50  74 6f 3a 0a 0a 20 20 20  20 20 20 20 20 43 61 72  |to:..        Car|
00000d60  6c 20 44 65 63 6c 65 72  63 6b 2c 20 56 72 69 6a  |l Declerck, Vrij|
00000d70  67 65 77 65 69 64 65 73  74 72 61 61 74 20 32 34  |geweidestraat 24|
00000d80  2c 20 32 38 30 30 20 4d  65 63 68 65 6c 65 6e 2c  |, 2800 Mechelen,|
00000d90  20 42 65 6c 67 69 75 6d  0a 20 20 20 20 20 20 20  | Belgium.       |
00000da0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000db0  20 20 20 20 20 20 20 20  20 20 20 20 20 6f 72 0a  |             or.|
00000dc0  20 20 20 20 20 20 20 4a  6f 68 6e 20 54 79 74 67  |       John Tytg|
00000dd0  61 74 2c 20 42 72 75 73  73 65 6c 62 61 61 6e 20  |at, Brusselbaan |
00000de0  34 34 35 2c 20 31 36 30  30 20 53 74 2e 2d 50 69  |445, 1600 St.-Pi|
00000df0  65 74 65 72 73 2d 4c 65  65 75 77 2c 20 42 65 6c  |eters-Leeuw, Bel|
00000e00  67 69 75 6d 0a 0a 0a 20  20 20 20 20 20 20 20 20  |gium...         |
00000e10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 54 75  |              Tu|
00000e20  6e 65 20 69 6e 2c 20 54  75 72 6e 20 6f 6e 2c 20  |ne in, Turn on, |
00000e30  42 75 72 6e 20 6f 75 74  2e 2e 2e 0a 0a 20 20 20  |Burn out.....   |
00000e40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000e70  20 43 61 72 6c 20 44 65  63 6c 65 72 63 6b 2c 20  | Carl Declerck, |
00000e80  42 41 53 53 20 31 39 39  30 0a                    |BASS 1990.|
00000e8a