home *** CD-ROM | disk | FTP | other *** search
- /* Display the Interrupts in the system */
- address 'COMMAND'
- 'version >nil: exec.library 36 '
- lrc = rc
-
- if (rc = 0) then
- check = addlib('rexxsupport.library',0,-30,0)
-
- address
-
- execbase = next("00000004"x)
- liboff = 364
- nodebase = import(offset(execbase, liboff), 4)
-
- 'd " Address NT Pri Name"'
- do while(import(nodebase,4) ~= "00000000"x)
- nt = right(c2d(import(offset(nodebase,8),1),1),3)
- pri = right(c2d(import(offset(nodebase,9),1),1),4)
- namestr = import(import(offset(nodebase,10),4))
- 'd "$'||c2x(nodebase)||nt||pri||' \"'||namestr||'\""'
- nodebase = import(nodebase,4)
- end
-