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