home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / library / qb_pds / dos / intcall / intcall.doc < prev    next >
Encoding:
Text File  |  1987-05-10  |  1.3 KB  |  33 lines

  1. INTCALL by Bob Montgomery, 5-1-87
  2. The user library INTCALL.EXE allows you to call any BIOS/DOS interrupt.
  3. Register values to use when the interrupt is called are passed in an
  4. integer array, and the register values returned by the interrupt are
  5. placed by INTCALL in another integer array. The library is loaded by
  6. doing 
  7.  
  8.      QB filename /l INTLIB.EXE
  9.  
  10. where filename is the QBasic program that will call INTCALL.
  11.  
  12. The format of the call is:
  13.  
  14.      call Intcall(Inter%,Wherein%(1),Whereout%(1)
  15.  
  16. where Inter%       is the BIOS/DOS interrupt you want to do
  17.       Wherein%(1)  is the location of the integer array of register
  18.                    values passed to INTCALL
  19.       Whereout%(1) is the location of the integer array for INTCALL
  20.                    to put the returned register values
  21.  
  22. The QBasic program INTCALL.BAS is a demo of how to use INTCALL, and
  23. INTCALL.BAT loads INTCALL.BAS into QBasic with the INTLIB.EXE so the
  24. call can be used. INTCALL.8 is the source file for INTLIB.EXE, and
  25. is in A86 assembler format. It is assembled by doing
  26.      A86 intcall.8 intlib.obj
  27. and then converted to a user library by doing
  28.      BUILDLIB intlib
  29. which gives INTLIB.EXE.
  30.  
  31. Enjoy. If you have any comments or suggestions, I can be contacted
  32. at the Black Hole BBS, Orlando, Fl. 1200/2400 baud, (305) 260-3697
  33.