load super block

This commit is contained in:
w-mj committed 2019-06-17 21:38:10 +08:00
1 parent 9141002fc5
commit b54a2d6dcd
14 files changed
+213 -47

No files matched your search

+6
View File
@@ -9,5 +9,11 @@ int main(void) {
disk.read(buf, 128);
fwrite(buf.raw(), 1, 128, stdout);
fflush(stdout);
disk.seek(0);
disk.read(buf, 128);
fwrite(buf.raw(), 1, 128, stdout);
printf("%d\n", disk.tell());
fflush(stdout);
disk.close();
}