home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / FUNK108A.ZIP / DOS32V30.ZIP / PAL / VARIOUS / SETVECT.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-05-20  |  855 b   |  32 lines

  1. ;****************************************************************************
  2. ; Filename: SETVECT.ASM
  3. ;   Author: Peter Andersson
  4. ;  Version: 0.0
  5. ;  Created: 1995.03.13
  6. ;  Updated: -
  7. ;****************************************************************************
  8. ; Copyright Peter Andersson, 1994-1995.
  9. ; All rights reserved.
  10. ;****************************************************************************
  11. ; Function: VOID @setvect(ULONG i,PIRQVECT v);
  12. ;  Comment: Sets a interrupt vector
  13. ;    Input: Eax,i - interrupt number (0-255)
  14. ;           Edx,v - pointer to new IRQVECT, interrupt vector
  15. ;   Output: nothing
  16. ;****************************************************************************
  17.  
  18.     Include STDDEF.INC
  19.  
  20.     Codeseg
  21.  
  22. Proc    setvect ,2
  23.         Mov    Bl,Al
  24.         Mov    Ax,205h
  25.         Mov    Cx,[Edx+4]
  26.         Mov    Edx,[Edx]
  27.         Int    31h
  28.         Ret
  29. Endp
  30.  
  31.     End
  32.