kato
c02a1810a6
Disabled boot2 for the moment, because it needs aout tools.
2000-12-24 14:54:34 +00:00
kato
b1e4886a37
Merged from sys/boot/i386/loader/Makefile revision 1.49.
2000-12-16 03:15:48 +00:00
nyan
48503b7c5c
Merged from the following changes.
...
sys/boot/i386/btx/btx/Makefile 1.9
sys/boot/i386/btx/btx/btx.s 1.23
sys/boot/i386/libi386/biosdisk.c 1.32 and 1.33
sys/boot/i386/libi386/biosmem.c 1.5
sys/boot/i386/libi386/comconsole.c 1.8
sys/boot/i386/libi386/gatea20.c 1.3
sys/boot/i386/libi386/time.c 1.4
sys/boot/i386/libi386/vidconsole.c 1.13
sys/boot/i386/loader/Makefile 1.48
sys/boot/i386/loader/main.c 1.22
2000-11-05 12:35:41 +00:00
nyan
3a05390ac2
Merged from sys/boot/i386/loader/main.c revision 1.21.
2000-10-15 02:56:48 +00:00
kato
f5ba1f6568
Merged from sys/boot/i386/loader/main.c revision 1.23.
2000-09-22 12:51:22 +00:00
kato
acbb8f63f1
Merged from sys/boot/i386/libi386/Makefile revision 1.19.
2000-09-22 12:49:15 +00:00
kato
cefd56cea5
Merged from sys/boot/i386/loader/Makefile revision 1.47.
2000-09-08 11:18:40 +00:00
kato
c7d77e4693
The INT 1B BIOS call is used to obtain geometries of SASI/IDE hard
...
drives. Some IDE cards don't set propler information into BIOS work
are and their sector size were always recognized as 256 bytes/sector.
Pointed out by: jagarl@creator.club.ne.jp
2000-08-31 10:24:06 +00:00
kato
44996f9118
Fixed determination method for sector size of the 2nd IDE HDD.
2000-08-15 08:17:03 +00:00
kato
249914291a
Merged from sys/boot/i386/Makefile.inc revision 1.2.
2000-08-12 07:37:19 +00:00
kato
0353c0fbd4
- Fixed missing initialization of current device number.
...
- Fixed comment.
Pointed out by: nyan
2000-08-06 14:35:37 +00:00
kato
e773ca51d9
- Fixed %si (offset to partition table) in boot.
...
- Fixed comment.
2000-08-03 13:01:45 +00:00
kato
003617e886
- Fixed pointer to the partition table in the buffer.
...
- Use shift by %cl instead of five shifts by 1.
2000-08-03 09:00:19 +00:00
kato
719b29e2f0
Added PC-98 HDD boot manager. The boot0 is the `IPL' which occupies
...
sector 0 of a disk and boot0.5 is the `boot selector' which starts
from address 0x400. The IPL loads boot0.5 and boot0.5 loads bootblock
of a slice.
The boot manager stuff was developed by me (kato) with Borland C++,
and then, translated into bcc in the ports collection by Nokubi-san.
After that, boot0 has been translated into gas with the .code16
directive by Takahashi-san (nyan) and boot0.5 has been rewritten in
gas by me.
2000-08-02 08:46:08 +00:00
nyan
f772c8fd80
Merged from sys/boot/i386/btx/btx/btx.s revisions from 1.18 to 1.22.
2000-07-30 07:45:02 +00:00
nyan
9563771e2e
Merged from sys/boot/i386/libi386/biosdisk.c revision 1.31.
2000-07-14 04:23:45 +00:00
nyan
892ccf7da3
Sync with the following changes.
...
sys/boot/i386/btx/btx/Makefile 1.8
sys/boot/i386/btx/btx/btx.s 1.16 and 1.17
sys/boot/i386/btx/btxldr/btxldr.s 1.10
sys/boot/i386/loader/Makefile 1.45
2000-05-29 11:58:01 +00:00
hoek
025d68f847
Make this compile in case anyone ever wants to use the PC98 booter
...
on an IBM machine. This fix matches i386/boot2/boot.c.
PR: kern/7903
2000-05-21 05:27:56 +00:00
dcs
8435cba2f5
Move man page directives to common/Makefile.inc.
2000-05-19 08:41:45 +00:00
nyan
058748cefb
- Removed hi-resolution mode supports.
...
- Added a dummy partition table.
2000-05-03 04:35:25 +00:00
peter
22f6069a2a
Add $FreeBSD$
2000-05-01 20:32:07 +00:00
nyan
ec3992b59d
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.30.
2000-04-30 08:24:36 +00:00
nyan
26cbedd66b
Sync with the following changes.
...
sys/boot/i386/libi386/Makefile 1.16 and 1.17
sys/boot/i386/loader/Makefile 1.44
sys/boot/i386/loader/main.c 1.20
2000-04-23 09:33:31 +00:00
nyan
41a5f6cba7
The printf function of boot2 can't recognize "%lx" format.
...
Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
2000-04-14 14:25:13 +00:00
nyan
241fa1a8d5
Merged from sys/boot/i386/loader/Makefile revision 1.43.
2000-04-14 13:51:14 +00:00
kato
da90280d53
Merged from sys/boot/i386/loader/main.c rev 1.19.
2000-04-12 11:17:08 +00:00
kato
f6d236e3a2
Synced with following files:
...
src/sys/boot/i386/Makefile.inc 1.1
src/sys/boot/i386/btx/btx/btx.s 1.15
src/sys/boot/i386/btx/btxldr/Makefile 1.8
src/sys/boot/i386/btx/btxldr/btxldr.s 1.9
src/sys/boot/i386/libi386/biosdisk.c 1.29
src/sys/boot/i386/loader/Makefile 1.42
src/sys/boot/i386/loader/main.c 1.18
(entry point address of loader was not changed.)
Reviewed by: nyan
2000-03-31 16:03:02 +00:00
kato
1f650b7e9c
Separated serial boot block interface routine into NS16550 stuff and
...
i8251 stuff.
2000-03-30 09:25:03 +00:00
nyan
f64cb112ed
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.27 and 1.28.
...
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2000-03-17 12:38:36 +00:00
kato
1ed4e27f18
Synced with sys/boot/i386/loader/Makefile rev 1.41.
2000-02-05 02:21:31 +00:00
kato
ac9d6cb3b4
Synced with sys/boot/i386/btx/btx/btx.s rev 1.14.
2000-01-29 13:48:36 +00:00
nyan
09fefd34d0
Merge from the following changes.
...
sys/boot/i386/libi386/biosmem.c Rev 1.4
sys/boot/i386/libi386/time.c Rev 1.3
sys/boot/i386/loader/main.c Rev 1.16
2000-01-03 15:43:52 +00:00
nyan
1d91115edd
Fixed to get the BIOS geometry.
2000-01-03 15:28:05 +00:00
nyan
73b600cb26
- Supported the bd_getbigeom function and use this function to get BIOS
...
geometry.
- Use i386/libi386/bootinfo.c instead of pc98/libpc98/bootinfo.c.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-12-19 14:05:46 +00:00
phk
551bfa2f51
Remove BAD144 support, it has already been disabled for some time.
1999-12-08 09:33:00 +00:00
nyan
e5fba3d478
Supported to sound beep.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
nyan
79489665c7
Sync with sys/boot/i386/loader/Makefile revision 1.37.
1999-11-25 12:46:16 +00:00
nyan
c4b721b43b
Fixed warnings.
1999-11-16 11:59:19 +00:00
nyan
29d6e6d9a7
Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.
1999-11-16 11:56:38 +00:00
nyan
08b896067d
Cosmetic changes.
1999-11-16 00:42:18 +00:00
nyan
e7d8efeeda
Install loader.rc.
1999-11-16 00:38:20 +00:00
nyan
3415a19e36
Sync with sys/boot/i386/btx/btx/btx.s revision 1.13.
1999-11-03 08:32:03 +00:00
nyan
e9b6ffaaf2
Sync with sys/boot/i386/libi386/Makefile revision 1.15.
1999-11-03 08:23:57 +00:00
kato
eef5cc208d
Sync with sys/boot/i386/btx/btx/Makefile and btx.s revisions 1.7 and
...
1.12, respectively.
1999-10-13 10:55:56 +00:00
brian
58eae5b556
Blank out the twiddly thing when outputting the ``BTX loader'' message.
1999-10-12 06:57:26 +00:00
kato
a0968f988f
- Fixed DMA 64k boundary problem.
...
- Test the processor flag to detect disk I/O BIOS errors.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-09-23 03:57:16 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
kato
5d961b3389
Merge from sys/boot/i386/libi386/bootinfo.c revision 1.21.
1999-08-13 02:05:07 +00:00
kato
775a45e1a2
- Don't assume that SCSI ID numbers of HDD units are contiguous. That
...
is, don't assume that SCSI ID corresponds to a unit number of da
device. Unit number of da device is provided by 2nd stage loader
and 3rd stage loader now use it.
- Fix drive letter to display.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-08-05 03:19:37 +00:00
kato
0a6997ccc9
Provides discontinuous unit number support to make external FDD
...
bootable on 1 FDD PC98 machines. (When an external FDD unit is
installed, unit numbers become discontinuous.)
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
1999-08-05 03:12:20 +00:00