home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12354 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1014 b 

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!grip.cis.upenn.edu!sheketof
  2. From: sheketof@grip.cis.upenn.edu (Mike Sheketoff)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Interrupt Handlers and memory allocation
  5. Message-ID: <106230@netnews.upenn.edu>
  6. Date: 22 Jan 93 19:40:23 GMT
  7. Sender: news@netnews.upenn.edu
  8. Organization: GRASP Lab, University of Pennsylvania
  9. Lines: 16
  10. Nntp-Posting-Host: grip.cis.upenn.edu
  11.  
  12. Hi,
  13.  
  14. I am writing a hardware interrupt handler and would like to know how to
  15. allocate memory inside an interrupt handler.  (Assembler code would be
  16. great!)  Right now I have the interrupt handler doing a software
  17. interrupt to another function that does the allocation in high level.
  18. This sort of works but when I go to allocate a 40K buffer, the PC hangs.
  19. Also, sometimes, the PC hangs with a 10K buffer.  Other times, its happy
  20. with 10K.
  21.  
  22. Eventually this will be converted to a device driver.
  23.  
  24. Please email to this account.  Thanks in advance.
  25.  
  26. Han
  27.  
  28.