home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!grip.cis.upenn.edu!sheketof
- From: sheketof@grip.cis.upenn.edu (Mike Sheketoff)
- Newsgroups: comp.os.msdos.programmer
- Subject: Interrupt Handlers and memory allocation
- Message-ID: <106230@netnews.upenn.edu>
- Date: 22 Jan 93 19:40:23 GMT
- Sender: news@netnews.upenn.edu
- Organization: GRASP Lab, University of Pennsylvania
- Lines: 16
- Nntp-Posting-Host: grip.cis.upenn.edu
-
- Hi,
-
- I am writing a hardware interrupt handler and would like to know how to
- allocate memory inside an interrupt handler. (Assembler code would be
- great!) Right now I have the interrupt handler doing a software
- interrupt to another function that does the allocation in high level.
- This sort of works but when I go to allocate a 40K buffer, the PC hangs.
- Also, sometimes, the PC hangs with a 10K buffer. Other times, its happy
- with 10K.
-
- Eventually this will be converted to a device driver.
-
- Please email to this account. Thanks in advance.
-
- Han
-
-