64NET v1.56 Extended function set
---------------------------------
Dated:  25 May 1994
Updated a bit on 7 Sept 1994

Purpose:  To allow FAST usage of the features of 64NET for applications
     designed with 64NET in mind.

Calling Convention:

     SendChar "X"
     SendChar "Function Id"
     {
     	Send Parameters
     }
     JSR 64NET_Serve_Loop
       (Called loop in the 64NET wedge currently)
   

     Check A for a nonzero value (or ST)

Functions Available:

     "V" - Returns 64NET version of server in form vXX.YY where x and y
	   are the cpu registers.
	   No parameters.
     "R" - Read a block of memory from a file (at the current position)
           Parameters:  low byte-high byte of start address and 
                        low byte-high byte of end address.

     "W" - Write a block of memory to a file (at the current position)
           Parameters:  low byte-high byte of start address and 
                        low byte-high byte of end address.

     "P" - Set current position in file
          Parameters:  "I" if setting input file
                       "O" if setting output file
			 (ie the files set with CHKIN/CHKOUT)
                       32bit (least significant byte first) value for new
                       file position.
PGS: These commands provide a handy way to utilise virtual memory, by being able
to set the file position, and then reading or writing a slab of memory.  This 
will allow upto a 2GB virtual memory file.  
PGS: WARNING: The size of the file may not accurately reflect its true size if you
use lots of file positions etc.. also these functions are not 100% error trapping 
and may crash the server if you try to write to position 2GB on a 40MB HDD for
example.



An example:

Purpose: To retrieve the 64NET version number and display it to the user
	   in the form Vmajor.minor 

	LDA #"V"
	JSR $FFD2
	LDA #"X"
	JSR SENDCHAR
	LDA #"V"
	JSR SENDCHAR
	JSR LOOP
	TYA
	PHA
	LDA #$00
	JSR $BDCD    ;BASIC Print line number routine
	LDA #"."
	JSR $FFD2
	PLA
	TAX
	LDA #$00
	JSR $BDCD
	RTS
