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