About networking and interrupts
Posted: Tue Nov 14, 2006 8:00 am
First of all let me greet all of you.
In all the darkness of my mind, finding you was a lightful suprise; i didn't know how big was the world of OS development.
I'm a student in informatic engineering in Rome and i'm preparing my thesis.
Going around in Internet i found the article of Krishnakumar on LinuxGazette about "Writing a Toy OS" and i was fascinated by it. Talking with my teacher, we decided to prepare myself about OS Development. In particular he asked me to write a little OS that can permit two computers to send messages each other by a network card.
Now i'm in problem.
On the first time i thought "well, what's the problem? Like in the article of Krishnakumar, i use a software interrupt, load values in some registers and then all is done!" . Well, i was in panic when i didn't found, in the documents that i found on the Net, any software interrupt for the network card.
I searched in Internet and i found a document (http://www.crynwr.com/packet_driver.html)
that says that values for software interrupts for network cards range between #060 and #080 and i need to scan handlers to find my software interrupt. Is it true? There is no other method to find these int? (I visited the Ralf Brown's Interrupt List but, it seems to me, i don't find a software interrupt associate with my network card)
In the case this is the reality, a question is raised in my head: if the software interrupts are different for each computer configuration, it means that my toy OS will probably not run on other computers?
I have already searched the forum for some answers but unfortunately i didn't found anything.
I'm open to understand my work and i'm really interested in what i'm doing, so if i was wrong in something, i appreciate very much that you explain to me.
(I have enough knowledge of network protocols, programming language and assembly to understand you so you could talk directly without too much circumlocution)
Thanks everyone and best regards[/url]
In all the darkness of my mind, finding you was a lightful suprise; i didn't know how big was the world of OS development.
I'm a student in informatic engineering in Rome and i'm preparing my thesis.
Going around in Internet i found the article of Krishnakumar on LinuxGazette about "Writing a Toy OS" and i was fascinated by it. Talking with my teacher, we decided to prepare myself about OS Development. In particular he asked me to write a little OS that can permit two computers to send messages each other by a network card.
Now i'm in problem.
On the first time i thought "well, what's the problem? Like in the article of Krishnakumar, i use a software interrupt, load values in some registers and then all is done!" . Well, i was in panic when i didn't found, in the documents that i found on the Net, any software interrupt for the network card.
I searched in Internet and i found a document (http://www.crynwr.com/packet_driver.html)
that says that values for software interrupts for network cards range between #060 and #080 and i need to scan handlers to find my software interrupt. Is it true? There is no other method to find these int? (I visited the Ralf Brown's Interrupt List but, it seems to me, i don't find a software interrupt associate with my network card)
In the case this is the reality, a question is raised in my head: if the software interrupts are different for each computer configuration, it means that my toy OS will probably not run on other computers?
I have already searched the forum for some answers but unfortunately i didn't found anything.
I'm open to understand my work and i'm really interested in what i'm doing, so if i was wrong in something, i appreciate very much that you explain to me.
(I have enough knowledge of network protocols, programming language and assembly to understand you so you could talk directly without too much circumlocution)
Thanks everyone and best regards[/url]