[comp.os.msdos.programmer] Writing an interrupt handler in MSC

viraf@seas.gwu.edu (Viraf Bankwalla) (01/25/91)

Hi,

  I wrote an isr for the serial port in MSC 6.0.  All vars were
  defined as static, as I thought this would greatly increase
  the speed.  All worked fine, until I added to the isr.

  On speaking with Microsoft, I was informed that all vars
  used by the isr MUST be globals.  Great, I made the change,
  and my throughput has dropped by over 50 %.  

  On getting an asm listing, I see that most of my time seems
  to be loading the es register with the segment address. 
  How can I bypass this ?? 

  Any help would be greatly appreciated.

  Thanks in advance.

  viraf bankwalla.
  viraf@seas.gwu.edu
  ...!uunet!gwusun!viraf