Text preview for : 19790405_Notex_Command_Language.pdf part of xerox 19790405 Notex Command Language xerox notetaker memos 19790405_Notex_Command_Language.pdf
Back to : 19790405_Notex_Command_La | Home
Notex Command Language
Version 5.2
April 5, 1979
The command language is used in conjunction with command files and can be created and edited
with bravo or the edit function in Notex. The language provides the user with most of the facilities
avaiable at the console (and many that are note) so that the functions can be prepared in advance,
executed without operator error and remembered as long as the user wishes.
The following is a description of the command language. There are some special characters of which
the user must take note; space, comma, gets(backward arrow+-), upward arrow(t), semicolon and
carriage return. The space is for field separation and the return for command line separation. In
general, a space can occur after any command and a return after any command line.
A return is also used to specify data storage whenever input is required. For convenience, a gets( +-)
character can be used for data input. A comma(,) is used to skip data input fields for the D, Wand
w commands. The description for the D command contains further explination about the comma. An
upward arrow is used to input data but will not advance L1.e address counter. This is a special input
to allow many items to be inputted into a given port.
A semicolon, when not in a string, signifies to Notex to skip the rest of the information in the line
until after the next carriage return. This is obvously to allow the user to imbed comments in the
command file.
Notex allows some primative forms of arithmetic and logical operations when hexidecimal values are
being inputted. The operations are executed in the order in which they occur(the same fashion as .
your TI programmer calculator). i.e. 1234 + 555/BO*100 will render 2200 as an answer.
There is one special operator($) which is used by some of the commands to specify one of 16 internal
registers which only lhe command files can use. The arithmetic and logic operators are:
plus +
minus
multiply *
divide /
and &
or %
exclusive or @
not
register $(This operator is explained in command P).
The language is not very forgiving. If any other characters appear in the command field other than
the ones specified below, the command line execution will automatically abort and the Start indicator
will be turned off.
Command line Comments
A counter+-from+-to+- counter = 0 thru 7
A4 counter+-Ioc +- +-mask +- counter = 0 thru 7
A6 counter+-port+- +-mask+- counter = 0 thru 7
A counter+-value+- counter= 8 thru F
A4 counter+-loc +- +- counter = 8 thru F
A6 counter+-port+- +- counter = 8 thru F
Assign counter c the starting value From and the ending value To. There are 8 register pairs (c=O
thru 7) which can be assigned as counter/limit or word/mask registers working in conjunction with
the JUump) command. Once a register pair has been assigned a starting and ending value( or word
2
and Mask value), its control file position is remembered. Subsequent jump commands which count
the starting value up or down, or which compare the word and mask values will jump back to the
assign position until the starting value reaches the ending value or the word/mask values dont meet
the jump conditions. The count direction or jump conditions are specified by the delta parameter of
the jump command(Refer J).
It should be noted that to use the register pairs as counters, a space must follow the A(assign)
command. To use the registers as word and mask conditional pairs, the assign command must be
followed by a 4 to load the register from a location in the 8086 or a 6 to load the register with the
contents of a port.
=
There are 8 other registers (c 8 thru E) which can also be assigned with the assign command, but
they are not conditional and do not work with the jump commands. Register F is a special register
which can be set via the assign command but is also set to the starting address of the most recently
loaded MB file. This action is automatic and overrides any previous setting of the register.
B~ Boot with Diagnostics
B2~ Boot without diagnostics
Performs an initial Boot with or without diagnostics.
C A~
Call is made to address A. This command must be foilowcd by a puase (P) command.
D A~n~vI~v2~ ... vn~ Word mode
D2 A +-n ~v 1 +-v2 ~ ... vn +- Byte mode
Deposit n values (vI thru vn) into address A thru address A+n-l. If the user wishes to skip
any value vI thru vn, a comma(,) can be used instead of a gets( +- ).
E A~n~ Word mode
E2 A~n+- Byte mode
Examine contents of address A thru A + n-l.
e+- Open notex.er at beginning
e2~ Open notex.er at end
Compliment state of the Error File flag. If the flag is turned on, The error file 'Notex.er' will
be opened at the begining