| 15 | Trying to figure out how to make a bootable floppy. Restored the script "createdrives" |
| 16 | from old SVN. Found an old set of instructions which don't work. Some observations: |
| 17 | |
| 18 | CPM disk images in z80pack are 256256 bytes long. This is not a multiple of 512, and |
| 19 | thus AFAIK cannot be created by FUZIX "mkfs" tool. A buried note in git says: |
| 20 | |
| 21 | "If you put just a kernel on floppy and the image on hard disk and boot with that as root fs it should work," |
| 22 | |
| 23 | In {{{Kernel/platform-z80pack/README}}} it says: |
| 24 | |
| 25 | {{{ |
| 26 | Put the kernel at the end of a floppy image from cyl 60 |
| 27 | Add the fs in the first 58 cyls (366 blocks) |
| 28 | Put the bootblock in sector 0 |
| 29 | dd the kernel image to offset 193024 |
| 30 | ie |
| 31 | dd if=fuzix.bin of=drivea.cpm bs=1 seek=193024 conv=notrunc |
| 32 | }}} |
| 33 | |
| 34 | This is all very well, but not obvious at all how to handle this with the tools provided. |
| 35 | First thing to try is to grab the {{{drivea.cpm}}} image and replace the boot block |
| 36 | and kernel with updated ones, leaving the FS alone. |