home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WIN_UTL2 / SAMDU260.ZIP / IOSTATUS.H < prev    next >
Text File  |  1994-04-01  |  3KB  |  81 lines

  1. /*********************************************************************/
  2. /*                                                                   */
  3. /*    Name:    IOSTATUS.H                                            */
  4. /*                                                                   */
  5. /*    Copyright (c) Stewart A. Berman 1992,3,4 All rights reserved   */
  6. /*                                                                   */
  7. /*********************************************************************/
  8. #ifndef __IOSTATUS_H__
  9. #define __IOSTATUS_H__
  10.  
  11. #define STATUS1_INIT                   0xFFFF
  12.  
  13. #define STATUS1_START                  0x0000
  14. #define STATUS1_BOOT_SECTOR            0x0001
  15. #define STATUS1_DIRECTORY              0x0002
  16. #define STATUS1_FAT                    0x0003
  17. #define STATUS1_SYSTEM_FILE            0x0004
  18. #define STATUS1_CYLINDER               0x0005
  19. #define STATUS1_CLUSTER                0x0006
  20. #define STATUS1_HEAD                   0x0007
  21. #define STATUS1_SYSTEM                 0x0008
  22. #define STATUS1_END                    0x0009
  23.  
  24. #define STATUS1_ERROR                  0x000B
  25.  
  26. #define STATUS2_FILE                   0x0001
  27.  
  28. #define STATUS3_OPEN_FAIL              0x0001
  29. #define STATUS3_OPEN_FLAGS_BAD         0x0002
  30. #define STATUS3_OPEN_INPUT_BAD         0x0003
  31. #define STATUS3_OPEN_NOT_SUPPORTED     0x0004
  32. #define STATUS3_OPEN_FILE_IO_ERROR     0x0005
  33.  
  34. #define STATUS2_FILE_READ              0x0002
  35. #define STATUS2_FILE_WRITE             0x0003
  36.  
  37. #define STATUS2_WRITE                  0x0004
  38. #define STATUS2_READ                   0x0005
  39. #define STATUS2_FORMAT                 0x0006
  40. #define STATUS2_FORMATTING             0x0007
  41.  
  42. #define STATUS2_SYSTEM                 0x0008
  43.  
  44. #define STATUS2_SYSTEM_FILE_MISSING    0x0009
  45. #define STATUS2_SYSTEM_FILE_OPEN       0x000A
  46.  
  47. #define STATUS2_MEMORY                 0x000B
  48.  
  49. #define STATUS2_SYSTEM_FILE            0x000C
  50.  
  51. #define STATUS2_FAT                    0x000D
  52.  
  53. #define STATUS2_DIRECTORY              0x000E
  54.  
  55. #define STATUS2_SYSTEM_BOOT_SECTOR     0x000F
  56.  
  57. #define STATUS2_BOOT_SECTOR            0x0010
  58.  
  59. #define STATUS2_DISK_SPACE             0x0011
  60.  
  61. #define STATUS2_HEAD                   0x0012
  62.  
  63. #define STATUS2_COMPARE                0x0013
  64.  
  65. #define STATUS2_DPT                    0x0014
  66.  
  67. #define STATUS2_SECTORS                0x0015
  68.  
  69. #define STATUS2_CLUSTER                0x0016
  70.  
  71. #define STATUS2_UNSUPPORTED            0x0017
  72.  
  73. #define GLOBALDOSALLOCERROR            0x0100
  74.  
  75. #define MAXSECTORSIZE 512
  76. #define MAXSECTORS     36
  77. #define MAXHEADS        2
  78. #define MAXCYLINDERS   80
  79.  
  80. #endif /* __IOSTATUS_H__ */
  81.