Warlocks AmigaBasic Transfer Program
Oh, Well
This is a Rather stupid Serial Transfer-program written in AmigaBasic
(yuch!)
Since so many UAE users whine about a way to move files to their old
A500 and so on, but dont have anything but their WB disks to help
them and no friends in sight with CrossDOS etc. *cry*
I wrote this to stop the Whining (but if you actually use it *gasp*
please send me a mail at 'warlock@nvg.ntnu.no' and tell me)
Whell this is a solution how to send some small files to your incredible
real thing called Amiga500 (but since AmigaBasic is so incredibly stupid
(ofcourse it is, its a Microsoft program) you can only send ASCII / HEX
files over the Serial Port so we have to make the Binaries to HexFiles
first)
And btw IMPORTANT *flash flash and so one* the hexfile cant be bigger than
32767 bytes (that means the binary cant be bigger than 16383 bytes) because
the limitations of some of the seperating strings running in AmigaBasic.
My suggestion is to transfer transdisk and/or some program like CrossDOS
etc. (AExplorer if you are lucky to have Cloanto's Amiga Forever) and then
Forget this program ever existed....
Well, enough said... *blah blah blah*
How To Use It:
- On your UAE (with Serial support) you can either put in the files,
or insert the adf downloaded from http://amiga.nvg.org/warlock
(or if you prefer, write the files yourself (they isn't on more than
aprox 25-30 lines)
- On the Real Thingie (A500) Fire up your favourite Extras disk and start
AmigaBasic (What do you mean you deleted it yesterday because you
realised it was a Microsoft product?) and write the Receive program
(26 lines) provided both on the adf and in lha (and probably somewhere
under http://amiga.nvg.org/warlock as pure text)
-
When you have done so send over the 'hex->bin' file (which is an ASCII
file which AmigaBasic can read) With the Send (ABasic) program
-
Then you can transfer any bin (smaller than 16383 bytes) to a HEX file
Send it over (guess who to use Send and Receive) and transfer it back
to a bin by using the 'hex->bin' basic program again :)
Important:
Due to limitations in AmigaBasic a "out of memory" error might occur
when using the hex->bin program with large hexfiles (the length of some
strings in ABasic was never ment to be as huge as 16-32k ;) )
the solution is to use a file split program to cut up the bin (don't split
the hex-file), convert to hex, transfer them over, convert back to bin, and
join them with the command "join <filename> <filename> (up to 15 files)
TO (or AS) <newfile> "
I recomend bin-shards on aprox 4k (eventhough
i believe the programs could handle 5-6k shards)
I strongly recomend that you make all "New files" to ram:<something> to
avoid loss of bytes (which in extreme causes locks the program, and you must
reboot) then you can copy it wherever you like afterwards...
Hmm, have i forgot something now? Probably...
Contact me at:
warlock@nvg.ntnu.no
Also visit: http://amiga.nvg.org/
View the source code (oh well, AmigaBasic files saved as ASCII ;) )
Still have problems? take a look in the FAQ
Download:
With a small program called "Asplit" I splited transdisk in 3 shards and sent it
over to my A500 (using WarTrans) where i joined the 3 shards again with the join-command
Please send questions, inquiries and comments on these webpages to
kolla@nvg.ntnu.no or
warlock@nvg.ntnu.no