• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

I need to program using DOS NDIS ethernet drivers

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
ricarditopicaron
Asked:
ricarditopicaron
  • 2
1 Solution
 
AlexVirochovskyCommented:
0
 
ricarditopicaronAuthor Commented:
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
 
ricarditopicaronAuthor Commented:
Fair enough
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now