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.

floppy.h 813 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * libcaca Colour ASCII-Art library
  3. * Copyright (c) 2006 Sam Hocevar <sam@hocevar.net>
  4. * 2009 Jean-Yves Lamoureux <jylam@lnxscene.org>
  5. * All Rights Reserved
  6. *
  7. * This library is free software. It comes without any warranty, to
  8. * the extent permitted by applicable law. You can redistribute it
  9. * and/or modify it under the terms of the Do What The Fuck You Want
  10. * To Public License, Version 2, as published by Sam Hocevar. See
  11. * http://sam.zoy.org/wtfpl/COPYING for more details.
  12. */
  13. struct floppy_drive
  14. {
  15. char type[16];
  16. u8 status;
  17. };
  18. struct floppy_info
  19. {
  20. int count;
  21. struct floppy_drive drive[2];
  22. };
  23. int floppy_get_info(struct floppy_info *floppy_info);
  24. void floppy_print_info(struct floppy_info *floppy_info);
  25. int floppy_get_status(void);