?
Solved

I need to program using DOS NDIS ethernet drivers

Posted on 2001-06-12
3
Medium Priority
?
293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 600 total points
ID: 6184551
0
 

Author Comment

by:ricarditopicaron
ID: 6187949
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
ID: 6319544
Fair enough
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

752 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