🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4372

Writing an interrupt handler in MSC

#4372
From: Viraf Bankwalla
Date: Fri, 25 Jan 1991 14:40
21 lines
1072 bytes
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
Technical Details
Message-ID: <2628@sparko.gwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool2.mu.edu!uunet!seas.gwu.edu!viraf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool2.mu.edu!uunet!seas.gwu.edu!viraf
From: viraf@seas.gwu.edu (Viraf Bankwalla)
Newsgroups: comp.os.msdos.programmer
Subject: Writing an interrupt handler in MSC
Message-ID: <2628@sparko.gwu.edu>
Date: 25 Jan 91 14:40:14 GMT
Reply-To: viraf@seas.gwu.edu ()
Organization: The George Washington University, Washington D.C.
Lines: 21