Re: bootxx needs to fit within 0th track of MBR partition?
David Brownlee <[email protected]> Fri, 25 Aug 2023 18:06:47 +0100
| Newsgroups | gmane.os.netbsd.ports.i386,gmane.os.netbsd.ports.x86-64 |
|---|---|
| Message-ID | <CAGN_6panx-0Zuxde+XQRVAmE040+GO3nUqhL2zm2DvWG8N6B+A@mail.gmail.com> |
A note on the "fit within 0th track" requirement, which most reading probably already know, but may be interesting to others. A PC BIOS requires Cylinder, Head & Sector values for disk access calls, and keeping everything in the same track avoids the need for code to deal with different track sizes, and even code to deal with different cylinders at all, which is handy in the rather space constrained MBR area (446 full 8 bit bytes of code space) David