home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK5 / DOS_42 / SHOWVECT.ZIP / SHOWVECT.DOC < prev   
Text File  |  1992-03-20  |  3KB  |  70 lines

  1. Show-Vectors, Version 1.00, Copyright (c) 1992 SoftCircuits
  2. Redistributed by permission
  3.  
  4. Title: SHOWVECT.DOC
  5.  
  6.  
  7. Overview
  8. ========
  9. This package provides a simple program to display the vectors in
  10. the interrupt table on IBM-compatible computers. The assembly
  11. language source code is also included.
  12.  
  13.  
  14. Description
  15. ===========
  16. IBM-compatible computers use interrupts. An interrupt acts like a
  17. call. It causes the CPU's thread of execution to jump to another
  18. location and then return to where it left off when the interrupt
  19. is finished.
  20.  
  21. An interrupt can be invoked using the INT instruction. Interrupts
  22. are also triggered by the hardware. In fact, by saving the
  23. current state of the CPU and then restoring it when the interrupt
  24. returns, hardware interrupts are able to occur without the
  25. currently executing program even being aware it was interrupted!
  26. In fact, there are many such interrupts in most PC's including
  27. the system timer interrupt which occurs about 18 times a second.
  28.  
  29. When an interrupt occurs, the CPU saves the current address and
  30. the flags register, and then jumps to the handler routine for
  31. that interrupt. It determines the address, or vector, of the
  32. handler by a table that starts in low memory (0000:0000). The
  33. vector for interrupt 0 is at this address. Since each vector
  34. requires a segment (2 bytes) and an offset (2 bytes), the vector
  35. for interrupt 1 is at address 0000:0004. So in response to an
  36. interrupt, the CPU calculates the vector address by multiplying
  37. the interrupt number by 4. It then reads the vector from that
  38. address and finally jumps to where the vector pointed.
  39.  
  40. Show-Vectors displays the vectors for each of the 256 interrupts
  41. on IBM-compatible computers. It also gives a description of what
  42. each interrupt is normally used for. Although it's a very simple
  43. program, it can be useful for troubleshooting, and getting low
  44. level information about your machine.
  45.  
  46.  
  47. Distribution Information
  48. ========================
  49. This program was created and released by:
  50.  
  51.      SoftCircuits Programming
  52.      P.O. Box 16262
  53.      Irvine, CA 92713
  54.  
  55. It is provided "as is" with no warranty of any kind, expressed or
  56. otherwise. SoftCircuits assumes no responsibility as to the
  57. performance or usability of this program.
  58.  
  59. You may use and distribute this program freely on the condition
  60. that the complete package is distributed without modification and
  61. that no fee is charged for such distribution with the exception
  62. of reasonable shipping and media charges.
  63.  
  64. This package contains the following files:
  65.      SHOWVECT.COM   Program executable file
  66.      SHOWVECT.ASM   Program assembly language source code
  67.      SHOWVECT.DOC   Program documentation (the file you're
  68.                     reading)
  69.  
  70.