home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l440 / 2.ddi / CHAP8 / UNDOC.SCR < prev    next >
Encoding:
Text File  |  1990-09-26  |  1.5 KB  |  37 lines

  1. ;; ****** 
  2. ;; UNDOC.SCR (abridged version)
  3. ;; This does not show undocumented redirector (Int 2Fh) calls
  4. intercept 21h
  5.     function 1fh on_exit output "211F: Get Default DPB: " DS ":" BX
  6.     function 32h on_entry output "2132: Get DPB: " DL
  7.     function 34h on_exit output "2134: InDOS flag: " ES ":" BX
  8.     function 50h on_entry output "2150: Set PSP: " BX
  9.     function 51h on_exit output "2151: Get PSP: " BX
  10.     function 52h on_exit output "2152: Get List of Lists: " ES ":" BX
  11.     function 53h on_exit output "2153: Translate BPB"
  12.     function 5dh subfunction 06h 
  13.         on_exit output "215D06: Get DOSSWAP: " DS ":" SI
  14.     function 60h
  15.         on_entry output "2160: Canon File: " (DS:SI->byte,asciiz,64)
  16.         on_exit sameline " ==> " (ES:DI->byte,asciiz,64)
  17.     function 25h
  18.         on_entry
  19.             if (al == 28h) output "SetVect INT 28h: KBD busy loop"
  20. ;; ******
  21. ;; Use the next functions and ints 20h and 27h to show which
  22. ;; program made the undoc DOS call, and to show termination
  23. ;;
  24.     function 4bh
  25.         subfunction 00h
  26.             on_entry 
  27.                 output (DS:DX->byte,asciiz,64)
  28.         subfunction 01h
  29.             on_entry 
  30.                 output "214B01: EXEC debug: " (DS:DX->byte,asciiz,64)
  31.     function 4ch on_entry output "-------------------------"
  32.     function 31h on_entry output "--------- TSR -----------"
  33. intercept 20h on_entry output "-------------------------"
  34. intercept 27h on_entry output "--------- TSR -----------"
  35.  
  36. intercept 2eh on_entry output "2E: Execute command"
  37.