Write out 15 sectors of boot code.
This commit is contained in:
parent
27072bf00c
commit
ae59d02e12
@ -89,6 +89,10 @@ Write_Disk(const struct disk *d1)
|
||||
}
|
||||
|
||||
write_block(fd, 0, sl, sizeof *sl);
|
||||
|
||||
for(i = 1; i < 16; i++)
|
||||
write_block(fd, i * 512, d1->boot1 + 512 * (i - 1), 512);
|
||||
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user