flat assembler
Message board for the users of flat assembler.

Index > OS Construction > How to connect to an IP via com port

Author
Thread Post new topic Reply to topic
prostyle4444



Joined: 28 Jun 2013
Posts: 25
Location: Bootsector
prostyle4444 27 May 2014, 12:28
I just wanted to connect to an IP via the com port modem. Can someone give some good documentation or a working code of it.
Post 27 May 2014, 12:28
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 27 May 2014, 15:43
Actually you need to write a network driver for a card (preferably RTL8139 or i8254x). You can view their documentation here:
RTL8139
http://www.cs.usfca.edu/~cruse/cs326f04/RTL8139_ProgrammersGuide.pdf
Datasheet: http://www.cs.usfca.edu/~cruse/cs326f04/RTL8139D_DataSheet.pdf
i8254x
http://www.intel.com/content/www/us/en/ethernet-controllers/pci-pci-x-family-gbe-controllers-software-dev-manual.html
After you've implemented the base driver you can then port lwIP to your OS.
https://github.com/dreamcat4/lwip
It isn't easy and can't be done in small examples, networking is quite a complex area in OSDev.
Post 27 May 2014, 15:43
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.