File Server for the C64 v0.80, Copyright (c) 1994-1996 by Yvo Nelemans


Why did I write this program ?
------------------------------
In 1994 I got a C64 from a friend who wanted it to throw away. The problem 
I faced then was that I didn't have a diskdrive of datacassete anymore. 
Games I had enough on mine PC which I used for the emulators there.
I started to work on this program, work on it went really slow because of 
lack of documentation. But thanks to Philip Zembrod I got a copie of the pages
from the commodore reference manual. At that time I could work on it for
some weeks, but now I've got some time left and got it to work at last.
I've made it cardware, because I like getting lot's of post so if you use
this program just send me a postcard.


What can this program do
------------------------
It can LOAD a file and directory. Also the SAVE part works again. Slow but
working. Added support for .D64 files. Look at the server64.ini file how to
setup the devices. T64 files are supported for the PC file system. You can 
use them transparantly.

You CAN'T send commands.
-Reading the status should work (it always says OK)

This program seems to work correctly on mine 386DX-40 and Pentium 100, 
it should work on different configurations also but I haven't been able to
check this. Warning this program uses a waiting routine which calibrates
it self to 10 microseconds resolution, if your PC is to slow this may mean
that it doesn't work. (I think only a fast 286 can handle it but don't now 
for sure).

This program supports two types of cables. A cable as you used for X1541
or a cable as you used for DISK64E/TRANS64. I've listed the information
to build such a cable below.

I have had some reports that using server64 and an 1541 doesn't seem to 
work I have included an option /noreset which might solve the problem.
If not the problem probaly is the RESET line. Perhaps disconnecting this line
will solve it ?!?


Settings of your parallel port
------------------------------
If you can't change the settings of your parallel port then it's probaly
working in the right mode. For PC's (new 486 and penium) who can chose out 
of different mode the following I found to work (pentium PC)
-Extened mode
-Compatible mode
What doesn't work
-EPP mode
-ECP mode


Example of how to use this program.
-----------------------------------
Setup the SERVER.INI file.
Start your PC
Start your C64
Start SERVER64 on the PC
type LOAD"qix.bin",8 on the C64
and run it.
Or to get a directory you type
LOAD"$",8
Or make a small basic program save it and then reload it.
Wilcard are also suported.
Press ESC to exit SERVER64.

Wilcards
--------
The wildcards work the same way as on an 1541. This means that the 8.3
file naming convention DOS uses is considered one name. so you can't
use two *. one before the . and one after.

Filesystems supported
---------------------
Server64 supports 3 formats. 
-The normal PC filesystem. 
-The T64 files. (using the PC filesystem)
-The D64 files. This is the 1541 filesystem.
The PC filesystem integreatst support For T64 file. The won't show up
if you load a direcotry instead the file(s) inside will be shown.

Runtime error's
---------------
if you use an invalid path the program will abort with an runtime error.


Source
------
The source code is available on request. It consists of pascal sources and
a small piece of assembler(using the integreated assembler of Pascal)
Needed is Borland Pascal 7.0 to compile it.


Windows
-------
It won't work, this program uses the CPU for microsecond timing, so even 
under DOS if you push too many buttons you can screw up the timing so 
don't say I didn't warn you!

Then this important notice
--------------------------
The author shall not be held liable for any direct or indirect damage resulting
from or seeming to result from use of this program.

I'd like to thank the following people for helping me out with this program.
*Philip Zembrod (documentation)
*Jaap Verhoeven (protocol documentation)
*Bernard Schwall (source of his send/receive routines)


To do
-----
*Support for printer.
*command support and easy directory manipulation.
*Full support of D64 format (the stuff is al written only, but the server 
 only using a fraction of it.
*Fastloader support (can somebody send me info on this).

==============================================================================

X1541 CABLE
-----------

The program requires the following adapter cable to be connected
between your parallel printer port (LPT1/LPT2/LPT3/LPT4) and a C64.

IBM Lpt port Male (solder side):   CBM IEEE serial port Male (solder side):
        Ŀ                              _ͻ
Strobe1  Ŀ                        ͼ         ͻ  _____
              14AutoFeed        Data5     1SrqIn  _____
(Data 0) 2Ŀ                                 6Reset
            15(Error)          Clock4     2ĿGround
         3        ____                  ͻ   3    ͼ 
              16Init                    ͼ
         4                                 Atn
              17SelectIn  Ŀ
         5                   C64signal   IBMsignal       Lpt port + 2 
             18                                                      
         6  ĿGround     2 Ground  18..25 Ground                 
             19           3 Atn          1 Strobe      bit 0      
         7                   4 Clock       14 AutoFeed    bit 1      
                      5 Data        17 SelectIn    bit 3      
             25              6 Reset       16 Init        bit 2      
        13              
        


TRANS64/DISK64E CABLE
---------------------

 Sub-D (Male)            DIN (Male)
   |\
   |  \                      ______
  1| | 14                 /      \
   | |                  / 5*  4*   \
   | |                 |            |
   | |                 |    6*   3* |
   | |                 |            |
   | |                  \ 1*  2*   /
   | |                    \______/
   | |
   | |
   | |
   | |
   | | 25
 13| /
   |/

 connection:
          printer-port      C64
 ATN          17             3
 Clock         1             4
 Data         14             5
 ground     22-25            2

You should connect all pins 22-25(PC) with pin 2 (C64) because it's safer.
The printerport plug is a male one which is connected directly with the
printerport of the PC. The C64 plug is a male one.
-----------------------------------------------------------------------------
History
Version Date
<0.64  <05-Feb-96 Lot's of changes didn't document them so
0.65   05-Feb-96  Put in support for .D64 files. Saving was broken
                   Took a long time to fix (SHIT)
0.80    03-Mrt-96  First no beta release. The program is not finished but
                   the majorparts work. (and not only on my own computers!)
                   Rewrote small part for saving again. It now seems to
                   work a bit faster and better.
                  