home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a120 / 1.ddi / WATCOM_C / WAT16.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-14  |  545 b   |  21 lines

  1. /*------------------------------------------------------------------*/
  2. /* ╡{ªí└╔ªW║┘: wat16.c                                              */
  3. /*------------------------------------------------------------------*/
  4. #include <stdio.h>
  5. #include <bios.h>
  6.  
  7. void main()
  8. {
  9.  struct diskinfo_t disk;
  10.  unsigned status;
  11.  disk.drive    = 0;
  12.  disk.head     = 0;
  13.  disk.track    = 0;
  14.  disk.sector   = 0;
  15.  disk.nsectors = 1;
  16.  
  17.  printf("└|╕╒▒q║╧║╨ A: ┼¬¿·\n");
  18.  status = _bios_disk(_DISK_VERIFY,&disk);
  19.  printf("¬¼║A¼░ : 0x%4.4x\n",status);
  20. }
  21.