Board.KolibriOS.org

Official KolibriOS board
It is currently Sun May 19, 2019 3:47 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Oct 19, 2013 4:25 pm 
Offline

Joined: Sat Oct 19, 2013 4:18 pm
Posts: 4
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.


Top
   
PostPosted: Sat Oct 19, 2013 5:32 pm 
Offline

Joined: Wed May 18, 2005 7:27 pm
Posts: 1001
Hello, look at http://wiki.kolibrios.org/wiki/Writing_ ... _KolibriOS and other articles from http://wiki.kolibrios.org/wiki/Development


Top
   
PostPosted: Sat Oct 19, 2013 6:33 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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.

_________________
"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


Top
   
PostPosted: Sat Oct 19, 2013 9:20 pm 
Offline

Joined: Sat Oct 19, 2013 4:18 pm
Posts: 4
excuse me but what is the syntax of these assembly files?


Top
   
PostPosted: Sat Oct 19, 2013 9:53 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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


Top
   
PostPosted: Sun Oct 20, 2013 2:15 pm 
Offline

Joined: Sat Oct 19, 2013 4:18 pm
Posts: 4
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.


Top
   
PostPosted: Sun Oct 20, 2013 2:24 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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.


What you need to do is read the documentation, sorry, there is no quicker way.
(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


Top
   
PostPosted: Sun Oct 20, 2013 4:41 pm 
Offline

Joined: Sat Oct 19, 2013 4:18 pm
Posts: 4
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? :)


Top
   
PostPosted: Sun Oct 20, 2013 5:25 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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? :)


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.

_________________
"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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited