home *** CD-ROM | disk | FTP | other *** search
/ Brotikasten / BROTCD01.iso / atari / siocopy.txt < prev    next >
Text File  |  1994-07-13  |  3KB  |  70 lines

  1. You should have as a minimum the following files:
  2.  
  3.         siocopy.cpp     the c++ source code
  4.         siocopy.exe     the executable
  5.         readme          this file
  6.  
  7. This program will allow the user to connect the atari disk drive to
  8. the parallel port (using a simple cable) and copy the atari disk to the 
  9. IBM harddisk.  I have included the source code to allow others to
  10. modify or use portions of this code if they so desire.  
  11.  
  12. This a the beta release (I have only tested this software on my 
  13. computer) and also the final release on my part.  This software 
  14. works on my IBM compatible 486DX running at 33Mhz.  This software
  15. will not run on my 286 running at 12Mhz.  It is possible that this
  16. program will only work on my machine, but here it is anyway.
  17.  
  18. Print out the program "siocopy.cpp", the instructions on how to 
  19. build the cable are there.  The voltage levels coming from the 
  20. IBM parallel port are TTL levels, the same as the atari SIO port.
  21. There is no chance of anything being damaged by an improperly 
  22. build cable (even if you short the pins to ground).
  23.  
  24. Once you have built the cable, cannot the 25-pin male d-shell to the 
  25. primary parallel port of the IBM computer (also called LPT1:).  This
  26. program uses the i/o mapped 0x3fa parallel i/o control port.  If you 
  27. want to use a differnet parallel port, you will need to replace all
  28. instances of a read or write to 0x3fa.  I did not use: #define PIO 0x3fa 
  29. statement because the Borlandc inline assembler does not allow this type
  30. of global constant.  Next, connect the 13 pin Molex connect to the atari
  31. disk drive.  Do not daisy chain anything else to the disk drive 
  32. SIO port (especially not the atari computer).  
  33.  
  34. Power up the IBM pc and the atari disk drive.  Insert a disk you wnat
  35. to copy into the atari drive.  Use "test.sd" as the filename for this example.  
  36. Run the siocopy.exe program as follows:
  37.  
  38.         (1) single density disks
  39.         siocopy  test.sd 
  40.  
  41. or 
  42.         (2) enhanced density
  43.         siocopy test.ed -e
  44.  
  45. I use the .sd and .ed extension for single density and enhanced density,
  46. respectively.  I also tried to implement the double density format, but
  47. I don't understand how the disk is formatted.  It appears that the 
  48. first 4 sectors are single density and the rest are double density.
  49. Perhaps someone who is familar with the different disk formats can 
  50. update this program.
  51.  
  52. I also allow the user to enter a different serial i/o rate (other
  53. than 19200 bits per second).  There may be some slight differneces
  54. in atari drives that may require the user to play with the serial rate
  55. to find the most relaiable speed.  Choose a serial i/o rate from 
  56. about 18250 to 19400.  Any SIO rate above or below these values will not
  57. work at all.  For example: siocopy myfile.sd -s 18750
  58.  
  59. I have included all of the source code, so if you have a problem
  60. fix it yourself.  I have not documented this program up to my usual
  61. standards, but I think everything is fairly straight foreward.  If 
  62. you really feel like you must contact me, you can do so until August
  63. 6, 1994 using my internet address: munoz@utdallas.edu
  64. After that date, I do not know what my internet address will be.
  65.  
  66. I hope you find this little hack useful,
  67.  
  68. Michael Munoz
  69. July 13, 1994
  70.