################################################################# Assembly.txt
====================================================================== general
Assembly files are in text format, editing is possible with the built-in
editor or with ED. Source data is sent/received with system data ('=' wait 
prompt) which holds editor and assembler parameters. 

To get the end address for storing the object code to VC or serial, an invalid
instruction can be entered just before the END pseudo-op. The assembler will
then issue an *I* error with the address. The produced code is not affected.
 
Before any operations can be done, Editor must be initialized, except when
using ED, which writes system data for editor on exit.
- CTRL-E
- Specify from (F:) and to (T:) addresses for text buffer. This addresses will
  then be used for load/save operations.

======================================================================= serial
---------------------------------------------------------------------- receive
- Monitor:<G>B004, Menu:CTRL-R-A, ED:CTRL-L-S
- '======' shows up, waiting for system data and source
- Activate a .ASM file, select Send, confirm with YES, NO aborts
- System data file .ASH is updated with actual file size and lines count and
  prefixed to the source. If no .ASH file exists, it is created with default
  values for assembler parameters:
  - E000 Editor low limit
  - EFFF        high
  - F800 Symbol table from
  - FAFF              to
  - F000 Object code from
  - F7FF             to 
- '((((((' shows up, receiving
- Wait until received, then OK in confirm dialog
- 'RB-FROM xxxx TO xxxx' displays from and to addresses
- Returns to Editor on successful load, to monitor otherwise. If called from
  ED, always returns to ED.

------------------------------------------------------------------------- send
- Monitor:<G>B1F0, Menu:CTRL-S-A, ED:CTRL-S-S
- '======' shows up, waiting for receiver to send system data and source
- Activate a .ASM file, select Receive, confirm with YES, NO aborts
- The original file is copied to .BAK.  
- '))))))' shows up, sending
- Wait until sent, then OK in confirm dialog
- The system data is extracted from the received data and stored in a separate
  file .ASH to make the file editable.
- 'SB-FROM xxxx TO xxxx' displays from and to addresses
- Returns to Monitor except it was called from ED, it goes to ED in this case 

=============================================================== VC-1541 editor
Load and save are both initiated from the VC-1541 menu
- Monitor:<G>D800, Menu:V-VC 
- VC menu appears
------------------------------------------------------------------------- load
- Select L-LO
- Enter filename (MUST be 'A'-type)
- Load address and filetype are shown, SHIFT-CONTROL returns to menu
- CR, file is loaded
- VC menu is shown again
- Exit with SHIFT-CONTROL
- Exits to Editor if load was successful, to monitor otherwise 
------------------------------------------------------------------------- save
- Select S-SA
- Enter filename
- Filetype 'A-ASM/EDIT' must be selected
- File is saved
- VC menu is shown again
- Exit with SHIFT-CONTROL
- Exits to monitor

=================================================================== VC-1541 ED
ED uses VC functions in call mode, it has it's own load/save menu. Additional
to load and save (V), directory (CTRL-D), file info (CTRL-F) and command 
(CTRL-C) are available.
When leaving ED, it updates start/end addresses and line count in system area
so the assembler can be invoked or the built-in editor can be used. 
The line length is restricted to 19 characters for assembly files
------------------------------------------------------------------------- load
- CTRL-L
- Load menu T)APE S)ER V)C appears
- Select V)C
- Enter filename
- Loadaddress and filetype are shown, cancel with SHIFT-CONTROL
- CR, file is loaded, shown by '((((((' prompt
- Returns to ED
------------------------------------------------------------------------- save
- CTRL-S
- Load menu T)APE S)ER V)C appears
- Select V)C
- Enter filename
- File is saved, shown by '))))))' prompt
- Returns to ED
############################################################# EOF Assembly.txt
