System - a new assembler from the city of Volgodonsk: EDAS 3.3.

Spectrophoby #04
 ╓─────────────────────╖     
 ─── SYSTEM ───     
 ╙─────────────────────╜     
                                
  Let's start today's section with
additions to the third issue.   
                                
  In the program ADS 2.0 I did not indicate
hall several parameters, I them
I just didn't know. So:           
                                
 Check disk:           
                                
ID Scanner - checking the disk for
formatted, that's why
even on a failed disk it gave
OK, he didn't check the information
tion.                            
 Restore disk:          
                                
 Volume: all/inf  - restored
transfer the entire disk, or just in-
formational part, this determines
according to the catalogue.             
 And now let's move directly
directly to the main part of this
section. We have another one
new exchange sourceprogram-
mi - in the city of Volgodonsk, Russia
trade region.  This is Ivanishchev
M.G.And he provided us with a new
assembler, by the way written in
his own city.                  
                                
  We have the honor to present to you
new assembler from the city of Volgo-
Donsk - EDAS 3.3.              
  Although we have already published one
assembler (tASM), but it was
only for 128k, and this is for 48k and
Possibly no worse, but maybe
even cooler.                   
                                
  Description we had to kanu-
thoroughly rework (in the sense
presentation), since there is also
there were a lot of mistakes, so...      
                                
╔═════════════ ═══════════════════════════╗
║···································
║█████·███·····█····███······███·····███·║
║█·····█··█···█·█··█···█····█···█···█···█║
║█·····█···█·█···█·█···········█······█║
║████··█···█·█···█··███·······██······██·║
║█·····█···█·█████·····█·······█······█║
║█·····█··█··█···█·█···█····█···█···█···█║
║█████·███···█···█··███······███··█··███·║
║···································
║···┌────────────────────────────────┐···║
║···│NEW SCREENEDITOR WITH ASSEMBLER│···║
║···└────────────────────────────────┘···║
║···························VU·M.S.V····║
╚════════════════════ ════════════════════╝
                                          
Numerous disadvantages of existing
forZX-SPECtRUMbroadcast
tors of the language "ASSEMBLER", served
lived as an excuse to write data
new product.                  
                                
                                
                                
EDAS 3.3is an integrated
environment, including an editor
texts and high-speed translator
(and soon a step-by-step debugger).
EDAS 3.3 is useful for beginners
aspiring programmers and professional
professionals, because:           
                                
-- Has a very convenient screen
   editor, specially designed
   started for typing and editing
   typing program texts.  
                                
-- High broadcast speed
   programs (three times higher than - 
shading GENS) withopportunity 
 during broadcasting,
   Download text files from disk.
                                
  I am sure that having met
this program, you will work
thief only with her.              
                                
                                
Before you begin, carefully
Please study the reference manual thoroughly.
leadership, since you will not master
EDASЗ.3by the "scientific poke" method.
                                
Editor commands include: 
                                
-- Commands for switching operating modes;   
                                          
-- Simple text editing commands; 
                                          
-- Working with blocks and pockets;           
                                          
-- Commands for searching and replacing words;          
                                          
-- Working with files;                      
                                          
-- Input andexecution of macro commands;         
                                          
-- Labels;                                 
                                          
-- Special editing commands;    
                                          
-- Broadcasting and launching programs;          
 After starting the program (file
EDAS 3.3) in the bottom line of the screen
you will be prompted to edit
file. After entering the name and pressing
This key ENtER, you can
start work.            
                                
  The first two lines of the screen are
official  They look like this:
in a general way:                    
                                
0173.021 (39%) .5. INS C.LOCK INSERT
NONAME (60%) TAB EXTEND INDENT
                                          
where:                            
                                
 0173.021 (39%)                           
 - row and column number, where
   the cursor is located, as well as its
   relative place in the text:
 00%- AT THE BEGINNING OF THE TEXT       
 50% - IN THE MIDDLE            
 ALL - AT THE END OF THE TEXT        
                                          
 NONAME (60%)                           
 - name of the file being edited, a
  also the percentage of free memory
 ALL - ALL MEMORY IS FREE          
 00% - ALL MEMORY IS USED            
                                          
 Maximum text size -  
 24K. There are enough of them approx.  
 but for 2500 lines of program for  
 assembler.                    
                                
                                
The rest is the editor operating modes -
tora. Read about them below.       
                                
  To work with EDAS 3.3 you must
must haveZX─SPECtRUM 48 (followed by
current versions 128) and BEtA DISK
INTERFACE. NONAME (60%)                           
 - name of the file being edited, a
  also the percentage of free memory
 ALL - ALL MEMORY IS FREE          
 00% - ALL MEMORY IS USED            
                                          
 Maximum text size -  
 24K. There are enough of them approx.  
 but for 2500 lines of program for  
 assembler.                    
                                
                                
The rest is the editor operating modes -
tora. Read about them below.       
                                
  To work with EDAS 3.3 you must
must haveZX─SPECtRUM 48 (followed by
current versions 128) and BEtA DISK
INTERFACE.   НАЗНАЧЕНИЕ КЛАВИШ ОБЫЧНОЕ:   
                                
╜──┬──┬──┬──┬──┬──┬──┬──┬──┬──┐ 
│1  │2  │3  │4  │5  │6  │7  │8  │9  │0  │ 
│  !│  @│  #│  $│  %│  &│  '│  (│  )│  _│ 
├──┼──┼──┼──┼──┼──┼──┼──┼──┼──┤ 
│Q  │W  │E  │R  │T  │Y  │U  │I  │О  │Р  │ 
│   │   │   │  <│  >│  [│  ]│  ©│  ;│  "│ 
├──┼──┼──┼──┼──┼──┼──┼──┼──┼──┤ 
│A  │S  │D  │F  │G  │Н  │J  │K  │L  │ENT│ 
│  ~│  |│  │  {│  }│  ^│  -│  +│  =│ ER│ 
├──┼──┼──┼──┼──┼──┼──┼──┼──┼──┤ 
│CS │Z  │X  │C  │V  │В  │N  │M  │SS │SPA│ 
│   │  :│  £│  ?│  /│  *│  ,│  .│   │ CE│ 
└──┴──┴──┴──┴──┴──┴──┴──┴──┴──┘ 
                                
                                
  Обратите  внимание, что макси-
мaльнaя  длина  строки  -  11254
символа (что, впрочем, более чем
достаточно)                     
                                
                                
                                
   ┌──────────────────────────────────┐│COMMANDS FOR CHANGING OPERATING MODES │   
   └──────────────────────────────────┘   
                                          
EXtEND CS+S - mode switching
             mov EXtEND and SYMBOL
                                
In the SYMBOL mode, press CS+LETTER
causes the character to be printed, a
key combination EXtEND+LETTER -
to enter the appropriate command.
                                
  For assembly language texts, where
capital letters predominate, more
the EXtEND mode is convenient, in which
commands are entered by pressing
tuem CS+LETTER, a character input,
on the contrary, with the combination EXtEND+
LETTER.                          
                                
                                
                                
                                
                                
In the editor there are three
groups of commands by input method.1. CS+DIGIT - input does not depend on modes
              EXTEND or SYMBOL           
2. EXTEND CS+LETTER and EXTEND CS+NUMBER (can-
   but instead of CS use SS) is also not
   depend on the EXTEND orSYMBOL modes;  
3. CS+LETTER - in mode SYMBOL are entered
              combination EXTEND+LETTER    
                                          
EXTEND CS+ENTER - switching modes    
                           INS/DIV        
                                          
 In the DIV mode, pressing the key
ENtER leads to the separation of st-
rocks into two parts, as it happens
adopted in modern editors, a
pressing CS+ENtER or SS+ENtER -
to insert a blank line after
the one on which the chicken is installed
rubbish                            
                                
                                
 In INS mode, more convenient for
assembly language texts, these two
functional purpose of the keyboard
Shi ENTER are swapped.      
                                
EXtEND CS+SPACE - switching
modes SPC/tAV                 
                                
In the SPC mode, the SPACE key prints
melts the space, a CS+SPACE or
SS+SPACE - tab.           
In the tAV mode everything is the other way around (this 
convenient for assembly texts
re, where there are no spaces and very 
many tab characters)       
                                
CS+2 - switch large/ma-
       lazy letters.           
                                
 To enter a character once
opposite case inre-
press SYMBOL use CS+BUK-
VA, and in the mode EXtEND - EXtEND
LETTER.                          
CS+1 - on/off insertion mode. 
                                
EXtEND CS+W - on/off mode   
 indentation.          
                                
 When indentation mode is enabled
the cursor after pressing ENtER re-
is placed under the first character
previous line, and when turned off -
in normal mode - to the beginning of the line.   
    ┌────────────────────────────────┐    
    │ SIMPLE EDITING COMMANDS │    
    └────────────────────────────────┘    
                                          
CS+5 - CURSOR LEFT CS+8 - CURSOR RIGHT
CS+7 - CURSOR UP CS+6 - CURSOR DOWN 
                                          
  CS+T - SCROLLING LEFT          
  CS+I - SCROLLING RIGHT          
  CS+U - SCROLLING UP          
  CS+Y - SCROLL DOWN          
                                          
                                          
                                          
 Moves when scrolling
text, the cursor remains motionless
wives relative to the screen.        
                                
CS+Q - CURSOR TO THE BEGINNING OF THE LINE       
 CS+E - CURSOR TO END OF LINE       
                                          
  CS+4 - TO THE PAGE UP         
 CS+3 - TO THE PAGE DOWN         
                                          
 EXTEND CS+Q - TO THE BEGINNING OF TEXT       
 EXTEND CS+E - TO THE END OF TEXT       
                                          
CS+0 - DELETE A CHARACTER TO THE LEFT OF THE CURSOR 
 CS+9 - DELETE A CHARACTER UNDER THE CURSOR     
                                          
SS+Q - DELETE PART OF A LINE TO THE LEFT OF     
CURSOR                            
SS+E - DELETE PART OF A LINE TO THE RIGHT OF    
CURSOR                            
                                          
SS+W - ERASE ENTIRE LINE CS+L - RESTORE THE LINE. This command
       restores a line after any
       changes made, provided that
       that the cursor did not go beyond its limits
                                          
 ┌─────────────────────────────────────┐  
 │ COMMANDS FOR WORKING WITH BLOCKS AND KAPMAHOM │  
 └─────────────────────────────────────┘  
                                          
 This version EDAS 3.3 supports
works only with lowercase
in blocks (minimum size
block - one line)            
                                
                                
POCKET - special area of pa-
memory for storing text (can- 
those consider it as RAM
DISKfor one file only).  
                                
                                
To select blocks, use the me-
nude, called by the command CS+D.   
                                
 1.Mark the beginning of the block;                 
 2.Mark the end of the block;                  
 3.Mark the text from the beginning to the cursor;   
 4.Mark text from the cursor to the end;    
 5.Move the cursor to the beginning of the block;     
 6.Move the cursor to the end of the block;      
 7.Place all text;                  
 8.Remove markings;                       
ENTER or SPACE - exit the menu.          
                                          
 To work with a selected block
enter another menu with the command
EXtEND CS+D.                    
                                
1. Copy block;                       
 2.Move block;                      
 3.Copy the block to the pocket;              
 4.Move the block to your pocket;5.Copy block from carnan;            
 6.Move the block from the pocket;             
 7.Erase block;                          
 8.Erase pocket.                        
ENTER or SPACE - exit the menu.          
                                          
 Copied in all commands
the block is moved after the line,
on which the cursor is positioned.   
 After finishing working with the karma-
but don't forget to erase it, so
how its presence reduces the size
free memory.               
                                
  ╜─────────────────────────┐   
  │ SEARCH AND REPLACE COMMANDS │   
  └─────────────────────────┘   
                                
 To execute these commands, press
mute CS+K and you will be in special
al menu:                    
 1.Search from the beginning of the text;                
 2.Search from the cursor;                      
 3.Search and replace from the beginning of the text;       
 4.Search and replace from the cursor.             
ENTER or SPACE - exit the menu.          
                                          
Once selected you will be asked to enter
words to search and replace and start
The command cannot be executed.       
 ╜─────────────────┐       
      │ WORKING WITH DISK │       
      └─────────────────┘       
                                
 To enter the menu for working with files,
Lami press CS+V.              
                                
 1.Reading a file;                          
 2.Write file;                          
 3.Combining files (file from disk is placed
   appears after the line on which the
   cursor is in);                          
 4.Write the selected block;              
 5.Output to TR-DOS;6.Output in BASIC.                         
ENTER or SPACE - exit the menu.          
                                          
 The commands for working with the disk are -
is the weakest point in the editorial
tore. Don't forget before you start
work insert the disc into the drive
and do not slip hetR-DOS dis-
ki, because  any failure may cause
lead to the computer freezing.   
 ╜───────────────────────┐    
    │ ENTERING AND EXECUTING MACRO COMMANDS │     
   └───────────────────────┘    
                                
 Quite often during the input process
have to repeat the same
sequences of actions.    
                                
 Instead you can once
enter the macro command and then
perform it many times.       
                                
INPUT MACRO COMMAND: EXTEND CS+5 - MACRO 1 
 EXTEND CS+6 - MACRO 2 
 EXTEND CS+7 - MACRO 3 
   EXTEND CS+8 - MACRO 4 
    EXTEND CS+9 - MACRO 5 
     EXTEND CS+0 - MACRO 6 
     EXTEND CS+O - MACRO 7 
       EXTEND CS+P - MACRO 8 
                                          
(As you noticed, you can determine up to
eight different macro commands)             
                                          
 After this, all the data you enter
symbols and commands (max. 32)
will be remembered in a special
buffer.                         
                                
After finishing typing, enter
any command related to input
home and executing macro commands
(for example CS+O)                 
                                
 TO EXECUTE A MACRO COMMAND PRESS:  
                                          
 EXTEND 5 - MACRO 1            
 EXTEND 6 - MACRO 2            
  EXTEND 7 -МАКРОС 3            
           EXTEND 8 - МАКРОС 4            
           EXTEND 9 - МАКРОС 5            
           EXTEND 0 - МАКРОС 6            
             CS+О   - МАКРОС 7            
             CS+Р   - МАКРОС 8            
                                          
                                          
                                          
                                          
           ╜───────┐            
           │ МЕтКИ │            
           └───────┘            
                                
 Вы можете в любых местах текста
поставить  до  четырех  меток  и
впоследствии быстро перемещаться
к ним.                          
                                
Это особенно удобно при редакти-
рования  больших программ, когдаconstantly have to nepeme-
communicate from one place in the text to
other.                         
                                
SETTING MARKS: EXTEND CS+1 - MARK 1    
  EXTEND CS+2 - MARK 2    
  EXTEND CS+3 - MARK 3    
  EXTEND CS+4 - MARK 4    
                                          
MOVE: EXTEND 1 - K MARK 1  
 EXTEND 2  - K MARK 2  
  EXTEND 3  - K MARK 3  
  EXTEND 4  - K MARK 4  
 ┌────────────────────────────────────┐  
  │ SPECIAL EDITING COMMANDS │  
  └────────────────────────────────────┘  
                                          
CS+N - jump to line by ee
      number.  After entering this
      commands will ask you to input
      ty line number.          
                                
CS+M - jump to line by label
                                
 This is a very useful command
allowing you to quickly find
text definition of any mark.
In this case, the following must be done:
catch that the label name should be
at the very beginning of the line and separated
from the command with a tab character.  
                                
                                
                                
                                
                                
                                
 EXtEND CS+Z/EXtEND CS+X - re-
move to next/previous op-
marking;                
CS+Z/CS+X - go to next-
next/previous subroutine;    
                                
Frequently used commands, position
willing to move the cursor away from
one subroutine to another.    
For their correct operation they require
It is necessary for the subroutine to start
got along withdefinition of label and department
Lena from the rest of the text though
would be one empty line.        
                                
CS+R - line duplication.  Co-
       manda is useful when entering
       groups of the same or similar
       xx commands like:       
                                
PUSH AF           
PUSH BC           
PUSH DE           
PUSH HL           
CS+F - Quite specific
team. When it is executed, part
lines before the cursor and the cursor itself
remain in place, and part of the construction
ki after the cursor goes to
next one.                      
                                
EXAMPLE: LABEL1 LD A,B              
 SR D                
LABEL2 █LD A,C              
 SR E                
JRNZ,LABEL3        
                                          
          ( █ - ПОЛОЖЕНИЕ КУРСОРA )       
                                          
   ПОСЛЕ НАЖАтИЯ CS+F ПОЛУЧИМ   
                                
          LABEL1  LD     A,В              
                  СР     D                
          LABEL2 █                        
                  LD     A,C              
                  СР     E                
                  JR     NZ,LABEL3        
                                          
и теперь можно вписать нeдостaю-
щую команду:                    
                                
          LABEL1  LD     A,В              
                  СР     D                
          LABEL2  JR     NZ,LABEL3█       
LD A,C              
 SR E                
JR NZ,LABEL3        
                                          
CS+C - "GLUING" lines. Co-
manda inverse to CS+F.         
                                
     ┌──────────────────────────────┐     
     │BROADCASTING AND LAUNCHING PROGRAMS │     
     └──────────────────────────────┘     
                                          
  To broadcast the program, enter
dit CS+B. After this you can
use the "O" key to enable or reserve
petutb object code recording on
disc (if there is no recording
only text control comes out
for errors).             
 After pressing the "B" key, the
There is no broadcast.               
                                
  If a transmission error occurs,
lation stops in the lower
ee appears on the screen lines
code and line number. If the error
found in the text located in
RAM, then the cursor will jump to it.After this you can press
"B" interrupt the broadcast, or
press "C" to continue working. 
                                
ERROR CODES:                    
                                          
 0.ILLEGAL PARAMETERS;                
 2.MISSING ")";                       
 3.OUT OF RANGE;            
 4.MISSING ",";                       
 5.ERROR IN CONTEXT;                    
 6.RE-DEFINING MARK;           
 7.MISSING "(";                       
 8.ILLEGAL COMMAND;                  
 9.UNDEFINED MARK;                  
A.ASSM COMMAND ATTACHMENT;                 
 B.NO MEMORY;                            
                                          
General source text format.  
                                
Each operator consists of:     
                                
 1.Optional label;        
 2.Commands;                     
 3.Optional comment. 
                                
 Empty lines and lines are allowed
ki containing only kommehta-
riy.                            
                                
  The label may contain letters
upper and lower case and
numbers.  Must start with the letter
you.  Must be separated from co-
nanda with spaces or the symbol ta-
bulation.                        
                                
                                
 The mark is recognized by the first
six characters.                 
                                
 The team can be any of
standard commands Z80or maybe
be an assembler directive (see
below).                          
                                
 Comment can be added
at the end of the command. He must be
separated from the command by a point with a
fifth.                          
                                
 Constants can be represented
Lena Lybo in hexadecimal
de as follows:           
 DECIMAL HEXADECAL  
                                
 10 #0A       
 64 #40       
 32768 #8000      
 255 #FF       
                                
                                
 Literals can be represented
us as follows: "A",":"   
                                
IN THE ASSEMBLER THE FOLLOWING OPERATORS ARE ALLOWED
                                          
 + - addition              
 - - subtraction             
 & - logical "and"        
 !  - logical "or"      
                                
 No operator precedence
is observed, the expression is calculated
is strictly from left to right.      
                                
 Wherever you need co-
mande constants, in their place can-
the expression may be used.
The expression is constructed from the labels and/and-
whether constants separated by opera-
Tori.                         
                                
                                
                                
                                
ASSEMBLER DIRECTIVES:      
                                
ORG NNNN                      
EQU NNNN                      
DEFB NN,NN,NN, ...             
DEFW NNNN,NNNN,...             
DEFM "..........."             
                                
 They operate in a standard way. 
                                
 ASSM NAME - allows you to broadcast      
             programs from disk.           
                                          
And finally, the last command:  
                                
EXTEND CS+B - launch the program from disk    
                                          
╒═════════════ ═══════════════════════════╕
│MASLOV S.V.     347340 ROSTOV REGION.  │
│ VOLGODONSK │
│ GAGARINA STREET 71 │
│ KV. 54 │
╘════════════════════ ════════════════════╛

Share your thoughts about the article