.** File Name: manual3/txt
.** 03/25/82
>LM=4 RM=76 TM=1 BM=62>C=YZ E N 8 2 / C M DUpdate from ZEN version 3.4>C=NZEN82 is a major upgrade of ZEN Ver 3.4, released earlier.  The majority of the changes are improvements in text editing and the monitor/debugger.  Also, the command letters are changed from XR to REF and a selector parameter has been added.
1.  Monitor / Debugger CommandsX . . .   Xamine user registers now decodes the flags in both the F          registers.M . . .   Modify now accepts "-" (minus sign) to back-step one byte.Bn  . .   Initializes a Byte Search for the value n (range 0 to 255).          ZEN prompts for Start and Stop addresses.          Memory is searched and when the first matching byte
          is found, its address is displayed.  To continue the
          search just type B.Example:  Z>B27 <ENTER>          Start>1000H <ENTER>          Stop>1500H <ENTER>On the Model 1 (Old Roms) ZEN will respond with:
          Address 1129
The search can be continued with B<ENTER> until the ending address is reached.  Then ZEN displays the message: Stop>.Note: Modify, Byte search and Query all use and maintain the same      current object pointer, which at power-upd is      initialized at 37E8H (the Model 1 parallel printer port).      When a byte is located by the search routine, keying
      M<ENTER> will enter the modify mode at that address, or      keying Q<ENTER> will display the memory block starting at
      that address.Shift In  Instructs ZEN to input a byte from Port n and display it          in both Hexadecimal and binary, (where n represents a
          number in the range 0 to 255.)  Further inputs from
          the same port may be made by just keying Shift I.
          Where a lower case driver is in operation then the          command letter is the lower-case "i".)Example:  Z>Shift I255 <ENTER>      (Input byte from port 255)          ZEN will respond with: 7F 01111111Shift On  Instructs ZEN to initialize an output routine on port n.          Following the command, ZEN prompts repetitively for data.          To exit the routine just key <ENTER>.Example:  Z>Shift O248 <ENTER>      (Output port 248 = Model 3 printer)          Data>29 <ENTER>           (Microline printer code for small print)          Data> <ENTER>             (Exit routine)2.  Editor CommandsSince the B command letter now controls a Byte search, the bottom-of-file is now accessed with the key "/"<ENTER> or, if the first keystroke, then Shift down arrow. (Control Z on Model 3)REB . .   RE-position Block.          Moves a block of text lines from one part of the
          source file to another.  To execute the command          ZEN needs the start and end line numbers of the
          block, the line number in FRONT of which the block is
          to be placed and free memory equal to the size of the
          block.  If enough memory is not available, a Memory
          Full message is displayed.          ZEN also checks that the destination line number lies outside          the range of the block.  To move a block to the end of the          file ZEN, enter a destination line number one greater than the
          last line of text.  When the move is completed, the
          first line of the file is displayed.Example:  Z>REB <ENTER>          Start>10 <ENTER>          Stop>20 <ENTER>          Dest>1 <ENTER>
This command sequence moves lines 10-20 inclusive from their original position to be in front of line 1, i.e. the start of the file.Shift k   Kill filespec.  ZEN prompts for a "Kill Filespec" and          then calls the appropriate Dos routines to kill the file.Text Entry and Editing:When the Editor is entered, or a line is selected for editing, ZEN's new blinking underscore block cursor is invoked.  (Lines longer than 90 characters cannot be written or edited by ZEN.)   The normal cursor marks the end of the line.
The blinking cursor can be moved with the left, shift left, right and shift right arrows.  (Note: if you have an early Video Genie computers without a right arrow key, the down arrow may be used instead.)
Pressing <CLEAR> removes all the text from the cursor position to the end of the line.
Pressing <ENTER> with the cursor in any position exits from the text entry or editing for that line; otherwise, any keys pressed will over-type the character at cursor position.  Shift up-arrow inserts a space into the line at the cursor position, and shift down-arrow deletes the current character.NEWDOS80 DOScall.  The command syntax has been abbreviated slightly; it takes the form: DO DOSCALL.3.  Assembler CommandsREFa . .  Reference listing of the symbol table with the in-memory          source file.          REF by itself generates a listing of the symbol          table in the order of its creation, ie., as the labels          occur in the source file.          Including the optional parameter restricts the listing to          only labels beginning with that letter.Example:  Z>REFK <ENTER>          Produces a cross reference listing of all labels          beginning with the letter K.4.  Miscellaneous InformationInterrupts are no longer disabled by ZEN on initialization.They are disabled, however, during reads and write to cassette, and are not re-enabled on completion of cassette I/O.  If you want to operate in a non-interrupt mode, then use the cassette source write command (with a short source file).  You do not need a cassette recorder connected to disable interrupts.REENTRY, for use with ZEN's debugger, is now at address 5683H and from DEBUG key G5691<ENTER>.