uip-tool

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

czietz: I don't really understand why you'd like to convert it to gas as installing vasm takes no time at all. But if you feel strongly about that then I'd rather not loose a contributor over that.

Let's move it out of this thread.
czietz
Hardware Guru
Hardware Guru
Posts: 1223
Joined: Tue May 24, 2016 6:47 pm

Re: uip-tool

Post by czietz »

Another question: I assume the binaries you release are build with libcmini for size, right? Which version of libcmini do you use?

In my builds I have some issues when linking with libcmini, e.g., files are only partially downloaded (the Content-Length header is already wrong). Everything works when using MiNTLib, but of course the binary is bigger then.
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

I have some patches to libcmini I yet have to upstream. In the meantime just don't use it :)
czietz
Hardware Guru
Hardware Guru
Posts: 1223
Joined: Tue May 24, 2016 6:47 pm

Re: uip-tool

Post by czietz »

Looks like I found one them myself: ;-)
https://github.com/mfro0/libcmini/issues/32
jonord
Atarian
Atarian
Posts: 9
Joined: Sun Sep 26, 2010 8:28 pm
Location: Sweden
Contact:

Re: uip-tool

Post by jonord »

Just got around to test the latest version on my Falcon. Awesome. Great work! I experienced that the old version was just moderately faster than using Ghostlink over serial and 115200 baud. Now it's blindingly fast!
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

Surely old version wasn't that slow? ;)

Also, bear in mind that if you're using USB drivers then that's at least 30% penality on uiptool performance. Not sure what's going on in the USB driver but even if you're not touching your mouse it slows the system quite badly. It would be great if that could be fixed somehow.
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 122
Joined: Mon Feb 26, 2018 1:47 pm

Re: uip-tool

Post by Perdrix24 »

sqward wrote:Surely old version wasn't that slow? ;)

Also, bear in mind that if you're using USB drivers then that's at least 30% penality on uiptool performance. Not sure what's going on in the USB driver but even if you're not touching your mouse it slows the system quite badly. It would be great if that could be fixed somehow.
It may slow down the transfer rate, but surely not the CPU time that much?

Also Sting and MagxNet conflict with the USB storage driver, when present and configured, file transfers abort then the whole USB susbsystem goes down. There is surely a conflict that needs investigating.

Uip-tool is the only networking I can reliably use with the USB drivers under NetUSBee.
jonord
Atarian
Atarian
Posts: 9
Joined: Sun Sep 26, 2010 8:28 pm
Location: Sweden
Contact:

Re: uip-tool

Post by jonord »

Mind you it was quite some time since I last used Uip-tool, probably the very first versions or so. And with the proper serial drivers Ghostlink isn't that bad, plus it's very convenient to use on the Atari as it shows up as an extra device.

Funnily enough the Ghostlink device shows up in the web browser so I could if I download a file from the PC via the Atari.... :lol:
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

Perdrix24 wrote: It may slow down the transfer rate, but surely not the CPU time that much?
Not sure what you mean. The only way to slow down transfere rate is to eat the CPU time. Not sure what the USB driver is doing but I'd guess it hooks itself up to VBL or 200Hz timer to periodically poll USB hardware.
susher
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 116
Joined: Sat Oct 03, 2015 7:06 pm

Re: uip-tool

Post by susher »

The USB interface is quite CPU intensive as there's no hardware off-load and it's a very simple/cheap system. This is why it won over Firewire, it was slower, slowed the machine (as the CPU had to do all the work) but was cheap.
Perdrix24
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 122
Joined: Mon Feb 26, 2018 1:47 pm

Re: uip-tool

Post by Perdrix24 »

sqward wrote:
Perdrix24 wrote: It may slow down the transfer rate, but surely not the CPU time that much?
Not sure what you mean. The only way to slow down transfere rate is to eat the CPU time. Not sure what the USB driver is doing but I'd guess it hooks itself up to VBL or 200Hz timer to periodically poll USB hardware.
I did some benchmarks, on 68000 the mouse driver takes 10% of the CPU time, while on the 68030 Falcon, it's 5%.

The worse case scenario is having the mouse and keyboard drivers, in addition to usbtool.acc, on a 68000, that resulted in a 21% slowdown of the CPU.
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

Thanks, that's in line with my observation.
User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2346
Joined: Thu Sep 15, 2005 10:01 am
Location: STara Pazova, Serbia
Contact:

Re: uip-tool

Post by calimero »

Maybe stupid question but:

-is there any chance to make uip tool working with Svethlana (from SuperVidel)?
using Atari since 1986.http://wet.atari.orghttp://milan.kovac.cc/atari/software/ ・ Atari Falcon030/CT63/SV ・ Atari STe ・ Atari Mega4/MegaFile30/SM124 ・ Amiga 1200/PPC ・ Amiga 500 ・ C64 ・ ZX Spectrum ・ RPi ・ MagiC! ・ MiNT 1.18 ・ OS X
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

Saulot started working on that.
User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2346
Joined: Thu Sep 15, 2005 10:01 am
Location: STara Pazova, Serbia
Contact:

Re: uip-tool

Post by calimero »

mikro wrote:Very nice, indeed.

I personally use a similar solution (same reasoning - faster dev cycle), mint.prg in AUTO + svethlana.xif + 4-line mint.cnf which sets up IP address and runs a small kind of ftp server. So I can use everything FreeMiNT has a driver for.
Hi Mikro,
can you share this files in single ZIP? :)

Thanks!
using Atari since 1986.http://wet.atari.orghttp://milan.kovac.cc/atari/software/ ・ Atari Falcon030/CT63/SV ・ Atari STe ・ Atari Mega4/MegaFile30/SM124 ・ Amiga 1200/PPC ・ Amiga 500 ・ C64 ・ ZX Spectrum ・ RPi ・ MagiC! ・ MiNT 1.18 ・ OS X
mikro
Hardware Guru
Hardware Guru
Posts: 2200
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: uip-tool

Post by mikro »

Calimero: it's not really very usable - you have to compile the client for Linux, server for mint, it has very spartan command line etc. And I really haven't used it for a while (courtesy of CosmosEx and PARCP-USB).

If you are looking for configuration, mint.cnf was basically just ifconfig + route command with static IPs.
fiveofive
Atari User
Atari User
Posts: 42
Joined: Sun Oct 10, 2004 12:07 pm

Re: uip-tool

Post by fiveofive »

It has been a while since I last exchanged data with uiptool as I did not use a LAN cable anymore for internet.

Maybe it's old news, but I am amazed again! I found setting up a direct connection from Netusbee to a Linux laptop LAN port is very simple. For those who care: network connections -> wired -> edit -> IPv4 settings -> Shared to other computers
I am running Linux mint, but it should be the same for any Ubuntu derivate.

Data transfer works great, just as before via router. Enjoying the new interface a lot. Great work you guys put in there. Thank you very much all involved! Time for watching some Falcon demos now, I guess :)
505 on demozoo
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

I'm glad you liked it. I'm hoping to do more work on the tool after SillyVenture :)
User avatar
Timnaber
Atari maniac
Atari maniac
Posts: 88
Joined: Fri Sep 21, 2018 3:12 pm

Re: uip-tool

Post by Timnaber »

I for one really appreciate this tool.

I have a desk that has both a PC and a Falcon on it. The desk has a keyboard drawer for the PC mouse and Key board. The Falcon sets on top over that drawer. Two monitors. One right in front for the Falcon and one to the side for the PC.

Rarely does one have megs and megs of stuff to transfer. It is usually a file here or a file there, one offs.

Other than a CosmosEX with its shared PC network drive, this is the easiest of all transfer methods. Whether moving data by floppy, USB, SD, CF or any other media, nothing beats running a program on each computer and away you go. The speed on the new version looks to be triple the speed of the previous version and connection to the switch is really fast now.

Thank you and keep up the good work.
ST: TT030 10/32m; Falcon 030 14m(2); MSTe 4m; MST 4m(3); MST 4m AdSpeed; 1040STf 4m(4); ST 4m(2); MF 44 w/SCSI2SD(3); MF 30(3); MF30 w/Drem

8-Bit: 320XE w/Ultraspeed+/FIXXL; 320XE; 130XE w/Ultimate 1m; 600XL w/Ultimate 1m; 800XL w/Omnimon XL/Boss XL/Omniview XL; 800 w/Incognito; 800 48K; Black Box Enhanced(3); 1050 Super Archiver II; 1050 Happy(2); XF551 360K(2); XF551 720K; HD Tower 480m
neanderthal
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Jul 10, 2016 10:58 pm

Re: uip-tool

Post by neanderthal »

And while we are on the giving credits thing.
Liked the sources and the fact that the README.md stated the environment used.(saves the time of quessing)
So it took me something like just 2-3 days of having a working one with my own netcard and a day or so to fix a interrupt buffering rout.
The old 3c509 I am using has a rather small SRAM buffer,2k or something? , got over-rides so had to ram-buffer packs.

Havent gotten around to test all the functions with debugging and so on but just to pop in and out data from the file system with 'plain' TOS
is very nice since at times when one doesnt want to wait for the whole mint boot thingy.(its all sort of alpha still tho)
And the speed? approx 200kB/s in both directions on stock Falcon with my primitive ISA board adapter prototype.
I quess the inbuffer handling eats up parts of the inspeed in comparison to NetUSBee?

If I ever get a paypal account ,yours will get at least money for a sixpack..or 2 ;)
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

Happy I could help :)
jd
Captain Atari
Captain Atari
Posts: 383
Joined: Thu Nov 09, 2006 12:38 pm
Location: Ruislip, UK

Re: uip-tool

Post by jd »

revisited this tool again after having plenty of quarantine time!

Maybe i'm missing something obvious but using v279 is there anyway to have multiple selections so I can transfer in bulk not singular from Atari > PC ?
User avatar
qq1975b
Atari God
Atari God
Posts: 1110
Joined: Tue May 15, 2012 9:15 am
Location: Barcelona

Re: uip-tool

Post by qq1975b »

This is a GREAT tool. I find it very, very useful.

Thank you!


sqward wrote:Hello

Some time ago I've started working on a tool that would allow me to quickly upload files over ethernet (netusbee) to my Atari. This was mainly meant to speed up my development iteration but in the end I've decided to add web interface for the benefit of general public. It doesn't require Sting or MiNT. It's a self-contained binary with uIP embedded TCP/IP stack with DHCP. Run it on your Atari and point your PC browser to the IP address you'll see on the Atari screen. As far as I can tell it works on all TOS machines (tested on ST, TT, Falcon and CT60).

Image

It supports drag&drop of files from your PCs desktop.

It's largely unfinished. I'm hoping someone will help me get HTML part to the point it will be a genuinely useful tool.

Code and a binary can be found here:
git repo: https://bitbucket.org/sqward/uip-tools
binary: https://bitbucket.org/sqward/uip-tools/downloads/

Hope someone will find it useful.

uIPtool tutorial

Trying to learn...
User avatar
sqward
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 133
Joined: Wed Mar 12, 2008 4:47 pm
Location: London

Re: uip-tool

Post by sqward »

jd wrote:revisited this tool again after having plenty of quarantine time!

Maybe i'm missing something obvious but using v279 is there anyway to have multiple selections so I can transfer in bulk not singular from Atari > PC ?
There's no straight forward way to arrange that over HTTP and a Browser. I plan to add FTP support at some point (but first I'll have to address some bugs).
jd
Captain Atari
Captain Atari
Posts: 383
Joined: Thu Nov 09, 2006 12:38 pm
Location: Ruislip, UK

Re: uip-tool

Post by jd »

sqward wrote:
jd wrote:revisited this tool again after having plenty of quarantine time!

Maybe i'm missing something obvious but using v279 is there anyway to have multiple selections so I can transfer in bulk not singular from Atari > PC ?
There's no straight forward way to arrange that over HTTP and a Browser. I plan to add FTP support at some point (but first I'll have to address some bugs).
Cool many thanks, and superb util btw
Post Reply

Return to “Applications”