Commit Graph

20 Commits

Author SHA1 Message Date
christos
8ce2d80d7a back out previous; it is better for now to handle the dependencies in
bsd.prog.mk
2001-01-14 09:41:41 +00:00
christos
c26e2519ac add .NOTMAIN for good measure. 2001-01-14 09:24:30 +00:00
christos
9b6a2fbeb4 don't use OBJ in the dependency line cause it is not defined yet. 2001-01-14 09:21:24 +00:00
lukem
42039d09f9 use .Xr 2000-11-07 05:40:17 +00:00
perry
39546c529f add bootselect MLINK -- from jhawk 2000-03-06 01:23:11 +00:00
hubertf
04a9ed5842 Revert last change, it was caused by the build not picking the
right files if DESTDIR is set.
2000-02-11 16:14:32 +00:00
hubertf
e597c0a106 s/STRIP/STRIPPROG/ 2000-02-11 15:36:25 +00:00
tsutsui
c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
fvdl
6a2c64449b Sanity check the drive number in %dl and use it instead of blindly
assuming disk 0.
1999-05-02 13:48:30 +00:00
fvdl
c0042f7871 Because of space constraints, error messages got shortened. Reflect this
in the manual page.
1999-05-02 12:18:40 +00:00
ross
255793452f Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
1999-05-02 04:42:47 +00:00
christos
8eeaf82ae4 - Use the proper multiply instructions so that we don't get truncated.
- Fix comparison, which did not work before.
1999-04-30 15:29:44 +00:00
fvdl
a6f7895b92 Only use int13 extensions if the sectors can not be read through the
older CHS interface. This works around stupid BIOSs who report that
int13 extensions are present and functional, but fail when you actually
use them. Like Adaptec SCSI BIOSs.

For the bootselector, there was no space to get the CHS info from
the BIOS. Instead, use a flag that can be set by fdisk. fdisk will
set it if one of the partitions on the disk is out of CHS reach
for this disk/BIOS, so that the bootselector will use int13 extensions.
This isn't so bad, because it needs to be configured via fdisk anyway.

Change the mbr manualpage to reflect some shorter error messages.
1999-04-28 23:27:01 +00:00
fvdl
7adcf112ca Add a manual page describing the MBR and the bootselector. 1999-04-15 22:35:19 +00:00
fvdl
fa9bff9be1 Add and build a bootselecting MBR (i386). 1999-04-15 22:31:23 +00:00
christos
22f9ed8d9b Make it work for both elf and a.out 1999-03-24 16:02:41 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
ws
f0a4bb6818 Use the drive parameter from the partition table
to support booting from the second disk.
1999-02-08 21:52:43 +00:00
ws
faf59c0aba Initialize drive number in DL (not done by some BIOSs).
If you want to use 32-bit addresses, be sure to init the high bits, too.
Some additional register saves around BIOS calls (just in case).
1999-01-28 14:14:04 +00:00
ws
3cdac6d69c Separate master bootcode from fdisk.
Add int13 extension support to master bootcode.
1998-10-15 15:22:13 +00:00