text
stringlengths
0
99.6k
ARC VERSION 2.20 PAGE - 15
>disk command
This should be a familiar command. It is the universal
wedge, DOS 5.1, DOS wedge, or whatever you want to call
it. The only difference is that the command always goes
to the default device. Assuming that a: is the default
drive, some examples are:
>i1 - initialize drive 1 (b:)
>c0=1 - copy drive 1 to drive 0 on
unit 8 (dual drive)
>r1:test=text - renames "text" to "test"
on drive b:
>$0 - lists directory of drive a:
>$c: - lists directory of drive c:
size [s:]<filename>
Counts and displays the number of bytes in a file. If
the file is a program, you may want to deduct two bytes
from the length since the load address is included in
the count.
start [s:]<filename>
Prints the load address of a program file.
ARC VERSION 2.20 PAGE - 16
2) EDITOR COMMANDS.
The editor is primarily intended to edit text files. It
was designed to be a text editor for use in editing assembly
language source files, although it could be used to edit
BASIC programs as well. Find, Change, and Renum, however,
will not recognize BASIC tokens or line number
references, so you would be better off using POWER or
SYSRES or some other editor for BASIC programs.
text
This command puts the editor in text mode. Any upper
case characters not in quotes will be forced to lower
case, and basic keywords will not be tokenized. When
listing a Basic program, you should set BASIC mode,
because in text mode, BASIC tokens are not expanded.
basic
Puts the editor in BASIC mode. Lower case is not
forced, and basic keywords will be tokenized and
expanded by LIST.
auto [increment]
Turns on automatic line numbering. Auto with no
increment disables auto.
cold
Same as sys 64738 on the 64. (COLD START)
If you have a reset button on your 64, or if you are
using a C-128, then you can re-enable ARC by typing:
SYS 12*4096 after a reset.
ARC VERSION 2.20 PAGE - 17
change/from/to/, range
Changes string from to string to. / can be anything not
included in from or to. range is a range of line
numbers having the same syntax as LIST.