diff --git a/second/iso9660.c b/second/iso9660.c deleted file mode 100644 index 8836fd7..0000000 --- a/second/iso9660.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * - * (c) 2004 Laurent Vivier - * - */ - -#include - -#include "scsi.h" - -#define SECTOR_SIZE (2048) -#define ISO_BLOCKS(X) (((X) / SECTOR_SIZE) + (((X)%SECTOR_SIZE)?1:0)) - -void device_read(off_t offset, void* buffer, size_t size) -{ - scsi_READ(3, offset, ISO_BLOCKS(size), buffer, size); -}