peterb@wn2.sci.kun.nl (Peter Beker ) (06/13/89)
I cannot use the source-files from comp.binaries.amiga. The files in comp.binaries.amiga should be run through the /bin/sh. I have to copy the files to an Atari 1040ST. At home i use Dos2Dos to copy files to the Amiga. If i try to execute the files, i get the error-message 'File not an object module'. Some people say, the binary- files should be runned through /bin/sh and after that through UUDECODE. Neither of them works. Is there anybody who can help me with this problem ?
gilham@polya.Stanford.EDU (Fred Gilham) (06/13/89)
In article <620@wn2.sci.kun.nl> peterb@wn2.sci.kun.nl (Peter Beker ) writes: >I cannot use the source-files from comp.binaries.amiga. >The files in comp.binaries.amiga should be run through the /bin/sh. >I have to copy the files to an Atari 1040ST. At home i use Dos2Dos to >copy files to the Amiga. If i try to execute the files, i get the >error-message 'File not an object module'. Some people say, the binary- >files should be runned through /bin/sh and after that through UUDECODE. >Neither of them works. > >Is there anybody who can help me with this problem ? Possibly you are running into the old problem with hunks being padded, which is the same problem people used to have with doing xmodem transfers onto the amiga. There are programs to fix this (called "CHOP" or something) on old fish disks. The idea is that xmodem always filled out the binary to 128 byte boundaries, while the amiga loader would keep track of how long the hunks were, and notice that the last hunk was too long. This caused it to think the file was screwed up, and it would report the "error". Other than this you might be having trouble with the way you are doing the transfers. You might want to keep the files in shar format and run an unshar program and a uudecode program on the amiga. I do this all the time and it works fine. -Fred Gilham
sjorr@rose.waterloo.edu (Stephen Orr) (06/13/89)
I think I may know what your problem is. The Amiga loaded pulls apart an object module into hunks at load time. Some (read XModem) protocols pad out a transfer to an even multiple of bytes which end up getting tacked on to the end of the file. The Amiga telecom packages know to remove this (chop mode). The Atari probably isn't doing this for you and neither is Dos2Dos (it shouldn't). A pd program called tailrid can be useful in these cases, either that or maybe a more sophisticated protocol (ZModem). Good Luck Stephen Orr { The opinions expressed herein ARE those of my employer... ...I'm self employed! }
sparks@corpane.UUCP (John Sparks) (06/15/89)
In article <620@wn2.sci.kun.nl> peterb@wn2.sci.kun.nl (Peter Beker ) writes: >I cannot use the source-files from comp.binaries.amiga. >The files in comp.binaries.amiga should be run through the /bin/sh. >I have to copy the files to an Atari 1040ST. At home i use Dos2Dos to >copy files to the Amiga. If i try to execute the files, i get the >error-message 'File not an object module'. Some people say, the binary- >files should be runned through /bin/sh and after that through UUDECODE. >Neither of them works. > >Is there anybody who can help me with this problem ? Peter, You really need to tell us EXACTLY the procedure you do to get the file to the amiga. Do you run it thru /bin/sh on a unix machine? do you run it thru UUDECODE on a unix machine? Or do you have programs on your amiga that you are trying? How are you getting the files (ascii or binary at this point?) to your amiga? I have a unix machine at work. I grab the files from comp.binaries.amiga and save them to a file. 1> Then I edit the file to remove the headers (down to and including the --cut me-- line). 2> /bin/sh file 3> uudecode file 4> go home call up unix machine with Diga! using Xmodem binary mode 5> download file 6> run ZOO and unZOO file on my amiga 7> run file And that works for me. I have an Amiga 1000, 512K, 2 floppys. -- John Sparks | {rutgers|uunet}!ukma!corpane!sparks | D.I.S.K. 24hrs 1200bps ||||||||||||||| sparks@corpane.UUCP | 502/968-5401 thru -5406 You are in a maze of twisty little passages, all alike.
sparks@corpane.UUCP (John Sparks) (06/15/89)
In article <816@corpane.UUCP> sparks@corpane.UUCP (John Sparks) writes: >In article <620@wn2.sci.kun.nl> peterb@wn2.sci.kun.nl (Peter Beker ) writes: >>I cannot use the source-files from comp.binaries.amiga. >>The files in comp.binaries.amiga should be run through the /bin/sh. >>I have to copy the files to an Atari 1040ST. At home i use Dos2Dos to Ah, one more thing. After re-reading your message, are you telling us that you can't get it to work after Dos-2-Dos, or that D2D is the only way you can get it to work? If you are trying to copy an ASCII file through Dos-2-Dos you need to append a -A to the command, such as: Dos-2-Dos> copy file to df0:file -A if it's a binary file the -A should not be there. The files from comp.binaries.amiga are ASCII until after you run them thru uudecode, which turns them back into BINARY. -- John Sparks | {rutgers|uunet}!ukma!corpane!sparks | D.I.S.K. 24hrs 1200bps ||||||||||||||| sparks@corpane.UUCP | 502/968-5401 thru -5406 You are in a maze of twisty little passages, all alike.