
  -     " "
  

		                         
				U  N  I  D  O  S

		                


	                                  

			     BIOS  MONITOR

			    -  01 Jun 1989 -

    1.  

            
 600,  :
-  601 - 8   (  MC6800);
-  602 -    (  MC6820);
-  607 -  (  MC6845);
-  609 -   (  I8272A);
- 64    DRAM;
- 4    PROM;
-  64     PROM,   
   8 Kb.

      UNIDOS      :
- BIOS -  / ,  UniDOS_BIOS  Graphics_BIOS
- MONITOR
- UNIDOS -  

       ,    
  UNIDOS.

    :         
  ,      , 
         , 
   SWI.       
           
      .

            SWI,
   ,     (interrupt).  
   :
$ 00 - 7F  -   UNIDOS
$ 80 - FF  -  (     )

            P, A, B  X,
       X.    
    .

        (IRQ  NMI)     
       INDOS ( $0000)  .
       ,     .
:    INDOS,     
         !     
  NMI    -   
- ,        .

         $0100,       
 .     $0100.    
      $0100     
SP ( ) -   .

        MIK,     
-16.    UNIDOS      MSDOS 
  -16.

              .
         .   
   () .      
    .         .

    2.   

    2.1.    :

$0000	   -  INDOS
$0001	   - equipment: $80 - UniDOS kernel, $40 - Graphic BIOS, $20 - Basic,
	     $10 - Pascal, $01 - UniDOS shell
$0002	   - configuration: $80 - 601A, $02 - drive B, $01 - drive A present

$0004	   - SWIC
$0005	   - SWIB
$0006	   - SWIA
$0007-0008 - SWIX
$0018-001F -  :
     $0018 -   
     $0019 - 
     $001A - 
     $001B - 
     $001C - 
     $001D - 
     $001E - 
     $001F - 
$0000-007F -    UNIDOS
$0080-00FF -   BASIC  PASCAL
$0100-BFFF -   RAM
$C000-DFFF -   ROM 8 KB  RAM
$E000-E5FF -    UNIDOS
$E600-E6FF - I/O 
$E700-EFFF -    UNIDOS
$F000-FFFF - ROM     (  )

 $C000-DFFF (   ROM)    
   UNIDOS.
    :       
         !

    2.2.      ROM:

              ROM,
    EPROM 2764.       
 27128,            8 (
   64 ).       :
-      UniDOS_BIOS
-      Graphics_BIOS
-      BASIC,
-           p- (
    Pascal.

             :
 +$0		-  $A55A (    27128,
			         -
			   $5AA5);
 +$..+$9		-  (8 );
 +$A..+$C		-    ;
 +$D..+$F		-   ;
 +$10		-     3 .    1
			       2  . 
			    ,     0.

          ROM,       
 $00.

    2.3.   

         :

    0 -          $C000-$DFFF
    1..6 -     (  )
    7 -   RAM 
    8 -       (EPROM 2764)
    9 -       (EPROM 2764)
    A -       (EPROM 2764)
    B -       (EPROM 2764)
    C -       (EPROM 27128 -  )
    D -       (EPROM 27128 -  )
    E -       (EPROM 27128 -  )
    F -       (EPROM 27128 -  )

    :        
          : INT 2F.
            !

    3.       UNIDOS

        1      
    SWI,   ,   
.      ,   
      .      
$0000           .  
     ,     ROM,  
.          ,   
 (INT 00 - INT 2F)      ( INT 30 - INT 7F).

    3.1.   BIOS

INT 00	-  

     ,     ROM     
            ""  "" 
       (RESMAGIC);

INT 01	-  reset ,        
        ;

INT 02	-  NMI ;

INT 03	-  IRQ ;

INT 04	-     (BREAK);

INT 05	-      - 50 Hz (PERIODIC);

INT 06	-      - 1 Hz;

INT 07	-  critical error
	  OUTPUT: A - b7 = 1 - disk device
		      b7 = 0 - char device
		      b6-0 - error code
		  B - (if disk device)
		      b3-2 - area: 0 - DOS, 1 - FAT, 2 - Dir, 3 - Data
		      b1-0 - operation: 0 - init, 1 - read, 2 -write
		      b4 - ignore valid
		      b5 - retry valid
		      b6 - fail valid
		  X - pointer to INT_40 table (if disk device)
	   INPUT:
		  A - response: 0 -ignore, 1 - retry, 2 - abort, 3 -fail

INT 08	-   

           -   9
     ,       (FDDPARMS),  
         $C000-$DFFF !   
     :

     0 = $af - step rate & head unload time
     1 = $03 - head load time & non-dma mode
     2 = $02 - sector type 512 bytes
     3 = $09 - last sector on track
     4 = $2a - gap1
     5 = $ff - dtl
     6 = $50 - gap2
     7 = $f6 - fill byte
     8 = $80 -         20
	       .    .

INT 09	-    IRQ  

INT 0A	-      -    :
	    - 1 ,  - ASCIIZ 
	   $FF -    ( )
	          $C000-$DFFF !


INT 0B	-   ( ULAN)

	        -  11 , 
	         ,   
	      $C000-$DFFF !   
	   :

     0 = $28 - ,     
	         (autorepeat);
     1 = $0 - ,    ;
     2 = $20 - ,      .
     3 = $13 - PAUSE (ctrl-S)
     4 = $03 - BREAK (ctrl-C)
     5,6 -          replace
     7,8 -          insert
     9,10 -          non-read

INT 0C	-   ( ULAN)

          / -   3 ,
           (RSPARMS),   
        $C000-$DFFF !    :

     0 - : $7 - 1200, $3 - 2400, $18 - 4800, $07 - 9600
     1 - : 7  8
     2 -  $00 - even + 1 stop, $FF - odd + 1 stop, $80 - no + 2 stop

INT 0D	-  internal use
     :    ,      
     !

INT 0E	-  internal use
     :    ,      
     !

INT 0F	-  internal use
     :    ,      
     !

INT 10	-     (  1 ms)
	   EXPORT: A - $FF    

INT 11	-    
	   EXPORT: A -  

INT 12	-      (SCRINIT),     
	      $80        ,
	          .  ,
	              
	          (   
	   INT14).     ,      
	             
	   .

	   IMPORT:  A = 0 -  25  * 40 
			    B = 0 - / ( )
			    B <> 0 -  		[601A]

		    A = 1 -  80*200  16 
		    A = 1 -  160*200  16 		[601A]

		    A = 2 -  160*200  4 
		    A = 2 -  320*200  4 		[601A]
			    B -  (0..3)

		    A = 3 -  320*200  2 
		    A = 3 -  640*200  2 		[601A]

		    A = 4 -  25  * 80 		[601A]
			    B = 0

		    X -   ,   0  4   ,  
			 $80  $84       (
			  INT14)

	   EXPORT: 

INT 13	-  
	   IMPORT:  
	   EXPORT:   -  (   INT12)
		    B - 
		    X -    

INT 14	-     (CURSOR)
	   IMPORT: 
	   EXPORT: A - 
		   B - 
		   X -    

INT 15	-    
	   IMPORT: A - 
		   B - 

INT 16	-    
	   IMPORT: B -  (601 A)

INT 17	-    FDD  (FLOPPY)
	   IMPORT:   = 0 - reset
		    A = 1 -   
		     = 2 -   
		    A = 3 -  (seek)
		    A = $FF - motor shut down (601 A)
		    X -     
			1b - drive
			1b - track
			1b - head
			1b - sector
			1w -   
	   EXPORT:   -   :
			bit 0 - write protected
			bit 1 - overrun
			bit 2 - bad CRC
			bit 3 - bad record
			bit 4 - bad address field
			bit 5 - seek error
			bit 6 - timeout
			bit 7 - bad FDC

INT 18	-        (RSIN)
	   IMPORT:  
	   EXPORT:  -  
		   C - error

INT 19	-        (RSOUT)
	   IMPORT:   -   
	   EXPORT: 

INT 1A	-     (CASSIN)
	   IMPORT:  
	   EXPORT: X - 
		   BA - 

INT 1B	-     (CASSOUT)
	   IMPORT:  X - 
		    BA - 
	   EXPORT: 

INT 1C	-      (GETTIME)
	   IMPORT: 
	   EXPORT: B - 
		    - 
		    -   

INT 1D	-      (SETTIME)
	   IMPORT: B - 
		    - 
		    -   
	   EXPORT:  = $FF -  

INT 1E	-      (GETDATE)
	   IMPORT: 
	   EXPORT:  - 
		    - 
		    - 

INT 1F	-      (SETDATE)
	   IMPORT:  - 
		    - 
		    - 
	   EXPORT: A = $FF -  

INT 20	-      STDIN (GETCHAR)
	   IMPORT:  
	   EXPORT:  -  

INT 21	-      STDIN (GETLINE)
	   IMPORT:  X -   
		    B -   ,      1  -
	   EXPORT:  A -    

INT 22	-      STDOUT (PUTCHAR)
	   IMPORT:   -   
	   EXPORT:  

INT 23	-      STDOUT (PUTLINE)
	   IMPORT:  X -   
	   EXPORT: 

INT 24	-        (PUTDECW)
	   IMPORT:  X -   
		    B -  
	   EXPORT:  

INT 25	-        (PUTHEXB)
	   IMPORT:   -   
	   EXPORT:  

INT 26	-      STDPRN (PRNCHAR)
	   IMPORT:   -    (   2)
		    B - :
			0 - 
			1 - 
			2 - 
	   EXPORT: A - 

INT 27	-    STDAUX
	   IMPORT: A - 
		   B - 
		       0 - read;
		       1 - write
		       2 - status;
		       3 - init;
	   EXPORT: A - error

INT 28	-      8  * 8  
	   IMPORT: A, B - 
	   EXPORT: BA - 

INT 29 -     16    16   (DIVU)
	   IMPORT: X - 
		   BA - 
	   EXPORT: X - 
		   BA - ,  BA = $FFFF,  : division by zero

INT 2A	-   ()   (ALLOC)
	   IMPORT:  B  -  :
		      0 -    ,
		      1 -     (2 ),
		      2 -      (4 ),
		      3 -      (8 ),
		      4 -     (16 ),
		      5 -    32 ,
		      6 -    64 ,
		      7 -    128 ,
		      8 -     (256 )
		    X  -   
	   EXPORT:  X = 0  -  
		    X <> 0 -    

INT 2B	-   ()   (DEALLOC)
	   IMPORT:  X -     (    
			 )
	   EXPORT:  X -     

INT 2C	-      (MARK_RESIDENT)
	   IMPORT:  
	   EXPORT:  
	   (       HIMEM,  
	    .)

INT 2D	-     (MOVE)
	   IMPORT:  - 
		       1 - source 
		       2 - target 
		    - 
	   EXPORT:  -   

INT 2E	-       (GET_VECTOR)
	   IMPORT:    -   
	   EXPORT:  B  -  (   4 )
		    X  - 

INT 2F	-       (PUT_VECTOR)
	   IMPORT:    -   
		    B  -  (   4 )
		    X  - 
	   EXPORT: 

INT 30 - call MONITOR

INT 31 - call BASIC interpreter

INT 32 - 

INT 33 -  (play)

INT 34 -  (draw)

INT 35 - PRESERVE MEMORY
	 IMPORT: BA - size (must be less than returned by INT36)
	 EXPORT: X - start address (base) of preserved memory
		 BA - actual size, check against 0 for error

INT 36 - GET FREE MEMORY
	 EXPORT:  BA - size (limited by SP)
		  X - start address (base)

INT 37 - CHAIN INTERRUPT -         
	  ,        
	   chain  (  SWIC, SWIX, SWIB  SWIA,
	      ,      
	  -   ).       
	 ,         
	    ,         
	   BX.      .

	  IMPORT: B -  (   4 )
		  X - 
		  SWIC, SWIX, SWIB, SWIA -   
	  EXPORT:   


     3.2.  :

INT 38 -      (TERMINATE)
	   IMPORT: 
	   EXPORT: 

INT 39 - SYSTEM CALL
	IMPORT: X - command line ptr
	EXPORT: A - error code

INT 3A - exit to UniDOS SHELL

INT 3B - ARGC (PARAMCOUNT)
	EXPORT: A - argc

INT 3C - ARGV (PARAMSTR)
	IMPORT: A - parameter no
		X - buffer (max 81 bytes)

INT 3D - get error text
	IMPORT: A - error no
		X - buffer (max 81 bytes)

INT 3E - 

INT 3F - call Pascal Y-code interpreter (internal use)
	IMPORT: A - handle
	EXPORT: B - $FF if error in .PGM file
		    else error level

INT 40 - /   
	   IMPORT:  - :
			1 - 
			2 - 
		    -    5 
			1w - 
			1b -  (0-, 1-, ...)
			1w -  
	   EXPORT: A -   

INT 41 -   UniDOS BIOS (VERSION)
	   IMPORT: 
	   EXPORT:  - 

INT 42 - Get first entry
	   IMPORT:  A - required attr mask
		    B - invalid attr mask (bit 7 - disable wildcard)
		    X - parameters
			1w - FindFirst & FindNext table ptr
			1w - dir entry buff.
			1w - path
	   EXPORT:  A - error code

INT 43 - Get next entry
	   IMPORT:  X - parameters
		    1w - FindFirst & FindNext table ptr
		    1w - dir entry buff.
	   EXPORT:  A - error code

INT 44 - Set current drive
	   IMPORT:  A - new drivre
	   EXPORT:  A - error code

INT 45 - Get current drive
	   IMPORT:  nothing
	   EXPORT:  A - current drive

INT 46 - Set current directory
	   IMPORT:
		   X - buffer pointer (64 bytes)
	   EXPORT:  A - error code

INT 47 - Get current directory
	   IMPORT:  A - drive
		    X - buffer pointer (64 bytes)
	   EXPORT:  A - error code

INT 48 - create subdirectory
	   IMPORT:  X - name pointer
	   EXPORT:  A - error code

INT 49 - remove directory
	   IMPORT:  X - directory name
	   EXPORT:  A - error code

INT 4A - open file
	   IMPORT:  A - open mode (1 - ro, 2 - wo, 3 - rw)
		    X - parameters
			1w - path/name
			1w - buffer pointer
	   EXPORT:  A - error code
		    B - file handle

INT 4B - create file
	   IMPORT:  A - file attribute
			 0 - normal
			 1 - read-only
			 2 - hidden
			 4 - system
		    X - parameters
			 1w - path/name
			 1w - buffer pointer
	   EXPORT:  A - error code
		    B - file handle

INT 4C - read file
	   IMPORT:  A - file handle
		    X - parameters
			1w - buffer pointer
			1w - number of bytes
	   EXPORT:  A - error code
		    X - number of bytes read

INT 4D - write file
	   IMPORT:  A - file handle
		    X - parameters
			1w - buffer pointer
			1w - number of bytes
	   EXPORT:  A - error code
		    X - number of bytes written

INT 4E - close file
	   IMPORT:  A - file handle
	   EXPORT:  A - error code

INT 4F - delete file
	   IMPORT:  X - file name
	   EXPORT:  A - error code

INT 50 - LSEEK
	   IMPORT:  A - file handle
		    B - method
			0 - from the begining
			1 - from current pos
			2 - from the end of file
		    X - buff pointer (4 bytes)
	   EXPORT:  A - error code
		    X - new position

INT 51 - File size
	   IMPORT:
		    A - file handle
		    X - buff_addr (4 bytes)
	   EXPORT:  size in buff

INT 52 - Disk free space
	   IMPORT:
		    A - drive
		    X - buff_addr
	   EXPORT:  space in buff

INT 53 - Return file position
	   IMPORT:
		    A - handle
		    X - buffer pointer (4 bytes)
	   EXPORT: A - error code
		   X^ - file position


INT 54 - Get/set file attributes
	   IMPORT:
		     X - file path name
		     B - file attributes
		     A=0 - get attributes
		     A=1 - set attributes
	   EXPORT:   A - error

INT 55 - Get/set file date&time
	   IMPORT:
		     B - file handle
		     X - buff_addr
			 1w - packed date
			 1w - packed time
		     A=0 - get
		     A=1 - set
	   EXPORT:   A - error

INT 56 - Rename file
	   IMPORT:
		     X - table
			 1w - first name
			 1w - second name
	   EXPORT:   A - error

INT 57 - ReadLn from text file
	   IMPORT: A - file handle
		   B - buffer length
		   X - buffer address
	   EXPORT: A - error

INT 58 - Return EOF
	   IMPORT: A - file handle
		   B - mode: 0 - binary, 1 - text
	   EXPORT: A - error code
		   B <> 0 - EOF

INT 59 -   (internal use - move file handle)


INT 5A - 

INT 5B - expand file handles max 32 handles
	    IMPORT: A - _handles

INT 5C - media_check
	IMPORT: A - drive
	EXPORT: A - error code

INT 5D - Install block device driver
	   IMPORT:
		     B - page
		     X - header addr
	   EXPORT:   A - error

INT 5E - Install char device driver
	   IMPORT:
		     B - page
		     X - header addr
	   EXPORT:   A - error

INT 5F - 


     3.3.  :

INT 60 - Allocate graphic screen
	EXPORT:   X - screen address

INT 61 - disable graphic screen

int 62 - internal use  (reserved)

INT 63 - return graphic screen base & size
       EXPORT: X - screen base
	       BA - size

INT 64 - set font page
       IMPORT:	A - bits coressponding to fontpages
		B - memory_page (MSB of 32 bytes font addr) , if several
		    fontpages used, subsequent memory pages used

INT 65 - return current coordinates
	 IMPORT: X - pointer to 4 bytes buffer

INT 66 - graphic plot command
	 IMPORT: A - command: 1 - move, 2 - plot, 3 - point, 4 - circle,
		 $80 - rel
		 X - pointer to coordinate couple (x,y)

INT 67 - edit line
	IMPORT: A - display flag, if non zero default is displayed
		B - max length
		X - buffer pointer, [X] must be 0 for empty default
	EXPORT: A - length of line

INT 68 - reserved
INT 69 - reserved
INT 6A - reserved
INT 6B - reserved
INT 6C - reserved
INT 6D - current screen max rows & cols
	 EXPORT: A - cols
		 B - rows

INT 6E - player
	 IMPORT: X - pointer to music - 3-byte structures:
		     note, duration, pause in units of 7 msec
		     and 1-byte structures: FE-F8 tember, FF - end

INT 6F - play subroutine
	 IMPORT: A - note: 0 - pause, 1-72
		 B - tembre: 1-7
		 X - duration in units of 1.536 msec

INT 70  INT 7F  - reserved



     3.4.      MONITOR

      (.  )      (). 
             
.
               
  -8.        
.        {RETURN}.  {}
    .   -  4
 ,       ,  A5  
 00A5.     4 ,    
.  {}     . 
 -        ,   
  -   .     ,
   [ {}]      
  .  {}       
   {RETURN}.    :


0..9, A..F			-  ;

{}G			-      ;
				  : F000G {RETURN}

{}.{}I		-      . 
				     ,    .
				  : I {RETURN}

U				-   
{}.{}U		-     ;
				  : F000U {RETURN}
					   F000UUUU {RETURN}
					   F000.F030U {RETURN}

{1}<{2}.{3}M	-   1    
				  2  3;
				  : 1000<1300.15FFM {RETURN}

{}.{}		-       ;
				  : F000.F200O {RETURN}

P				-    8 
{}.{}P		-      ;
				  : F000P {RETURN}
					   F000PPPP {RETURN}
					   F000.F030P {RETURN}

R				-     
				   ;
				  : R {RETURN}

{1}<{2}.{3}V	-     1  
				   2  3,   
				       ,
				        
				  ;
				  : F000<F010.F017V {RETURN}

{}.{}W		-      ;
				  : F000.F200W {RETURN}

{}="{}                -    (   )
{}={.}[ {.}]	-       ;
				  : F300:8F BA AB A4 A8 AD 31 {RETURN}
					   F300:"2 {RETURN}
					   F300:8F BA AB "3 {RETURN}

?				-     


    4.   - 

      $E600-$E6FF    8 ,   
 $20 .         
 Device Select 0-7.        
(Read  Write).

    4.1.  DS0

     DS0     607.   :
$E600 (W) -  ,
$E601 (RW) -  .

    4.2.  DS1

     DS1    PIA 602.   :
$E628 (RW) - DRA,
$E629 (RW) - DRB,
$E62A (RW) - CRA,
$E62B (RW) - CRB.
    :
 		

PA    in       ASCII      
CA1   in         
CA2   out        CAPSLOCK
PB0   out       LAT/-  
PB1   out       LORES/-MIDRES
PB2   out       COLOR/-B&W
PB3   out         MIDRES
PB4   out         MIDRES
PB5   out       GRAF/-TEXT
PB6   out         
PB7   in          
CB1   in       50 Hz
CB2   out      

    4.3.  DS5

     DS5         .

    4.4.  DS6

     DS5      - .
  :
$E6C0 (W) -  (4 )    :
	     0 -  -RESET
	     1 -  TC
	     2 -  drive select
	     3 -  motor on
$E6D0 (R)  -    609;
$E6D1 (RW) -    609.

    4.5.  DS7

     DS7       ROM.   :
$E6F0 (RW) -  (4 )    .

:      .  ( 
 )   -    
     .

    5. 

    5.1.  
3U1

                                                     
  +  $00$10$20$30$40$50$60$70$80$90$A0$B0$C0$D0$E0$F0
                                                     

  0  NULDLE SP 0  @  P  `  p                 

  1  SOHDC1 !  1  A  Q  a  q                 

  2  STXDC2 "  2  B  R  b  r                 

  3  ETXDC3 #  3  C  S  c  s                 

  4  EOTDC4 $  4  D  T  d  t                 

  5  ENQNAK %  5  E  U  e  u                 

  6  ACKSYN &  6  F  V  f  v                 

  7  BELETB '  7  G  W  g  w                 

  8   BSCAN (  8  H  X  h  x                 

  9   HT EM )  9  I  Y  i  y                 

  A   LFSUB *  :  J  Z  j  z                 

  B   VTESC +  ;  K  [  k  {                 

  C   FF FS ,  <  L  \  l  |                 

  D   CR GS -  =  M  ]  m  }                 

  E   SO RS .  >  N  ^  n  ~                 

  F   SI US /  ?  O  _  o DEL                 

2U0

    5.2. 

3U1
    
    	    	    	    	    	    	    	    	    	    	    	    	    	    	    	    	    
      Esc  	F1  	F2  	F3  	F4  	F5  	F6  	F7  	F8  	F9    F10    F11    F12    Home   End    Ins  
    	    	    	    	    	    	    	    	    	    	    	    	    	    	    	    	    
    


    
    	!    @   ?  #   +  $   "    %    ^   =  &   :  *   /  (   _  )     _   I  +   V  |                          
    	    	    	    	    	    	    	    	    	    	    	    	    	      Del     Reset 
    	1   	2   	3   	4   	5   	6   	7   	8   	9   	0   	-    =   .  \    	    	    	    

	 Q   ;  W	 E	 R	 T	 Y	 U	 I	 O	 P	 ~					
  Tab													  Enter 	   ^   
	     ,                                                        `    				

  	   A	   S	   D	   F	   G	   H	   J	   K	   L	   :	   "      {   (  }   )               
    Ctrl 	  	  	  	  	  	  	  	  	  	  	  	  	    <     >   
  	  	 	 	 	 	 	 	 	 	  ;	  '       [      ]                 
  
  	       Z      X      C      V      B      N      M      <      >      ?      	                    
     Shift                                                                              Shift       Caps    v	
  	                                                 ,     .     /     	                    
  
	       										      
	       										      
	       										      
	       
2U0

    5.2.1. - 

     -      $00/000  $BF/191,
   ASCII    (.   ).

    5.2.2.   (, )

       ()     
 $C0/192  $FE/254,   .
3U1
	  
	  		                           
	                       shift control
	  		                           
	  
	  	   Esc	      $1B/027$1B/027$1B/027
	  
	  	   F1	      $C9/201$D5/213$E1/225
	  
	  	   F2	      $CA/202$D6/214$E2/226
	  
	  	   F3	      $CB/203$D7/215$E3/227
	  
	  	   F4	      $CC/204$D8/216$E4/228
	  
	  	   F5	      $CD/205$D9/217$E5/229
	  
	  	   F6	      $CE/206$DA/218$E6/230
	  
	  	   F7	      $CF/207$DB/219$E7/231
	  
	  	   F8	      $D0/208$DC/220$E8/232
	  
	  	   F9	      $D1/209$DD/221$E9/233
	  
	  	   F10	      $D2/210$DE/222$EA/234
	  
	  	   F11	      $D3/211$DF/223$EB/235
	  
	  	   F12	      $D4/212$E0/224$EC/236
	  
	  	   Tab	      $ED/237$EE/238$ED/237
	  
	  	Backspace     $7F/127$7F/127$EF/239
	  
	  	  Enter       $C0/192$C0/192$F0/240
	  
	  	Left_arrow    $C1/193$C5/197$F1/241
	  
	  	Right_arrow   $C2/194$C6/198$F2/242
	  
	  	Down_arrow    $C3/195$C7/199$F3/243
	  
	  	Up_arrow      $C4/196$C8/200$F4/244
	  
	     Home (s-Left)   $C5/197$C5/197$F5/245
	  
	     End (s-Right)   $C6/198$C6/198$F6/246
	  
	   PageDown (s-Down) $C7/199$C7/199$F7/247
	  
	     PageUp (s-Up)   $C8/200$C8/200$F8/248
	  
	  	 Delete       $F9/249$F9/249$F9/249
	  
	  	 Insert       $FA/250$FA/250$FA/250
	  
	  	 Lat/      $FB/251$FB/251$FB/251
	  
	  	 CapsLock     $FC/252$FC/252$FC/252
	  
	     Pause (s-Space) $FD/253$FD/253$FD/253
	  
	     Break (c-Space) $FE/254$FE/254$FE/254
	  
2U0
           .    
     .  $FF/255  .

    6.    

_NO_ERROR	=	0
_BAD_CMD	=	1
_INV_DRV	=	2
_WRT_PROT	=	3
_ADDR_ERR	=	4
_DTA_ERR	=	5
_GENERAL_ERR	=	6
_INV_SECTOR	=	7
_NO_DEVICE	=	8
_BAD_DESCR	=	9
_FAT_ERROR	=      10
_INV_PATH	=      11
_INV_DIR	=      12
_NO_HANDLE	=      13
_ACC_DENIED	=      14
_FILE_OPEN	=      15
_INV_HANDLE	=      16
_DISK_FULL	=      17
_FILE_LOST	=      18
_INV_NAME	=      19
_DIR_FULL	=      20
_DIR_EXIST	=      21
_CUR_DIR	=      22		;atempt to delete current dir
_DIR_NOT_EMPTY	=      23
_BAD_POSITION	=      24
_INV_FUNCTION	=      25
_NOT_DISK_FILE	=      26
_TOO_MANY_DRVRS =      27

_EOF		=     200
_RESERVED_CLU	=     201
_BAD_CLU	=     202

_INV_NUM_PARMS	=	150
_FILE_TOO_LONG	=	151

    7.    :

    $07 - bell
    $08 - backspace -     
    $09 - tab -       8 
    $0A - linefeed -       
    $0C - formfeed -        ( )
    $0D - carriage return -       
    $18 - cancel -     
    $1B - escape -         
    $1 - (gotoxy) -       
	   ,   $20,   
	    : $1 $28 $25 -    8 , 5 .

    8.  :

 (address) -     ,  601   
       65536 ,    $0000  $FFFF;

 (byte) -   8 ,   1   ,  
      ,        256  ;

 (bit) -    ,    0  1;

 (vector) -    ,   
      ;

 (word) -   16   2 ,      
      65536  ;

 (interrupt) - ,   - IRQ, NMI   -
     SWI.         -
        SWI,    ,   
     ;

 (kilobyte) -  1000 ,    ,
     - 2^10 , 64   65536  2^16 ;

 (prompt) -     ,   
          ;

 (register) -     :  - A 
     B,  - X,   - P,    - SP  
      - PC;

 (string) -   ,      $00;

 (pointer) -    ,  ;

  (hex digit) -       16,
        0  9   A  F;


