Simple NE2000 Compatible Driver
-
Hey guys I am new to OS development, I created a simple kernel with keyboard input I am looking to write a driver for the network card I am testing my work on vmware, and I want the driver to compatible with NE2000 standard, The driver must be as simple as possible I just want to know how to reset the network controller and how to send data (not frames) and receive data, I am not currently concerned with the protocols just the bare basics please, thanks in advance.
Hello, look at http://wiki.kolibrios.org/wiki/Writing_ ... _KolibriOS and other articles from http://wiki.kolibrios.org/wiki/Development
The driver in kolibrios for ne2000 is implemented in rtl8029.asm
For more info about ne2k itself, please see http://wiki.osdev.org/Ne2000 (and the pdf's on this page: http://wiki.osdev.org/DP8390)
As for the protocols: I recommend you read the 'TCP/IP illustrated' books.
For more info about ne2k itself, please see http://wiki.osdev.org/Ne2000 (and the pdf's on this page: http://wiki.osdev.org/DP8390)
As for the protocols: I recommend you read the 'TCP/IP illustrated' books.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
excuse me but what is the syntax of these assembly files?
the assembler used is flat assembler (http://www.flatassembler.net)
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Tanks for your time I have one more question please. What do I need to get my network controller driver up and running? Do I need to do something about DMA controller PCI bus or other things? Because I want to get it running as quickly as possible.
What you need to do is read the documentation, sorry, there is no quicker way.Mohsen35 wrote:Tanks for your time I have one more question please. What do I need to get my network controller driver up and running? Do I need to do something about DMA controller PCI bus or other things? Because I want to get it running as quickly as possible.
(unless you want somebody else to do it for you, which is probably not an option
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
well really thank you for your time, of course I don't want some body to do it for me. I am a student at the last year of university so I don't think I will have so much time to work on this but I will try to do my best.
Will you help if I needed some help in my work?
Will you help if I needed some help in my work?
Altough this is not the purpose of this forum, If I see you're serious about this, and ask 'smart questions', I'll try to help when I can.Mohsen35 wrote:well really thank you for your time, of course I don't want some body to do it for me. I am a student at the last year of university so I don't think I will have so much time to work on this but I will try to do my best.
Will you help if I needed some help in my work?
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Who is online
Users browsing this forum: No registered users and 3 guests