Solved

I need to program using DOS NDIS ethernet drivers

Posted on 2001-06-12
3
289 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 300 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 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…

730 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