Subj : interupts question To : Dennis Collins From : Jasen Betts Date : Thu Dec 07 2000 10:48 pm Hi Dennis. 06-Dec-00 10:19:00, Dennis Collins wrote to All DC> I am involved in devoloping a Dos program that has to hook to a DC> PPP packet driver, the question is...... DC> what is the easiest way to find out which interupt the PPP packet DC> driver is using, the avaiable info on the PPP driver says that it DC> can be any of the following... from Ralf Brown's intterupt list: -=------N-60--------------------------------- INT 60 - FTP Packet Driver - PC/TCP Packet Driver Specification Range: INT 20 to INT FF Notes: The handler for the interrupt will start with a 3-byte jump instruction, followed by the ASCIZ string "PKT DRVR" (the terminating NUL is significant). To find the interrupt being used by the driver, an application should scan through interrupt vectors 20h to FFh (60h through 80h for v1.09- of the specification) until it finds one with the "PKT DRVR" string. AH values of 80h to FFh have been reserved for user-defined additions. -=------ so turn each interrupt vector into a pchar and go looking for one where ((pchar)vector)+3 = "PKT DRVR" when you find one that matches that's the interrupt to use... -=> Bye <=- --- * Origin: The point of no linefeed (3:640/531.42) .