English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 25 March 2021, 13:00   #1
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
Floppy disk amigaXfer: Fast agentless serial port transfer tool. Bootstrap Amiga w/o floppies.

amigaXfer is an easy to use GUI tool for lightning fast serial-port floppy and file transfers.

http://aminet.net/package/comm/misc/amigaXfer_win32

All Classic Amiga models are supported. All AmigaOS (1.x/2.x/3.x), all Kickstart versions (I have tested 34/37/39/40/45).
All you need is an Amiga, another computer and a serial cable (any null-modem will work, only 3 wires used).

Its main feature is that it does not require special software on the Amiga side, as it uses the kickstart's builtin serial debugger.

The easiest way to get into the debugger and use amigaXfer is via the extra workbench menu when wb is loaded via loadwb -debug.

Additionally, it can be used to bootstrap an Amiga without bootable floppies.

https://www.rvalles.net/bootstrappin...ga-floppy.html

By disabling interrupts and polling the serial port directly, speeds as high as
512kbps are achieved, even on a basic Amiga 500 with its 7MHz cpu clock.

Both floppy images and files can be transferred in both directions.

Download:
http://aminet.net/package/comm/misc/amigaXfer_win32
https://github.com/rvalles/pyamigadebug/releases/

Last edited by admiral; 04 April 2021 at 07:03. Reason: restored aminet, zip reissued.
admiral is offline  
Old 25 March 2021, 15:08   #2
Jope
-
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 40
Posts: 8,411
Super cool.
Jope is offline  
Old 25 March 2021, 16:31   #3
btp
Registered User

 
Join Date: Aug 2017
Location: Greece
Posts: 28
That's just brilliant!
btp is offline  
Old 25 March 2021, 16:46   #4
robinsonb5
Registered User
 
Join Date: Mar 2012
Location: Norfolk, UK
Posts: 982
That's amazing - really cool!
robinsonb5 is offline  
Old 26 March 2021, 06:17   #5
djukon
Registered User
 
Join Date: Apr 2010
Location: 640x512
Posts: 158
Great job, admiral! Thank you so much for providing this to the community .
djukon is offline  
Old 26 March 2021, 07:08   #6
nivam
Registered User

 
Join Date: Nov 2020
Location: Greece
Age: 47
Posts: 61
Thank you Admiral
nivam is offline  
Old 26 March 2021, 12:30   #7
duga
Registered User
 
Join Date: Nov 2010
Location: Sweden
Posts: 488
Very cool.
duga is offline  
Old 27 March 2021, 07:52   #8
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
Thanks for the warm response.

I have since learned people are apparently getting the idea that the hardware hack is necessary to run amigaXfer even floppies available, which is totally wrong (!).

I have also heard some people got the impression it only works with AmigaOS 1.x, which is also not the case.

Thus I have edited the article to try and make it clearer in that regard.

It'd be nice if someone were to actually report they tried amigaXfer in any capacity (e.g. normal use, not necessarily the floppyless method) and it worked (or not).

Last edited by admiral; 27 March 2021 at 07:57. Reason: format
admiral is offline  
Old 29 March 2021, 16:58   #9
Acill
Tech Guru

 
Join Date: Dec 2015
Location: Oxnard, CA
Posts: 185
Love it! had to share this on my site as well.
Acill is offline  
Old 29 March 2021, 22:38   #10
chiark
Needs a life

chiark's Avatar
 
Join Date: Jan 2008
Location: England
Posts: 1,685
Just tried to download this, and your file is being flagged as a trojan by Windows SmartScreen - it matches the signature of Trojan:Win32/Wacatac.B!ml within amigaxfer/amigaxfer.exe.

I've just run amigaxfer.exe through virustotal.com and EVERY engine is flagging it as malicious.

https://www.virustotal.com/gui/file/...1748/detection

Any ideas what's going on?

For now, I STRONGLY advise people to use extreme caution. It could be a false positive, but when 27 engines are saying it's dodgy, well... It's worth taking care!
chiark is offline  
Old 29 March 2021, 23:36   #11
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
Quote:
Originally Posted by chiark View Post
Just tried to download this, and your file is being flagged as a trojan by Windows SmartScreen - it matches the signature of Trojan:Win32/Wacatac.B!ml within amigaxfer/amigaxfer.exe.

I've just run amigaxfer.exe through virustotal.com and EVERY engine is flagging it as malicious.

https://www.virustotal.com/gui/file/...1748/detection

Any ideas what's going on?
Notice it's far from every engine and that they each detect different things. At some point in time, somebody must have written malicious code using the python language, then packaged it into an executable with pyinstaller, which is the most popular open source tool for turning python into binaries. So now a common code pattern in pyinstaller-made executables is detected by some antiviruses.

Unfortunately, this is a common occurrence, and there's not much that can realistically be done, besides telling AV vendors it's a false positive and hope their databases will improve over time.

Refer to https://github.com/pyinstaller/pyinstaller/issues/4633

I do my development work on Linux, and the binaries were built in a clean Win7 vm with no inbound network connectivity, installed from a microsoft ISO for the single purpose of building amigaXfer binaries that work on win7 32bit and higher. This should be a fairly decent standard as far as making binary releases goes.

Ultimately, you do not need to trust the binaries; You can install python, pyserial, wxpython and run amigaXfer from sources. You'll also need the m68k object files, you can copy over from the windows release 'asm' directory, or build yourself from the source with vasm or phxass. A vasm-based Makefile is provided. You can package your own binaries with pyinstaller, too, using the .spec file included in the sources.

Last edited by admiral; 29 March 2021 at 23:38. Reason: .spec file reference moved to the right location
admiral is offline  
Old 30 March 2021, 00:34   #12
chiark
Needs a life

chiark's Avatar
 
Join Date: Jan 2008
Location: England
Posts: 1,685
Thanks! I’ll see if there’s any way to sort this because the false positives seem endemic: I assume the problem is that giving Python admin rights through an installer could (emphasis could!) be an incredibly bad thing to do, hence heuristic scanners all saying “uh oh”...

I did check the source too, that’s the ultimate way of validating, but I couldn’t see the process to make the executable: I’ll do some digging.

Thanks again
chiark is offline  
Old 30 March 2021, 01:03   #13
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
Quote:
Originally Posted by chiark View Post
I did check the source too, that’s the ultimate way of validating, but I couldn’t see the process to make the executable: I’ll do some digging.
If amigaXfer runs correctly from sources (i.e. you have python 3.8+, wxpython, pyserial and the m68k object files in the asm directory, plus you've tested running amigaXfer with python interpreter), and you've got pyinstaller installed, it's possible to do a build like this:

pyinstaller amigaXfer.spec

The .spec file is in the github repository. I only committed it now, but it has not been modified since; It needs to be edited to replace the hardcoded path. I will eventually fix it to not need that, but this is what 1.0.0 was built from.

Last edited by admiral; 30 March 2021 at 01:05. Reason: pyinstaller
admiral is offline  
Old 02 April 2021, 10:21   #14
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
amigaXfer 1.0.1 now available.

https://github.com/rvalles/pyamigadebug/releases/
http://aminet.net/package/comm/misc/amigaXfer_win32

Last edited by admiral; 03 April 2021 at 04:30. Reason: aminet link
admiral is offline  
Old 02 April 2021, 12:50   #15
E-Penguin
Banana

E-Penguin's Avatar
 
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,023
Fascinating writeup on how the floppy-less bootstrap works.
E-Penguin is offline  
Old 02 April 2021, 13:58   #16
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
Quote:
Originally Posted by E-Penguin View Post
Fascinating writeup on how the floppy-less bootstrap works.
Glad you liked it.

I had to edit it several times after publishing, as people misunderstood the floppyless method as the only method (!).
admiral is offline  
Old 02 April 2021, 14:06   #17
fryguy
Registered User
 
Join Date: Aug 2005
Location: Hjo, Sweden
Age: 41
Posts: 873
Really cool!
fryguy is offline  
Old 02 April 2021, 14:45   #18
chiark
Needs a life

chiark's Avatar
 
Join Date: Jan 2008
Location: England
Posts: 1,685
Thanks again for the explanations. This really is excellent, and whilst the diskless boot is only one feature, it’s exceptionally cool
chiark is offline  
Old 02 April 2021, 16:30   #19
admiral
Registered User
 
Join Date: Oct 2018
Location: Dublin / Ireland
Posts: 19
What I need the most is feedback from users. I have heard some reports, but they're really scarce.

Does amigaXfer work for you? Did you test all the tools? What Amiga / kickstart do you have?
admiral is offline  
Old 02 April 2021, 20:06   #20
ovale
Registered User

 
Join Date: Jun 2014
Location: milan / italy
Posts: 159
Great work! If I'm not wrong, pin 46 on the A500 expansion port is _BERR. Maybe it is easier than open the computer.
ovale is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast serial port on a500 GhstWlf support.Hardware 3 20 May 2015 12:16
Easy DIY serial cable for PC to Amiga transfer tesla support.Hardware 0 15 March 2013 17:44
Amiga 500 floppies transfer to MBP 2012 Lion? anglojojo Retrogaming General Discussion 3 18 June 2012 14:34
PortJnr - Clockport fast serial port. Smiley MarketPlace 8 05 July 2007 01:32
Fast serial port cards and TCP/IP (those PPP whatever) Chain support.Hardware 6 20 June 2006 18:32

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.11984 seconds with 12 queries