Solved

I need to program using DOS NDIS ethernet drivers

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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 how to clear a vector as well as how to detect empty vectors in C++.

785 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