home *** CD-ROM | disk | FTP | other *** search
/ Assembly 1994 - The 3rd Phase / ASMROM94.mdf / c64 / pdatafnl / pdata.doc < prev    next >
Text File  |  1995-01-21  |  10KB  |  222 lines

  1. PDATA DOCUMENTATION
  2. ~~~~~~~~~~~~~~~~~~~
  3.  
  4. Release version 3.51 Final, January 1995
  5. (Yes, the FINAL release version of PData EVER!)
  6.  
  7. Copyright ⌐ 1993-1995 Deadbeat/The Sharks
  8.         (C64 end, optimized cable schematics, documentation)
  9. Copyright ⌐ 1993 Hude
  10.         (Amiga end)
  11.  
  12. PLEASE NOTICE THAT THE AMIGA EXECUTABLE FILE IS NOW CALLED "XDATA"!
  13. (100% compatible with PData, read "FUTURE" for more information...)
  14.  
  15. 1. Introduction and features
  16.  
  17. PData is an utility for transfering both binary and text files between
  18. the C64/C128 and the Amiga. It's about 25 times faster than a null modem
  19. cable (The maximum BPS rate on a standard C64 is 2400), and it even
  20. leaves your Amiga's serial port free for other applications.
  21.  
  22. You can transfer up to 255 files both directions in multitransfer mode.
  23. PData is easy to use and it won't let you down like most others. ;-)
  24.  
  25. 2. Distribution and disclaimer
  26.  
  27. This archive may be freely distributed as long as all files are included
  28. intact. PD libraries should only ask a nominal fee for copying it. PData
  29. may not be used for commercial purposes without a written permission from
  30. the author(s). When applying for your permission, you should include a
  31. reasonable contribution.
  32.  
  33. The author(s) can't be held liable for any damage directly or indirectly
  34. caused by the use or misuse of this manual and/or program it describes.
  35.  
  36. The latest version of PData can always be found from The Sharks' boards.
  37. Internet users will most likely find the latest version from nic.funet.fi
  38. at C64 utilities directory (I think it was at /pub/cbm/c64/utilities/).
  39. If you're an IRC addict, you might find it convenient to /DCC CHAT with
  40. DemoBot on #C-64... Besides the latest version of PData (XData from now
  41. on, read "FUTURE" for more information), you can leech loads of classic
  42. C64 demos... (Ain't that nice?)
  43.  
  44. 3. Requirements
  45.  
  46. The C64 end of PData will work in every C64/C128. The Amiga end of PData
  47. will work in every model, but Kickstart v37.175 (v2.04) or above is
  48. required for utilizing every function. A special cable between the C64
  49. and the Amiga is required. It can be built by following the schematic
  50. in the next chapter. The following things are required for the cable:
  51.  
  52.         - One card edge connector (C64 user port)
  53.         - One male D-25 connector (Amiga parallel port)
  54.         - Suitable lenght of flat cable (Width 12 or more)
  55.         - A soldering iron and some solder
  56.  
  57. Additionally, you'll need the following files for your Amiga...
  58. (I guess this shouldn't be too big problem as these are system files!)
  59.  
  60.         - Devs/Parallel.device
  61.         - L/Port-handler
  62.         - Libs/Asl.library
  63.         - Libs/Locale.library
  64.  
  65. 4. PData cable schematics
  66.  
  67. C64 user port              Amiga parallel port
  68.  
  69. Pin      Description       Description      Pin
  70.  
  71. B        FLAG*             STROBE           1
  72. C        PB0               DATA 0           2
  73. D        PB1               DATA 1           3
  74. E        PB2               DATA 2           4
  75. F        PB3               DATA 3           5
  76. H        PB4               DATA 4           6
  77. J        PB5               DATA 5           7
  78. K        PB6               DATA 6           8
  79. L        PB7               DATA 7           9
  80. M        PA2               BUSY             11
  81. 8        PC*               ACK*             10
  82. N        GND               GND              17
  83.  
  84. 5. Using PData C64
  85.  
  86. Using PData C64 is fairly easy. You'll first be prompted for your work
  87. drive. Any device between 8 and 11 will do. Then you can select whether to
  88. handle your files as binary or text. If you select binary, the files will
  89. be transfered without any alterations. Selecting text mode will cause all
  90. files be translated from PETSCII to ASCII and vice versa. The next step is
  91. to decide whether to send or receive files. At this point, you can press
  92. "," to access SEQ file handler, using which you can print out or view
  93. sequential files. Once you've made your decision, you can press F1 to
  94. toggle between normal/zip mode. If zip mode is on, PData will add those
  95. 1! 2! 3! and 4! appearing in front of each zipped file automatically and
  96. you only need to worry about the fourteen last chars. If you start
  97. receiving in single mode, you'll be prompted whether to process files as
  98. PRG or SEQ. If a file exists, you'll be given a chance to regret. You can
  99. use "$" (Default) to see directory, "@" for DOS commands and "?" to see 
  100. free blocks. Pressing "=" at all times (Except in multi transfer menu)
  101. will take you one step "backwards" in the menu. In zip mode you can
  102. decide which files to overwrite individually. Pressing F3 will take you 
  103. to multi transfer menu. Press F1 to send files, F3 to receive files, F5 
  104. for directory and F7 for main menu. After pressing F1, you can use Y/N to
  105. select files. Pressing return will quit or start transfer, depending if
  106. you selected any files or not. After pressing F3, you can enter target
  107. filenames. Leave one blank line to start transfer. Multi transfer can
  108. handle 255 files both directions. It handles only binary PRG files and
  109. never overwrites it's target files. At ALL times, pressing restore will
  110. clear the channel, initialize vectors and restart program. If you're
  111. in doubt of something, just try it. There's no way the program could crash.
  112.  
  113. 6. Using XData Amiga
  114.  
  115. xdata <<s/r/?> <path><filename>>
  116. (s = send / r = receive / ? = help)
  117. Example : xdata r dh1:dl/c64_rules.txt
  118.  
  119. Pressing CTRL+C will HOPEFULLY abort transfer. Use it in combination with
  120. RESTORE to gain maximum effect. If you have a multifacecard (MFC) in your
  121. Amiga, remember you must use the XData.CFG in S: directory to re-route PAR:
  122. into PIT:. Edit the file so that it reads PIT:<cr>. If you're not a hard
  123. drive user, I suggest you receive the files into RAM: if you don't have
  124. lots of spare time to waste (See missing features to see why).
  125.  
  126. 7. General tips
  127.  
  128. Configuring your regular directory tool for PData makes your life much
  129. easier. Once you've made the first transfer after turning your computers
  130. on, you can ignore the C64's on-screen prompts about setting the other end
  131. in send/receive mode. This is because once the port-handler has been
  132. activated, PData can't "lose" anything. When transfering the PDATA.C64 to
  133. the C64, you MUST use the filename "PDATA 3.5-SHARKS".
  134.  
  135. To transfer the file, try a null modem cable. Schematics are supplied below.
  136. You'll need a RS-232 adapter for the C64 and a suitable terminal program
  137. for both ends. If, however, you should experience problems in doing so,
  138. e-mail the address kemu@zombie.oulu.fi and beg for help! :)
  139. (It's Mysdee/Canus*Patrol's e-mail address, not mine, so... He just
  140. volunteered to help all the people in need... ;)
  141. (You could of course e-mail my very self, but I rarely read my e-mail!)
  142.  
  143. 8. Null modem cable schematics
  144.  
  145. Pin     Description       Description       Pin
  146.  
  147. 2       TXD               RXD               3
  148. 3       RXD               TXD               2
  149. 4       RTS               DCD               8
  150. 6       DSR               DTR               20
  151. 7       GND               GND               7
  152. 8       DCD               RTS               4
  153. 20      DTR               DSR               6
  154.  
  155. 9. Bugs and missing features
  156.  
  157. C64 end:   - None known, although there has been some reports.
  158.              (Mostly with multifiletransfers...)
  159.  
  160. Amiga end: - Sometimes refuses to work if a filename ends with "+".
  161.            - Refuses to work if a filename contains any spaces.
  162.            - Receive buffer missing.
  163.              (... the list is endless, you wouldn't have the time!)
  164.  
  165. PData doesn't send a header containing a filename. This is NOT a bug.
  166. Until a PC version of PData appears, it will stay like this. I didn't want
  167. a filename header to be installed in the first place, because we need to
  168. determine a common format first. We'll probably end up in the old 8+3
  169. filename format because of the great (Hmmm...?) MS-DOS. PData can be used
  170. to transfer data between two C64's or two Amiga's with minor cable
  171. modifications. Hardware wizards may figure this one out on their own,
  172. full cable schematics will be released