Solved

I need to program using DOS NDIS ethernet drivers

Posted on 2001-06-12
3
285 Views
Last Modified: 2008-03-03
I want to use the NDIS drivers, this standars are imposible to find. I looking for something like the software interrupt used and the input and output registers of the basic functios (open handle, send packet, receive packet). Any information near to this is really helpfull.
I have the assembler codes of the drivers of an ISA ethernet card if someone wants it.
If the functions have to be used in certain defined memory adress (instead of software interrupt), please give help of how to use them in C or C++.
Using the libreries of the MSClient for DOS from the NT CD is helpfull too.
I'm interested in using the IP layer.
0
Comment
Question by:ricarditopicaron
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 300 total points
Comment Utility
0
 

Author Comment

by:ricarditopicaron
Comment Utility
Thanks, lastly the NDIS standards. But I've found the same type of information for drivers called packetdriver, and trying them I broke a motherboard.
Information like how to set the compiler (Borland 3.0 4.0 or 5.0) would be helpfull.
A small code using the function that detects that the card or the drivers are present would be appreciatted, something like this (I try to help with what I know):

unsigned offset, segment, dataforfunction1;
unsigned dataforfunction2;
unsigned char answer;

offset=FP_OFF(FUNCTION_ADRESS_OFFSET);
segment=FP_SEG(FUNCTION_ADRESS_SEGMENT);
asm{
    mov AX,offset
    mov DS,AX
    mov AX,segment
    mov ES,AX
    push dataforfunction1
    push dataforfunction2
    call ES:DS
    mov answer,BX
    }
if(answer==1)
   printf("This works");
0
 

Author Comment

by:ricarditopicaron
Comment Utility
Fair enough
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now