home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l440 / 2.ddi / CHAP4 / DOSSTRUC.SCR < prev    next >
Encoding:
Text File  |  1990-09-25  |  4.8 KB  |  164 lines

  1. ;; DOSSTRUCT.SCR
  2. ;; Current Directory Structure entry - All DOS versions
  3. structure CDS fields
  4.         CURR_PATH (byte,asciiz,67)
  5.         FLAGS (word,bin)
  6.         DISK_BLK (dword)
  7.         INFO_PTR (dword,ptr)
  8.         f1 (word)
  9.         ROOT_OFS (word,dec)
  10. ; In DOS 4.0 and above there are a further 7 bytes of 
  11. ; IFS/SHARE fields
  12.  
  13. ;; System File Table entry - All DOS versions
  14. structure SFT fields
  15.     C_HANDLES (word,dec)
  16.     OPEN_MODE (word)
  17.     ATTR_BYTE (byte)
  18.     DEV_INFO (word)
  19.     DPB_PTR (dword,ptr)
  20.     ST_CLSTR (word,dec)
  21.     F_TIME (word)
  22.     F_DATE (word)
  23.     F_SIZE (dword,dec)
  24.     F_POS (dword,dec)
  25.     LAST_RELCLSTR (word,dec)
  26.     LAST_ABSCLSTR (word,dec)
  27.     DIR_SCTR_NO (word,dec)
  28.     DIR_ENTRY_NO (byte,dec)
  29.     FCB_FNAME (byte,ascii,11)
  30.  
  31. ;; Swappable DOS Area - DOS versions 3.1 to 3.3 - Used 
  32. ;;  in the form SDA_SEG:SDA_OFS->SDA3
  33. structure SDA3 fields
  34.          CRITERR_FLAG (byte,dec)
  35.          INDOS_FLAG (byte,dec)
  36.          DRIVE_NO (byte,dec)
  37.          LASTERR_DUM (byte,,9)
  38.          CURR_DTA   (dword,ptr)
  39.          CURR_PSP   (word)
  40.          SP_X_INT23 (word)
  41.          LAST_RC (word)
  42.          CURR_DRIVE (byte)
  43.          EXTBRK (byte)
  44.          INT21_AX (word)
  45.          SHRNET_PSP (word)
  46.          NET_MC_NO (word)
  47.          MEM_BLK_DATA (word,,3)
  48.          DONTKNOW1 (byte,,10)
  49.          DD (byte,dec)
  50.          MM (byte,dec)
  51.          YY_1980 (word,dec)
  52.          D_1_1_1980 (word,dec)
  53.          D_O_W (byte,dec)
  54.          DONTKNOW2 (byte,,3)
  55.          DEV_REQ_H1 (byte,dump,26)
  56.          DEV_DRVPTR (dword,ptr)
  57.          DEV_REQ_H2 (byte,dump,22)
  58.          DEV_REQ_H3 (byte,dump,22)
  59.          DONTKNOW3 (byte,,8)
  60.          CLOCK_TXREC (byte,,6)
  61.          DONTKNOW3A (byte,,2)
  62.          FN1 (byte,asciiz,128)
  63.          FN2 (byte,asciiz,128)
  64.          SDB (byte,dump,21)
  65.          FOUND_FILE (byte,dump,32)
  66.          DRIVE_CDSCOPY (byte,dump,81)
  67.          FCB_FN1 (byte,ascii,11)
  68.          DONTKNOW4 (byte)
  69.          FCB_FN2 (byte,ascii,11)
  70.          DONTKNOW5 (byte,,11)
  71.          SRCH_ATTR (byte)
  72.          OPEN_MODE (byte)
  73.          DONTKNOW6 (byte,,3)
  74.          CALL_TYPE (byte)
  75.          DONTKNOW7 (byte,,9)
  76.          TERM_PROCTYP (byte)
  77.          DONTKNOW8 (byte,,2)
  78.          CRITERR_DPBPTR (dword,ptr)
  79.          INT21_SS_SP (dword,ptr)
  80.          DONTKNOW9 (byte,,14)
  81.          MEDIA_ID (byte)
  82.          DONTKNOW10 (byte)
  83.          CURR_SFTPTR (dword,ptr)
  84.          DRIVE_CDSPTR (dword,ptr)
  85.          DONTKNOW11 (byte,,8)
  86.          JFT_PTR (dword,ptr)
  87.          FN1_CSOFS (word,hex)
  88.          FN2_CSOFS (word,hex)
  89.          DONTKNOW12 (byte,,46)
  90.          BX_DS_TMP (word,,3)
  91.          PREV_STACK (dword,ptr)
  92.          REN_SRCFILE (byte,,21)
  93.          REN_FILE (byte,,32)
  94.  
  95. ;; Swappable DOS Area - DOS versions 4.0 onwards - Used 
  96. ;;  in the form SDA_SEG:SDA_OFS->SDA4
  97. structure SDA4 fields
  98.          CRITERR_FLAG (byte,dec)
  99.          INDOS_FLAG (byte,dec)
  100.          DRIVE_NO (byte,dec)
  101.          LASTERR_DUM (byte,,9)
  102.          CURR_DTA   (dword,ptr)
  103.          CURR_PSP   (word)
  104.          SP_X_INT23 (word)
  105.          LAST_RC (word)
  106.          CURR_DRIVE (byte)
  107.          EXTBRK (byte)
  108.          DONTKNOW0 (word)
  109.          INT21_AX (word)
  110.          SHRNET_PSP (word)
  111.          NET_MC_NO (word)
  112.          MEM_BLK_DATA (word,,3)
  113.          DONTKNOW1 (byte,,10)
  114.          DD (byte,dec)
  115.          MM (byte,dec)
  116.          YY_1980 (word,dec)
  117.          D_1_1_1980 (word,dec)
  118.          D_O_W (byte,dec)
  119.          DONTKNOW2 (byte,,3)
  120.          DEV_REQ_H1 (byte,dump,30)
  121.          DEV_DRVPTR (dword,ptr)
  122.          DEV_REQ_H2 (byte,dump,22)
  123.          DEV_REQ_H3 (byte,dump,30)
  124.          DONTKNOW3 (byte,,6)
  125.          CLOCK_TXREC (byte,,6)
  126.          DONTKNOW3A (byte,,2)
  127.          FN1 (byte,asciiz,128)
  128.          FN2 (byte,asciiz,128)
  129.          SDB (byte,dump,21)
  130.          FOUND_FILE (byte,dump,32)
  131.          DRIVE_CDSCOPY (byte,dump,88)
  132.          FCB_FN1 (byte,ascii,11)
  133.          DONTKNOW4 (byte)
  134.          FCB_FN2 (byte,ascii,11)
  135.          DONTKNOW5 (byte,,11)
  136.          SRCH_ATTR (byte)
  137.          OPEN_ATTR (byte)
  138.          DONTKNOW6 (byte,,3)
  139.          CALL_TYPE (byte)
  140.          DONTKNOW7 (byte,,9)
  141.          TERM_PROCTYP (byte)
  142.          DONTKNOW8 (byte,,3)
  143.          CRITERR_DPBPTR (dword,ptr)
  144.          INT21_SS_SP (dword,ptr)
  145.          DONTKNOW9 (byte,,16)
  146.          MEDIA_ID (byte)
  147.          DONTKNOW10 (byte,,5)
  148.          CURR_SFTPTR (dword,ptr)
  149.          DRIVE_CDSPTR (dword,ptr)
  150.          DONTKNOW11 (byte,,8)
  151.          JFT_PTR (dword,ptr)
  152.          FN1_CSOFS (word,hex)
  153.          FN2_CSOFS (word,hex)
  154.          DONTKNOW12 (byte,,52)
  155.          BX_DS_TMP (word,,3)
  156.          PREV_STACK (dword,ptr)
  157.          DONTKNOW13 (byte,,9)
  158.          SPOP_ACT (word)
  159.          SPOP_ATTR (word)
  160.          SPOP_MODE (word)
  161.          DONTKNOW14 (byte,,29)
  162.          REN_SRCFILE (byte,,21)
  163.          REN_FILE (byte,,32)
  164.