Robert Nordier
bf0eae60c5
Optimize better for space.
...
Thanks to: jdp
1999-04-05 07:24:51 +00:00
David E. O'Brien
df5ee53868
Remove the string ">>> FreeBSD/i386 BOOT". I need to reduce the size of
...
boot2 by 16 bytes. I expect this to be temperary until the boot2 authors
can do the proper fix.
1999-04-04 21:15:41 +00:00
Joerg Wunsch
9859e703f6
Make <DEL> an alternative rubout character for command input; many
...
serial terminals use this as their default rubout key.
1999-03-31 08:28:42 +00:00
Daniel C. Sobral
76bd51f729
Avoid copying m_args if none exists. (Perhaps this is a better solution,
...
Doug?)
1999-03-18 14:36:22 +00:00
Daniel C. Sobral
276dcca185
Version bump: kvm & dictionary size.
1999-03-17 23:05:46 +00:00
Daniel C. Sobral
306a07af57
The man page, version 0.1.
1999-03-15 08:52:23 +00:00
Daniel C. Sobral
f847f7558c
Install new loader.rc stuff.
1999-03-10 03:34:14 +00:00
Daniel C. Sobral
445a035707
Add MODINFO_ARGS, parameters passed to a module at load time.
...
VS: ----------------------------------------------------------------------
1999-03-08 11:05:52 +00:00
Robert Nordier
a3c69bbcf8
Save option, rather than slice, selected. This permits unattended
...
booting from other than drive 0, as the F5 keypress is saved and
"replayed."
Requested (some time ago) by: archie
1999-03-01 02:42:47 +00:00
Robert Nordier
5052aa25a1
Implement "setdrv" option
1999-02-26 14:51:14 +00:00
Robert Nordier
401d37631a
Emulate a V86 "movl %cr0,%eax" instruction.
...
Feedback and testing: Kurt Hopfensperger <kjhmdjd@ix.netcom.com>
1999-02-25 16:27:41 +00:00
Mike Smith
bf18286593
Don't try protecting page 0; it seems that BIOS writers now feel it's
...
appropriate to check for Windows95 by polling for state in low
memory, with fatal results.
Submitted by: rnordier@freebsd.org
1999-02-24 01:37:23 +00:00
Daniel C. Sobral
b9305c6c70
Bumb up loader's version.
...
Reviewed by: Michael Smith <msmith@freebsd.org>
1999-02-08 04:14:31 +00:00
Robert Nordier
391911b768
Check size of partition before using it.
1999-01-29 03:36:42 +00:00
Robert Nordier
ab19eb8230
Fix a couple of further bugs: missing argument to sprintf() and
...
"==" used for "=".
1999-01-25 23:07:02 +00:00
Mike Smith
84ef5a8f66
Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.
...
PR: bin/9651
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 06:03:44 +00:00
Mike Smith
1c2587457f
Document root_disk_unit
1999-01-24 00:12:17 +00:00
Mike Smith
c679ae39a8
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
Mike Smith
5d3d992565
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
Robert Nordier
d0a4f5ea63
Fix read error not being detected.
1999-01-22 18:32:52 +00:00
Robert Nordier
d7478bf0df
Push version numbers up to 1.00. This is just intended to reflect
...
that the BTX code can be regarded as stable: there are no associated
code changes.
Suggested by: obrien
1999-01-22 13:07:17 +00:00
Mike Smith
378972ac6b
Transition from using Perl to using awk for our text-manipulation
...
needs. This removes the dependancy on Perl for the generation of the
loader, allowing the world to be built on a perl-free system.
Submitted by: Joe Abley <jabley@clear.co.nz>
1999-01-18 19:05:27 +00:00
Robert Nordier
05c7fdda18
In the event of a disk error, boot2 is expecting an error
...
code to be returned: give it one
1999-01-13 23:30:07 +00:00
Robert Nordier
726c0943c0
Drop boot.help support.
1999-01-11 11:36:03 +00:00
Mike Smith
ba536e2ae8
Preserve the previous loader as loader.old.
...
Note no matching commit for the Alpha, as the alpha boot0 stage does
not have the ability to prompt for user input.
PR: kern/9406
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-11 05:52:28 +00:00
Mike Smith
f414995e5c
Disable kzipping the loader; it seems to be breaking the aout-to-elf build
1999-01-10 20:20:27 +00:00
Steve Price
24d156f499
Remove redundant line of code.
...
PR: 9364
Submitted by: Daniel C. Sobral <dcs@newsguy.com>
1999-01-10 18:22:23 +00:00
Robert Nordier
c03fa7f977
Use etc/make.conf settings for serial port and speed.
...
Submitted by: rvb
Reviewed by: bde
1999-01-10 14:48:05 +00:00
Peter Wemm
c03b24b2d8
Damn, I thought I had committed this already, but it seems not.
...
Move the relocated boot1 and arg transfer space from 0x600/0x800 to
0x700/0x900. In theory this should make no difference, apart from the fact
that Buslogic controllers happen to use a few bytes at 0x600 for some sort
of scratch space for it's int 0x13 hook (!!!), causing the machine to crash
badly when the boot2 code makes it's callbacks into boot1 for disk IO.
Submitted by: Robert Nordier <rnordier@freebsd.org>
1999-01-10 13:29:52 +00:00
Mike Smith
244cf84b1e
Explicitly look for kzip in /usr/bin, again this is a stopgap, to avoid
...
making kzip a build tool.
1999-01-09 20:14:46 +00:00
Mike Smith
82bbbb8c73
kzip the loader, this shrinks it to about 60% of its original size.
...
Note that this is a stopgap with dependancies on the a.out tools.
1999-01-09 02:38:40 +00:00
Mike Smith
ee5799c4ee
Extend bd_print() so that it displays slices and partitions on disks.
1999-01-09 02:36:19 +00:00
Peter Wemm
e423230b0d
Fix a potential sign extension bug on 8-bit chars.
...
Outputting a backspace isn't supposed to be destructive.. It isn't on
most terminals, nor on the standard bios output (vs. TERM_EMU mode)
1999-01-04 18:45:08 +00:00
Mike Smith
170aadf69a
Restore dependancy to build loader.help here
1999-01-04 01:28:46 +00:00
Mike Smith
5dfcac87f7
Reenable generation of the loader.help file
1999-01-03 20:50:35 +00:00
Andrzej Bialecki
de37e4a6d2
Add back ability to make beeps when using new TERM_EMU.
...
Submitted by: W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 13:44:04 +00:00
Andrzej Bialecki
cf9443f92b
Add simple terminal emulator, compatible with cons25. Currently supported
...
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.
You'll find some examples how to use it in src/share/examples/bootforth.
Reviewed by: jkh
1998-12-22 11:51:25 +00:00
Mike Smith
c2e3e002f6
Disable build/install of boot.help until we sort out how to construct it
...
in the makeworld environment.
1998-12-16 02:27:15 +00:00
Mike Smith
8719fada36
Reformat help to improve subtopic display appearance, other minor
...
cleaning. The 'help' command in the loader should now be usable and
hopefully informative.
1998-12-15 14:32:17 +00:00
Mike Smith
aa203600d5
Build the composite help file from the generic and architecture-specific
...
help files, sorting topics and subtopics to allow maximum flexibility.
1998-12-15 14:21:30 +00:00
Andrey A. Chernov
722135c358
unlocalize date
...
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1998-12-07 16:17:41 +00:00
Robert Nordier
b956ca7ca4
Revise some comments and labels.
1998-12-05 11:58:33 +00:00
Robert Nordier
12c38b04f1
Drop EDD support detection, though retain configurable use of disk
...
packet interface. Add booteasy-style F5 support. Add no-update
option. Implement various space optimizations and consistency fixes.
1998-11-29 14:09:00 +00:00
Robert Nordier
5103ed619b
Drop use of BIOS int 0x14 services in favor of direct port I/O.
...
Feedback and testing: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-11-22 07:59:16 +00:00
Mike Smith
8f0a6b5b8c
Add a new variable $num_ide_disks which is used to offset the unit number
...
for SCSI disks when converting from BIOS unit numbers to da unit numbers.
Prompted by Kevin Street <street@iname.com>
1998-11-13 23:40:02 +00:00
Jordan K. Hubbard
207fe43d59
bootforth seems to be working well enough for me and others to turn
...
on by default. If it causes trouble, it's very easy to switch off again.
1998-11-12 07:40:51 +00:00
Robert Nordier
21ffb6774a
Revise error messages.
1998-11-11 08:56:17 +00:00
Robert Nordier
0293eac42c
Prevent boot.config being parsed more than once.
1998-11-08 18:37:28 +00:00
Robert Nordier
7ac90f7d65
Drop the familiar 'text=xxxx data=xxxx bss=xxxx ...' display while
...
loading. This eliminates noise when loading boot/loader; and when
loading a kernel, they generally flash by too fast to be
intelligible anyway.
1998-11-08 18:29:29 +00:00
Robert Nordier
9888bdcd29
boot1: Eliminate EDD detection and optional use of disk packet
...
interface. Do some general consistency fixes and space optimizations.
Use of some freed-up space to defend against possible BIOS misfeatures.
boot2: Revise disk read interface to provide for boot1 changes. Free
up space for this.
1998-11-08 15:36:35 +00:00