From: "Lboro news" Newsgroups: comp.os.msdos.djgpp Subject: Protected Mode TSR Date: Fri, 1 May 1998 13:44:02 +0100 Organization: Loughborough University, UK. Lines: 22 Message-ID: <6icjfl$pba@sun-cc204.lboro.ac.uk> NNTP-Posting-Host: white.lut.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I would like to write a TSR to provide information on the pentium timer counter to 16 bit programs. There is a lot of history here, but basically, I am using a packet driver to send packets out on an ethernet to measure network performance. I don't want to change too much. So I think I need a 32bit, i.e. protected mode TSR to get the Pentium Timer value. I would also like there to be a 16bit, i.e. real mode mechanism to call the 32bit TSR routines. Am I right? I know there is more difference between protected and real mode than simply 16 vs 32 bits but I think this is the important bit for me. Are there any skeleton codes for what I want to do? Alternatively, has anyone got the bare bones of interfacing to a real mode packet driver? Thanks. Iain Phillips (I DOT W DOT Phillips AT lboro DOT ac DOT uk)