home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / hard / hack / frame.lha / FrameGrab / Getpar.readme < prev    next >
Encoding:
Text File  |  1997-02-17  |  1.3 KB  |  33 lines

  1. Getpar.
  2. Getpar is intended for use with the FrameGrabber project.  However if you
  3. find a different use for it then thats OK.
  4. Getpar is a quick and dirty hack up of code that brings in a specified number
  5. of bytes and stores them at a memory address.
  6. To use Getpar with the FrameGrabber software simply move the program into
  7. RAM:
  8. On an A1200 with a 68030 @ 40MHz, 128k is moved in 1/2 a second.  On an
  9. unexpanded A600 it takes about 4 seconds.
  10. Without this bit of junk on the A1200 the transfer takes about 4-5 seconds 
  11. (depending on what the system is doing! can be as low as 2 secs.)
  12. And on the A600 it takes about 6 seconds.
  13. So I use this program all the time!
  14. Getpar was written in C and compared to a version which could be written
  15. by hand in 68K it is quite slow :-(
  16.  
  17. Getpar can be executed from CLI :-
  18.  
  19. Getpar <address> <bytes>
  20.  
  21. address is a safe area in memory.  The software doesn't care where it puts
  22. the data so beware!
  23.  
  24. bytes is the ammount of data to be moved.  If this is left out the default
  25. is 131072 (128k the ammount inside the FrameGrab)
  26.  
  27. As I said Getpar uses the hardware directly.  There is no checking to test if
  28. the port is already in use and the program wont 'take over' the port. So
  29. dont have anything running in the background that uses the parallel port.
  30. If you have a better program than this then send me a copy!
  31. See grabber.txt for other stuff!
  32.  
  33.