Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
732 B

  1. #if defined(NEC_98)
  2. #define BYTE_PER_SECTOR 1024
  3. #define SECTOR_PER_TRACK 8
  4. #define TOTAL_CYLINDER 77
  5. #define HEADS 2
  6. #define MAX_FLOPPY_LEN (BYTE_PER_SECTOR*SECTOR_PER_TRACK*TOTAL_CYLINDER*HEADS)
  7. // #define SCRATCH_BUFFER_SIZE (BYTE_PER_SECTOR * SECTOR_PER_TRACK)
  8. #endif //NEC_98
  9. //
  10. // Optimize this constant so we are guaranteed to be able to transfer
  11. // a whole track at a time from a 1.44 meg disk (sectors/track = 18 = 9K)
  12. //
  13. #define SCRATCH_BUFFER_SIZE 9216
  14. //
  15. // Buffer for temporary storage of data read from the disk that needs
  16. // to end up in a location above the 1MB boundary.
  17. //
  18. // NOTE: it is very important that this buffer not cross a 64k boundary.
  19. //
  20. extern PUCHAR LocalBuffer;