KATO Takenori
8b6a5e91bb
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 Takenori
77dff523b3
Fixed determination method for sector size of the 2nd IDE HDD.
2000-08-15 08:17:03 +00:00
KATO Takenori
9300e1bae2
Merged from sys/boot/i386/Makefile.inc revision 1.2.
2000-08-12 07:37:19 +00:00
KATO Takenori
c4082e99a4
- Fixed missing initialization of current device number.
...
- Fixed comment.
Pointed out by: nyan
2000-08-06 14:35:37 +00:00
KATO Takenori
aa4e20f5bd
- Fixed %si (offset to partition table) in boot.
...
- Fixed comment.
2000-08-03 13:01:45 +00:00
KATO Takenori
1ee980919d
- 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 Takenori
e9b13dd6ec
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
Yoshihiro Takahashi
78a9e97b3a
Merged from sys/boot/i386/btx/btx/btx.s revisions from 1.18 to 1.22.
2000-07-30 07:45:02 +00:00
Yoshihiro Takahashi
11c2252a1f
Merged from sys/boot/i386/libi386/biosdisk.c revision 1.31.
2000-07-14 04:23:45 +00:00
Yoshihiro Takahashi
c787eb8a72
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
Tim Vanderhoek
b0d9eb06f9
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
Daniel C. Sobral
a2aa3427cf
Move man page directives to common/Makefile.inc.
2000-05-19 08:41:45 +00:00
Yoshihiro Takahashi
86a5a8c251
- Removed hi-resolution mode supports.
...
- Added a dummy partition table.
2000-05-03 04:35:25 +00:00
Peter Wemm
365c5db0a7
Add $FreeBSD$
2000-05-01 20:32:07 +00:00
Yoshihiro Takahashi
292feef381
Sync with sys/boot/i386/libi386/biosdisk.c revision 1.30.
2000-04-30 08:24:36 +00:00
Yoshihiro Takahashi
41088a06e7
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
Yoshihiro Takahashi
b638de134f
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
Yoshihiro Takahashi
1e6081a12f
Merged from sys/boot/i386/loader/Makefile revision 1.43.
2000-04-14 13:51:14 +00:00
KATO Takenori
117a0be4e9
Merged from sys/boot/i386/loader/main.c rev 1.19.
2000-04-12 11:17:08 +00:00
KATO Takenori
c1cdadfffe
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 Takenori
fdf884ea55
Separated serial boot block interface routine into NS16550 stuff and
...
i8251 stuff.
2000-03-30 09:25:03 +00:00
Yoshihiro Takahashi
b0198bb46f
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 Takenori
080be1dd6a
Synced with sys/boot/i386/loader/Makefile rev 1.41.
2000-02-05 02:21:31 +00:00
KATO Takenori
0219f40756
Synced with sys/boot/i386/btx/btx/btx.s rev 1.14.
2000-01-29 13:48:36 +00:00
Yoshihiro Takahashi
7c1df76bc2
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
Yoshihiro Takahashi
fdab06ad70
Fixed to get the BIOS geometry.
2000-01-03 15:28:05 +00:00
Yoshihiro Takahashi
2ea9f12efa
- 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
Poul-Henning Kamp
7d5961670c
Remove BAD144 support, it has already been disabled for some time.
1999-12-08 09:33:00 +00:00
Yoshihiro Takahashi
8203d279a0
Supported to sound beep.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
Yoshihiro Takahashi
82dbc15151
Sync with sys/boot/i386/loader/Makefile revision 1.37.
1999-11-25 12:46:16 +00:00
Yoshihiro Takahashi
15e01db88b
Fixed warnings.
1999-11-16 11:59:19 +00:00
Yoshihiro Takahashi
1615de7614
Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.
1999-11-16 11:56:38 +00:00
Yoshihiro Takahashi
4374deee58
Cosmetic changes.
1999-11-16 00:42:18 +00:00
Yoshihiro Takahashi
f089b54dc6
Install loader.rc.
1999-11-16 00:38:20 +00:00
Yoshihiro Takahashi
09b1cdbdb5
Sync with sys/boot/i386/btx/btx/btx.s revision 1.13.
1999-11-03 08:32:03 +00:00
Yoshihiro Takahashi
2bb35fafc7
Sync with sys/boot/i386/libi386/Makefile revision 1.15.
1999-11-03 08:23:57 +00:00
KATO Takenori
7639f2ba3d
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 Somers
ad128796fd
Blank out the twiddly thing when outputting the ``BTX loader'' message.
1999-10-12 06:57:26 +00:00
KATO Takenori
3e30c6e0ef
- 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 Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
KATO Takenori
fd8d953545
Merge from sys/boot/i386/libi386/bootinfo.c revision 1.21.
1999-08-13 02:05:07 +00:00
KATO Takenori
538c6e3378
- 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 Takenori
13e87d2d60
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
Peter Wemm
5110b634b0
Reconcile all the loader newvers.sh's into one common one.
1999-06-29 21:23:26 +00:00
KATO Takenori
621ba6f2bb
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19.
1999-06-06 12:46:40 +00:00
KATO Takenori
c9929b08f7
Sync with sys/boot/i386/btx/Makefile revision 1.5.
1999-05-20 08:00:08 +00:00
KATO Takenori
e3583fafb4
Sync with sys/boot/i386/loader/Makefile revision 1.34.
1999-04-25 03:56:44 +00:00
KATO Takenori
5d6d02b1e2
Optimize better for space.
...
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-04-24 04:29:13 +00:00
John Polstra
607c815bef
Update #include statements to reflect the new location of "sioreg.h".
...
With these changes plus the egcs fix I committed a few minutes ago,
"make -DWANT_AOUT world" works again. Most likely, "make upgrade"
is fixed too, though I haven't tested that.
1999-04-22 21:02:44 +00:00
KATO Takenori
aad1d9f29a
Sync with sys/boot/i386/loader/Makefile revision 1.32.
1999-04-19 11:02:19 +00:00