home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / PERI_50.ZIP / PERI.PGM / PS.DEF < prev    next >
Encoding:
Text File  |  1990-08-20  |  3.7 KB  |  86 lines

  1. \c1=dr cs:0 .psp;
  2. \c2=dr cs:5c .fcb;
  3. \FCB        ; File Control Block
  4. Drive,b,1    ; Drive 0=default, 1=A, 2=B, etc.
  5. File,b,8    ; File name
  6. Ext,b,3     ; File extension
  7. Block #,w,2    ; Current block number
  8. Rec Size,w,2    ; Logical record size
  9. File Size,d,4    ; File size
  10. Date,w,2    ; Date of last update
  11. Res.,+,a    ; Reserved for DOS - don't display
  12. Rec #,b,1    ; Current relative record number
  13. Rel Rec #,d,4    ; Relative record number from beginning of file
  14. \PSP        ; Program Segment Prefix
  15. Int 20,b,2    ; DOS return
  16. Topmem,w,2    ; Amount of memory in paragraphs
  17. Res.,b,1    ; Reserved for DOS
  18. Long Call,b,1    ; Long call to DOS function dispatcher
  19. DOS Func,d,4    ; CS:IP of DOS function dispatcher
  20. Term Addr,d,4    ; CS:IP of DOS terminate address
  21. Brk Addr,d,4    ; CS:IP of Ctrl-Break exit address
  22. Err Addr,d,4    ; CS:IP of critical error exit address
  23. Res.,b,16    ; Reserved for DOS
  24. Environ,w,2    ; DOS 2.00 Environment segment
  25. Res.,b,2e    ; Reserved for DOS
  26. FCB1,b,10    ; The first FCB read from the command line
  27. FCB2,b,14    ; The second FCB read from the command line
  28. \PSDATA     ; Periscope's data area
  29. Filler,b,9    ; Windows signature
  30. PS type,b,1    ; PS Model 0=Model I, 1=Model II, 2=Model II-X
  31. Version,w,2    ; Periscope's version number
  32. Port,w,2    ; Base port number
  33. Mem seg,w,2    ; Starting addr of protected memory
  34. User pg,b,1    ; First available page in paged memory
  35. User int,b,1    ; User interrupt number
  36. Page no,b,1    ; Current page in bank 3 of paged memory
  37. Max page,b,1    ; Maximum 8k page number
  38. Orig ints,d,28    ; user interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
  39. Vectors,b,a    ; offsets of vectors 8-24 relative to 0:0
  40. Vec skip,b,a    ; if 1, don't change corresponding vector
  41. BIOS ints,d,28    ; bios interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
  42. Orig ints2,d,10 ; original interrupts 13, 19, 25, & 26
  43. CRT data,b,1e    ; original video data (0:449 to 0:466)
  44. EGA data,b,3    ; orignial EGA data (0:484 - 0:486)
  45. EGA pall,b,11    ; EGA pallette table
  46. EGA,b,1     ; 1 if EGA present, 0 otherwise
  47. Alt key,b,1    ; Alt key input (0:419)
  48. Key head,w,2    ; original keyboard buffer head
  49. Key tail,w,2    ; original keyboard buffer tail
  50. Key data,w,20    ; original keyboard data
  51. PSP seg,w,2    ; Last known PSP segment
  52. Trace,w,2    ; Trace count - 0 if not tracing
  53. Int seg,w,2    ; Save interrupt segment
  54. Key seg,w,2    ; Segment of keyboard def table
  55. Edit segs,w,4    ; Segments for keyboard edit buffers
  56. Temp s/l,w,4    ; Segment and length of temp use buffer
  57. PS s/l/a,w,6    ; Segment, length, and address of debug screen save area
  58. Scr s/l/a,w,6    ; Segment, length, and address of user screen save area
  59. Rec s/l,w,4    ; Segment and length of record def table
  60. Back s/l,w,4    ; Segment and length of traceback buffer
  61. Src s/l,w,4    ; Segment and length of source buffer
  62. Hlp s/l,w,4    ; Segment and length of help text
  63. Comm s/l,w,4    ; Segment and length of interrupt comment text
  64. Work s/l,w,4    ; Segment and length of Periscope work area
  65. File s/l,w,4    ; Segment and length of file buffer
  66. Sym s/l,w,4    ; Segment and length of symbol table
  67. Back ptr,w,4    ; Traceback pointers
  68. Edit ptr,w,2    ; Edit buffer pointer
  69. D seg/o/l,w,6    ; Display segment, offset, and length
  70. Topmem,w,2    ; Top of memory (pgh form)
  71. Src info,w,4    ; Source file handle & prefix
  72. Brk enable,w,2    ; Breakpoint enable/disable bits
  73. Misc,b,2    ; Miscellaneous
  74. Alt crt,b,1    ; 0 if 1 CRT, 1 if 2 CRTs, 2 if 1 CRT with no save, 3 if alt crt
  75. Color,b,1    ; Color attribute
  76. Snow,b,1    ; 1 if /F option used, 0 otherwise
  77. Button,b,1    ; Status of the button
  78. PortB,b,1    ; Original value of Port B
  79. CPU,b,1     ; 0 if 8088, 1 if 80286, 2 if 80386
  80. PS line,b,1    ; current output line (starting at zero)
  81. Max line,b,1    ; maximum line number (starting at zero)
  82. Hardware,b,1    ; hardware suffix
  83. Active,b,1    ; 1 if PS active
  84. Noswap,b,1    ; no screen swap if 1
  85. Alt key,b,1    ; 1 if alt keyboard used
  86.