nfg.forums

NFG Forums => SIG X68000 => Topic started by: famiac on September 27, 2016, 08:34:17 AM

Title: Interest Check: Network Cards
Post by: famiac on September 27, 2016, 08:34:17 AM
Hey all,

I may be prototyping five Neptune-X v0.4 boards in the near future based on some schematics found in the nfg archive. Is anybody interested? If so, i can give a ballpark price estimate per board. Keep in mind that you will have to find an NE2000 compatible network card to use this board, which is less than ideal. But it seems to me like a better idea than shelling out $600 for a nereid. (Why are those things so goddamn expensive anyway?)
Title: Re: Interest Check: Network Cards
Post by: kamiboy on September 27, 2016, 06:25:02 PM
The Nereid cards also have USB support built in, right? As well as providing RAM expansion. In that case the price makes sense.
Title: Re: Interest Check: Network Cards
Post by: Martin8bity on September 28, 2016, 01:07:21 AM
Sounds interesting. I would be interested. I have some experience with electronics, but not too much with X68000 yet.
Title: Re: Interest Check: Network Cards
Post by: elmer on September 28, 2016, 01:53:30 AM
I'd like to get some kind of high-speed link to the X68000 for development, so I'm definitely interested in a board if you make them.

Unfortunately, I don't really have the electronics experience, or I'd just put one of these ...

http://www.waveshare.com/ft245-usb-fifo-board-mini.htm

... on a board with a 5V CPLD or discreet logic like the Neptune-X, and you'd have something for really fast file transfer.
Title: Re: Interest Check: Network Cards
Post by: famiac on September 28, 2016, 03:43:13 AM
Quote from: kamiboy on September 27, 2016, 06:25:02 PM
The Nereid cards also have USB support built in, right? As well as providing RAM expansion. In that case the price makes sense.

Is there any documentation available for the nereid USB drivers?

I'll let you guys know when the boards are fabricated.

elmer, do you know where I can find information about the x68k's i/o slot.
Title: Re: Interest Check: Network Cards
Post by: kamiboy on September 28, 2016, 04:42:41 AM
Hell if I know. I am just used to seeing them listed on Yahoo. Once I took a peek inside one of these auctions and saw that they featured USB and ram expansions in addition to network. They usually come with a driver disk and a manual. Not sure if the manual contains what you are looking for or not.

I am surprised there is any documentation available on the neptune cards at all.
Title: Re: Interest Check: Network Cards
Post by: neko68k on September 28, 2016, 05:30:08 AM
I think the I/O slot, among other hardware things, is documented in Outside X68000.

Nereid USB is for NetBSD. Nereid RAM is for Human68k RAMdisk or NetBSD. I use it as a RAMdisk with the temp directory on it. AFAIK programs for Human68k have to be specifically written to use Nereid RAM because it is mapped to I/O slot addresses not as an addition to main RAM.
Title: Re: Interest Check: Network Cards
Post by: kamiboy on September 28, 2016, 05:33:19 AM
Bah, that makes this piece of kit a lot less cool that I thought.
Title: Re: Interest Check: Network Cards
Post by: neko68k on September 28, 2016, 11:46:59 AM
It's still a nice piece of hardware just so you don't need to have a full length ISA card hanging out the back of your x68000 to have networking.
Title: Re: Interest Check: Network Cards
Post by: corpsicle on September 28, 2016, 03:21:48 PM
Interested!
Depending on final price obviously. =)
Title: Re: Interest Check: Network Cards
Post by: elmer on September 29, 2016, 05:07:19 AM
Quote from: famiac on September 28, 2016, 03:43:13 AM
elmer, do you know where I can find information about the x68k's i/o slot.

Not specifically, but neko68k's suggestion of "Outside X68000" sounds sensible.

I'd be very surprised if it's really much more than a standard Motorola 68000 bus, and you can see the interface timings for that in most Motorola manuals that you can get from the internet.

The pinout for the X68000 I/O slot itself can be found on the X68000 circuit diagrams that are on the wiki.

I found the physical size specs for the slot by loading up the old Neptune-X .pcb design files that are on the FTP site into an old trial/cracked version of Protel 99SE SP6 in a Windows XP virtual machine. It can be saved from there in the newer version of the .pcb format, which then allows it to be loaded by recent versions of the Altium DXP PCB design software.

That was a bit of a roundabout way to get at the info, but I don't have Outside X68000.

****************

I liked the idea of the USB-FIFO better than a network card and full network stack, because it would be really easy to write transfer software for, and because the Neptune card is pretty darned slow (according to one of the files in one of the Neptune-X directory of the NFGGames file archive).
Title: Re: Interest Check: Network Cards
Post by: famiac on September 29, 2016, 05:17:10 AM
Right, but implement the USB FIFO will involve digital logic design and knowledge about the X68000 I/O slot. I'll look for a copy of Outside X68k in the meantime, and then we can discuss it further.

I think I'll sell the bare Neptune-X PCBs for $40 a pop. I should have 5 boards coming in in the near future. I'm gonna post a link to a digi-key cart with all of the necessary components. They're all easy, through-hole parts.

EDIT: http://www.digikey.com/short/39jzqz

Note: They are out of 74ALS30 chips, so I replaced it with a 74AS30, which is slightly more expensive, but I'm pretty sure it's a compatible replacement.
Title: Re: Interest Check: Network Cards
Post by: neko68k on September 29, 2016, 05:25:14 AM
Outside X68000 (https://archive.org/details/OutsideX680001993)

Keep in mind, all the software for using Neptune/Nereid for TCP/IP already exists. This includes useful tools such as FTP and NFS. The work is already done and the system level libraries and stuff already exist and are based roughly on BSD sockets.
Title: Re: Interest Check: Network Cards
Post by: elmer on September 29, 2016, 09:22:15 AM
Quote from: famiac on September 29, 2016, 05:17:10 AM
I think I'll sell the bare Neptune-X PCBs for $40 a pop. I should have 5 boards coming in in the near future. I'm gonna post a link to a digi-key cart with all of the necessary components. They're all easy, through-hole parts.

Cool!


Quote from: neko68k on September 29, 2016, 05:25:14 AM
Keep in mind, all the software for using Neptune/Nereid for TCP/IP already exists. This includes useful tools such as FTP and NFS. The work is already done and the system level libraries and stuff already exist and are based roughly on BSD sockets.

Absolutely true, I can't argue with that.

Just that it's slow (for ethernet) and that there's all sorts of other software fun to deal with, like setting up an FTP or NFS server on your network.

It doesn't help that I think that I threw out the last of my old NE2000 ISA cards a few years ago.

To be honest ... the X68000/PC software side of using the USB-FIFO doesn't bother me in the least ... I've been doing that kind of low-level software for decades.

The hardware OTOH, especially when it comes to decoupling capacitors and other analog issues, isn't something that I'm comfortable with.
Title: Re: Interest Check: Network Cards
Post by: neko68k on September 29, 2016, 09:45:01 AM
I couldn't say how accurate it is or how it compares to Neptune in real life but I can get around 10MB/s with the Nereid emulation in XM6g. That isn't bad. How much data would you realistically be transferring anyway? Games are a few MB, music is tiny taken in smaller chunks than the whole damn collection.

There is still the option of using serial null modem though. I tested that a long long time ago and it actually isn't bad. It's not exactly exciting to go back to 1996 speeds(38400 max stock, 115200 with the SCC clock mod) but it definitely works. You can even use the internet if you have a PPP server on the other end of your serial line.
Title: Re: Interest Check: Network Cards
Post by: elmer on September 29, 2016, 01:05:04 PM
Quote from: neko68k on September 29, 2016, 09:45:01 AM
I couldn't say how accurate it is or how it compares to Neptune in real life but I can get around 10MB/s with the Nereid emulation in XM6g. That isn't bad. How much data would you realistically be transferring anyway? Games are a few MB, music is tiny taken in smaller chunks than the whole damn collection.

If you're getting 10 megabytes/second, then you're running faster than a 100-baseT network, let alone the 10base-T that's on the NE2000 board that's supported by the Neptune-X.

The ether_ne.sys v0.02 driver that's on the NFGames FTP site comes with a readme that says ...

Quote
development environment & speed comparison

X68030-25MHz (cache on) + Neputune-Evolution
+ Ether_ne.sys + ftp.x
Self-made AT machine i486SX-66MHz
+ TFTPD (FTP Daemon for Windows95)
We gave a speed comparison in.

Original ether_ne.sys
Reception 27KB / sec transmission 80KB / sec

- Modified version ether_ne.sys
Reception 30KB / sec transmission 137KB / sec

The above results I am based on the transfer speed display in the mput command of ftp.x.
Please note that it contains a certain amount of error in this value (network
Even numbers will vary by the amount of flowing packets).

Now, those are pitifully slow numbers, and that's on an X68030-25!

Back in the PC days, I was getting 800KB/second transfers out of a 10base-T network.

Communication through high-speed serial is an option, and there's the lovely 4-port high-speed serial port board for the X68000 that should easily do 500Kb/s that I've not been able to get a hold of.

A USB-FIFO with good programming on the PC end can get 1 megabyte/s transfer ... and it's such a simple port-based I/O solution on the X68000 that it really should be able to achieve a reasonable fraction of that (even without DMA).

As for actual internet-access on the X68000 ... I'm afraid that it's something that just doesn't interest me, but I can understand if others think that it's "cool".
Title: Re: Interest Check: Network Cards
Post by: neko68k on September 30, 2016, 12:43:43 AM
Did I say 10? I meant 1. Sorry for the confusion :D

FWIW I'm not using the old INETD either, there is also HINETD and XIP. I use XIP, it helps a bit.

For internet, it's useless. The browsers are too old and pretty crappy anyway. You can IRC ^_^
Title: Re: Interest Check: Network Cards
Post by: elmer on September 30, 2016, 03:00:49 AM
OK, thanks!

I just found your page on the wiki about the software setup ...

http://gamesx.com/wiki/doku.php?id=x68000:internet_on_x68000_using_ethernet_or_null_modem_cable

That looks like it still needs a driver for the ethernet card, so I'd need to find out what to use for the Neptune-X if you don't think that ether_ne.sys is the best choice.

<EDIT>

OK, it looks like the etherL12.lzh file that you mention is the correct one, and it's just a later version of the ether_ne.sys driver.

Looks like the X68030-25MHz FTP speeds of 30KB/s send, 137KB/s receive probably still apply.

So, the next question is ... can we use an NE2000-compatible plug-n-play ISA card for the Neptune-X, or do we need to find a really, really old one that still uses jumpers to set the address/irq?
Title: Re: Interest Check: Network Cards
Post by: amigo-mexicano on September 30, 2016, 08:22:30 AM
I am interested too :)
Title: Re: Interest Check: Network Cards
Post by: famiac on September 30, 2016, 01:12:45 PM
Sorry for the short off-topic. I do have to mention that I'm a full-time student and I'm working part-time right now, and so I may not have too much time to sit down and help development. I should be on break in a couple of months or so, though.

Don't worry, I won't let it affect the shipment of the boards.
Title: Re: Interest Check: Network Cards
Post by: costa on October 23, 2016, 10:27:06 AM
Is this still going on? I would be interested.
Title: Re: Interest Check: Network Cards
Post by: famiac on November 01, 2016, 05:26:58 AM
Yeah! Sorry for not posting an update.

I have received the boards. I have successfully assembled one of the boards, but only after a lot of trouble with the isa slot pins. The spacing is incorrect, but i was able to bend them into place. I had to cut it into two pieces to make it easier to manage. Here's a photo of the board, fully assembled.

(https://i.imgur.com/ZadvXfdl.jpg)

Full size (https://i.imgur.com/ZadvXfd.jpg)


I have not tested it yet. I won't be selling any of these before i can confirm that they work. So just hang tight for now. If anybody has pointers on using the drivers, please let me know
Title: Re: Interest Check: Network Cards
Post by: neko68k on November 01, 2016, 09:11:54 AM
Check the wiki post a little further up the thread. DHCP _might_ work but I've always just used a static address.
Title: Re: Interest Check: Network Cards
Post by: corpsicle on November 01, 2016, 09:47:18 PM
Maybe it was already stated, but does this take up two slots?
Title: Re: Interest Check: Network Cards
Post by: famiac on November 02, 2016, 01:12:44 AM
Not by itself. It depends on the profile of your NE2000 card. Mine is large and takes up two slots, but you might be able to find one that is thin enough.
I could make the capacitors parallel to the card, and then it would fit in one slot.
Title: Re: Interest Check: Network Cards
Post by: famiac on January 25, 2017, 03:03:56 PM
So a bit of a status update on this.
Just ran some tests. It seems semi-promising.

(http://i.imgur.com/rQpCDB9l.jpg)

full size (http://i.imgur.com/rQpCDB9.jpg)

Essentially it seems that my ne2000 card is incompatible, so i'm going to look for a new one. It also says something about IRQ, but I still need to investigate. could be jumpers on the board.
Title: Re: Interest Check: Network Cards
Post by: famiac on April 08, 2017, 09:13:28 AM
Alright! So all of the tests seem to be working. I'm using an NE2000 that has been confirmed as compatible.  Here is the one i bought: http://page22.auctions.yahoo.co.jp/jp/auction/l374462390

Here are "screenshots" of the working tests.
http://imgur.com/a/9tPSo (http://imgur.com/a/9tPSo)

I have two unpopulated boards left

If you want to build your own network card, they're $40 each

Note: I think the NE2000 card/clone will most likely work if it uses a genuine RTL8019. Mine has an RTL8019AS.
Title: Re: Interest Check: Network Cards
Post by: Martin8bity on May 02, 2017, 04:51:11 PM
Just soldering parts and found strange thing. I cannot open the PCB/schematic sources, but to me it looks like the "VECTOR" part should be SIP switch and not 8x 4k7 SIP resistor. Is it really ok? It looks like you have soldered the resistor down and the card seems to be working.
Title: Re: Interest Check: Network Cards
Post by: famiac on May 03, 2017, 04:10:01 PM
I'm pretty sure it's supposed to be a resistor array.
Title: Re: Interest Check: Network Cards
Post by: Martin8bity on May 05, 2017, 06:17:59 AM
What would be the purpose? If you use 2 resistor arrays it creates voltage divider to 2.5V. On other schematics I have is pull-up and DIP switch for interrupt vector (usually F9).