diff options
| author | KATO Takenori <kato@FreeBSD.org> | 2000-08-03 13:01:45 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 2000-08-03 13:01:45 +0000 |
| commit | aa4e20f5bd1cdd93edd80e478a6416ee40a05310 (patch) | |
| tree | 19d600c24d98f100616586caaf4e0b8ac7d06029 /sys/boot/pc98 | |
| parent | 3057c28f040f5e96faa5d64fdc4b30d7b39f7bf0 (diff) | |
Notes
Diffstat (limited to 'sys/boot/pc98')
| -rw-r--r-- | sys/boot/pc98/boot0.5/boot.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/pc98/boot0.5/boot.s b/sys/boot/pc98/boot0.5/boot.s index 8b25d515a6b7..1a3bfc7c8790 100644 --- a/sys/boot/pc98/boot0.5/boot.s +++ b/sys/boot/pc98/boot0.5/boot.s @@ -97,8 +97,8 @@ boot: # %cx: cylinder number of boot partition # %si: pointer to partition table movw b_partn, %ax - movb $10, %cl - shl %cl, %ax # %ax = partition number * 32 * 32 + movb $5, %cl + shl %cl, %ax # %ax = partition number * 32 addw b_secsize, %ax movw %ax, %si # %si = pointer to partition table movw b_cylinder, %cx # %cx = cylinder @@ -118,7 +118,7 @@ boot: xorw %ax, %ax movw %ax, %ds # %ds = 0 movw %di, %ax # Restore %ax - xorb %ah, %ah # %di = 0 + xorb %ah, %ah # %ah = 0 xorw %di, %di # %di = 0 sti |
