Peter Cheung <
mche...@gmail.com> wrote:
> Hi all, what is the easiest way to support network in hobby os?
Easiest? Bring up on an emulated old ISA machine with a 3c509 LAN card.
Then bring up KA9Q networking stack. The 3c509 card has a very simple
programming register set, and it's at a fixed IRQ and port range, so you
don't have to hassle with PCI bus stuff. It has its own on-card network
buffers which you pull from (programmed I/O) so you also don't have to
get your DMA working to receive and send packets.
For actual networking, KA9Q is a very nicely written TCP/UDP/IP/ARP package
which is probably the easiest IP stack to port. Another small one I've used
is "uip".
--
Andy Valencia
Home page:
http://www.vsta.org/andy/
To contact me:
http://www.vsta.org/contact/andy.html