Internal Falcon Ethernet controller

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., [ProToS], lp, Moderator Team

mghodge
Atariator
Atariator
Posts: 17
Joined: Tue Aug 14, 2012 12:10 am

Internal Falcon Ethernet controller

Postby mghodge » Sat Nov 14, 2015 6:26 am

This project started out as a "I wonder if I can do it" challenge to myself. Two years later I've got the first working prototype. The adapter plugs directly into the Falcon's expansion port and provides an RJ11 jack in place of the joystick-b port. I chose to do it this way so that no cutting or permanent modifications would be needed to the Falcon. Just yesterday I finally got 16-bit DMA working between the Falcon and the RTL8019AS. This is using STiNG and the EtherNE drivers. I tested some FTP transfers over the local LAN using LITCHI and couldn't measure any appreciable speed increase though. If nothing else I've learned a great deal from the endeavor about IP, ARP, ICMP, ISA buses, 68000 coding, and the Falcon's maddening "emulated 68000" expansion bus. It would be neat to get interrupts working, but that may be above my abilities on the software side. Hardware wise, just a couple of jumpers to the CPLD could have it hooked up.

DSC_0080.JPG
You do not have the required permissions to view the files attached to this post.

User avatar
catmando
Atari God
Atari God
Posts: 1007
Joined: Tue Jan 24, 2006 9:56 pm
Location: London, UK

Re: Internal Falcon Ethernet controller

Postby catmando » Sat Nov 14, 2015 8:45 am

Looks good
Atari Falcon Tos 4.04 | 14mb | IDE CF 2GB
Atari STE Tos 1.62 | 4mb | HxC Slim SD 8GB
Atari STE Tos 1.62/2.06 | 4mb | Floppy A-B Mod | IDE SD 4GB
Atari STFM
Android Devices (Running Hataroid and SToid)

Atari Forum Wiki - Use it before asking

User avatar
shoggoth
Nature
Nature
Posts: 979
Joined: Tue Aug 01, 2006 9:21 am
Location: Halmstad, Sweden
Contact:

Re: Internal Falcon Ethernet controller

Postby shoggoth » Sat Nov 14, 2015 10:35 am

Ah! Nice project! And it brings back some memories for me : I started doing the exact same thing 10-15 years ago, as a "I wonder if I can do it"-project :) I made a prototype, but I never dared to try it in a real machine. I also used the RTL8019, and I highly doubt my card would do anything but to fry the machine!

Document the card well, release the sources for your drivers, and I bet someone will add interrupts later on!

Nice work, card looks really nice, DMA and everything. Mechanical solution looks *genius*.

Next - production in batches of millions!
Ain't no space like PeP-space.

Dal
Administrator
Administrator
Posts: 4178
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Internal Falcon Ethernet controller

Postby Dal » Sat Nov 14, 2015 12:38 pm

Very elegant solution.
Mega"SST" 12, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

EvilFranky
Atari Super Hero
Atari Super Hero
Posts: 870
Joined: Thu Sep 11, 2003 10:49 pm
Location: UK
Contact:

Re: Internal Falcon Ethernet controller

Postby EvilFranky » Sat Nov 14, 2015 2:02 pm

Look really good! Well done.


dbsys
Captain Atari
Captain Atari
Posts: 419
Joined: Fri Aug 31, 2012 6:11 am
Location: Germany

Re: Internal Falcon Ethernet controller

Postby dbsys » Sat Nov 14, 2015 3:32 pm

Brilliant idea and great work.

Do you have any plans to make this prototype a "product" other Falcon users can get from you?

cyberish
Atari maniac
Atari maniac
Posts: 93
Joined: Mon Dec 17, 2007 9:18 pm

Re: Internal Falcon Ethernet controller

Postby cyberish » Sat Nov 14, 2015 3:54 pm

Holy cow… - looks GREAT! - Give it to the people :-)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12789
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Internal Falcon Ethernet controller

Postby wongck » Sat Nov 14, 2015 4:06 pm

[smilie=greencolorz4_pdt_12.gif] Nice "wonder if it can be done" project :cheers:
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

MM41
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Sun Jun 28, 2015 2:36 pm
Location: France

Re: Internal Falcon Ethernet controller

Postby MM41 » Sat Nov 14, 2015 4:11 pm

Nice card, good work!
It's possible to view a picture of the joystick side port ? (without RJ11 cable)

instream
Nature
Nature
Posts: 173
Joined: Mon Aug 03, 2009 9:08 am
Location: Göteborg, Sweden
Contact:

Re: Internal Falcon Ethernet controller

Postby instream » Sat Nov 14, 2015 8:04 pm

Excellent project! :D The "I wonder if I can do it" kind of spirit is just what made me and my brother start the EtherNat project and then the SuperVidel.

hencox
Atarian
Atarian
Posts: 9
Joined: Thu Jul 18, 2013 4:34 pm
Location: Göteborg, Sweden
Contact:

Re: Internal Falcon Ethernet controller

Postby hencox » Sat Nov 14, 2015 8:18 pm

Cool board! :D A few months ago I was thinking of making such a board, because my ct60 is broken and the cartridgeport as well, so there was no way to get reasonably fast ethernet in my falcon anymore. But you beat me to it :D

mghodge
Atariator
Atariator
Posts: 17
Joined: Tue Aug 14, 2012 12:10 am

Re: Internal Falcon Ethernet controller

Postby mghodge » Sat Nov 14, 2015 9:05 pm

MM41 wrote:Nice card, good work!
It's possible to view a picture of the joystick side port ? (without RJ11 cable)


DSC_0095s.jpg


It should be noted that the alignment of this prototype is off a little. There is just enough room for the RJ45 and the LED column on the next rev.
You do not have the required permissions to view the files attached to this post.
Last edited by mghodge on Sun Nov 15, 2015 11:06 pm, edited 2 times in total.

User avatar
paul92706
Atari God
Atari God
Posts: 1470
Joined: Mon Apr 25, 2011 4:28 am
Location: Orange, CA

Re: Internal Falcon Ethernet controller

Postby paul92706 » Sat Nov 14, 2015 11:07 pm

looks very clean! great job there!
Atari Falcon CT60/CTPCI 14MB+ 512mb ATI9250 + NetUSBee
Atari Falcon030 CF 4gb + NetUSBee+ 14MB Ram
Atari TT030 2meg STRAM/16meg TTRAM + Nova Adaptor +Maxtor SCSI HD + DaynaPort Pocket SCSI

mghodge
Atariator
Atariator
Posts: 17
Joined: Tue Aug 14, 2012 12:10 am

Re: Internal Falcon Ethernet controller

Postby mghodge » Sun Nov 15, 2015 3:15 am

So I found the stats display on Litchi and got some better results.

Receiving 2MB file:
Cartridge: 41,500 B/s
Expansion: 91,500 B/s

Sending same file:
Cartridge: 12,300 B/s
Expansion: 12,400 B/s

So the results are actually pretty good for receive. More than double the speed. Sending is odd though. Why are both so slow?

User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2310
Joined: Thu Sep 15, 2005 10:01 am
Location: STara Pazova, Serbia
Contact:

Re: Internal Falcon Ethernet controller

Postby calimero » Sun Nov 15, 2015 7:48 am

Very nice project! Much better looking than NetUSBee ROM port (if you have free CPU expension slot).

btw you compare speed cartridge speed is from NetUSBee ROM port?
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

Dal
Administrator
Administrator
Posts: 4178
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Internal Falcon Ethernet controller

Postby Dal » Sun Nov 15, 2015 9:07 am

That's an RJ45 port, not RJ11 by the way.
Mega"SST" 12, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

User avatar
ICS
Moderator
Moderator
Posts: 483
Joined: Sun Apr 28, 2002 12:26 am
Location: .de

Re: Internal Falcon Ethernet controller

Postby ICS » Sun Nov 15, 2015 9:25 am

Looks awesome, but...
My joypad B port is used to connect the Screenblaster to the Falcon.
Is there a possible solution for your card with leaving the joypad port intact?
Or maybe a "Version B" for people that need the joypad port...

Thanks for considering it!

User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2310
Joined: Thu Sep 15, 2005 10:01 am
Location: STara Pazova, Serbia
Contact:

Re: Internal Falcon Ethernet controller

Postby calimero » Sun Nov 15, 2015 11:46 am

ICS wrote:Looks awesome, but...
My joypad B port is used to connect the Screenblaster to the Falcon.
Is there a possible solution for your card with leaving the joypad port intact?
Or maybe a "Version B" for people that need the joypad port...

Thanks for considering it!

why ScreenBlaster need Joystick port? Is it only used for powering ScreenBlaster with 5V?
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: 111
Joined: Wed Mar 12, 2008 4:47 pm
Location: London
Contact:

Re: Internal Falcon Ethernet controller

Postby sqward » Sun Nov 15, 2015 5:23 pm

mghodge: With very low effort you could convert my tool to use your device. This should yield some better speeds.
http://www.atari-forum.com/viewtopic.ph ... 7ba75dc161

joska
Hardware Guru
Hardware Guru
Posts: 4424
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: Internal Falcon Ethernet controller

Postby joska » Sun Nov 15, 2015 7:11 pm

calimero wrote:why ScreenBlaster need Joystick port? Is it only used for powering ScreenBlaster with 5V?


It is used to control the ScreenBlaster's adjustable oscillator.
Jo Even

VanillaMiNT - Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

mghodge
Atariator
Atariator
Posts: 17
Joined: Tue Aug 14, 2012 12:10 am

Re: Internal Falcon Ethernet controller

Postby mghodge » Sun Nov 15, 2015 11:25 pm

The speed tests are comparing to the EtherNEC Cartridge port adapter for ISA cards (the card has the same chip on it)
http://hardware.atari.org/ether/

As for not using the Joy-B port, I can't see anywhere else that would not require cutting up a Falcon.

User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2310
Joined: Thu Sep 15, 2005 10:01 am
Location: STara Pazova, Serbia
Contact:

Re: Internal Falcon Ethernet controller

Postby calimero » Wed Nov 18, 2015 10:57 pm

mghodge wrote:So I found the stats display on Litchi and got some better results.

Receiving 2MB file:
Cartridge: 41,500 B/s
Expansion: 91,500 B/s

Sending same file:
Cartridge: 12,300 B/s
Expansion: 12,400 B/s

So the results are actually pretty good for receive. More than double the speed. Sending is odd though. Why are both so slow?

I just notice strange behaviour using Falcon030 16MHz, Litchi, plain TOS, STing, Hydra (NetUSBee):

If files are smaller than 1MB than download speed is around 60KB/s (up to 70KB/s).
If files are larger than 1MB than speed is around 24KB/s.
and I try 7MB file got only 8KB/s!!

What could be the problem? (I try dozen of files and only size does matter)

Uploading is always around 18KB/s, files size does not matter.
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
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2456
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece
Contact:

Re: Internal Falcon Ethernet controller

Postby christos » Wed Nov 18, 2015 11:25 pm

I think that's probably a software issue, either litchi or sting. IIRC I used to get better speeds with ethernec, mintnet and aftp, I believe joska has created a ready to copy mint setup for the falcon that might be helpful.

User avatar
Rajah Lone
Captain Atari
Captain Atari
Posts: 454
Joined: Wed Aug 07, 2002 12:27 pm
Location: Lyon / France
Contact:

Re: Internal Falcon Ethernet controller

Postby Rajah Lone » Thu Nov 19, 2015 12:51 am

calimero wrote:If files are smaller than 1MB than download speed is around 60KB/s (up to 70KB/s).
If files are larger than 1MB than speed is around 24KB/s.
and I try 7MB file got only 8KB/s!!

- Litchi tries to download/upload the file entirely in RAM to avoid writing on the disk during the transfer. It warns you in the console window if it can't allocate the required memory and will have to do it by parts. Also, Litchi is a GFA program, C coded would be quicker, my goal is to have more convenience and security than quickness. There are some fixes in the changelog about the TCP/IP layer usage: better have the latest version of Litchi.
- The TCP/IP layer is also important: try to set a better timing in the STING.CPX and you can allocate more RAM for STING I/O buffers.


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 3 guests