I've added code to mkfs7 to build a free block list, to write it out to

the disk image, and to add a pointer in block zero to the beginning of
the list.
This commit is contained in:
Warren Toomey
2016-03-11 22:00:25 +10:00
parent bfeb833141
commit e5457d15fb
2 changed files with 61 additions and 11 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ sub read_word {
return (($b1 & 0xff) |
(($b2 & 0xff) << 8 ) |
(($b3 & 0xff) << 16) |
(($b3 & 0xff) << 24));
(($b4 & 0xff) << 24));
}
### Main program