Article View: comp.os.msdos.programmer
Article #7678Interrupt Handlers and memory allocation
From: Mike Sheketoff
Date: Fri, 22 Jan 1993 19:40
Date: Fri, 22 Jan 1993 19:40
15 lines
1039 bytes
1039 bytes
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
Technical Details
Message-ID:
<106230@netnews.upenn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!grip.cis.upenn.edu!sheketofShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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