China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 07:20
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Re: Analysis of MS-DOS Boot Programs DigestI View 6,275 Replies 5
Original Poster Posted 2003-06-01 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Sender: jan1 (Spirit), Forum: DOS
Subject: Re: Analysis of MS-DOS Boot Loader
Posted: BBS Tsinghua BBS Station (Thu Sep 11 19:48:24 1997)

【In reply to cq (Seven Virtues Layman)】
: Which expert can post it by the way, thanks a lot. I haven't found the explanation in the books I've read.

The following is a partition structure of a hard disk, divided into one pri and one ext, and the ext contains one logical

C:\>debug
-a100
1876:0100 mov ax,201
1876:0103 mov bx,7c00
1876:0106 mov cx,1 ; col 0, sector 1
1876:0109 mov dx,81 ; Second hard disk, head 0
1876:010C int 13
1876:010E int 3
1876:010F
-g=100

AX=0050 BX=7C00 CX=0001 DX=0081 SP=FFEE BP=0000 SI=0000 DI=0000
DS=1876 ES=1876 SS=1876 CS=1876 IP=010E NV UP EI PL NZ NA PO NC
1876:010E CC INT 3
-d7d80
1876:7D80 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7D90 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DA0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DB0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 01 ................
^^ dh for pri-partition
1876:7DC0 01 00 06 3F 60 F3 20 00-00 00 E0 9F 0F 00 00 00 ...?`. .........
^^^^^cx for pri-partition ^^ dh for ext-partition
1876:7DD0 41 F4 05 3F E0 F1 00 A0-0F 00 00 F0 0F 00 00 00 A..?............
^^^^^cx for ext-partition
1876:7DE0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DF0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 AA ..............U.
-a106
1876:0106 mov cx,f441 ;
1876:0109
-g=100 ; reading col:sec f441, head 0, this is ext-partition

AX=0050 BX=7C00 CX=F441 DX=0081 SP=FFEE BP=0000 SI=0000 DI=0000
DS=1876 ES=1876 SS=1876 CS=1876 IP=010E NV UP EI PL NZ NA PO NC
1876:010E CC INT 3
-d7d80
1876:7D80 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7D90 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DA0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DB0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 01 ................
^^ dh for logical driver
1876:7DC0 41 F4 06 3F E0 F1 20 00-00 00 E0 EF 0F 00 00 00 A..?.. .........
^^^^^cx for logical driver
1876:7DD0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DE0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
1876:7DF0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 AA ..............U.


--
※ Source:·BBS Tsinghua BBS Station bbs.net.tsinghua.edu.cn·

(Copied using S-Term article copy script)
==================================================
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
zhouhuang +1 2008-07-14 01:25
zzz19760225 +2 2017-10-17 16:03
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2017-09-21 02:39 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
I don't understand it, but it sounds impressive
1<词>,2,3/段\,4{节},5(章)。
Floor 3 Posted 2022-10-21 20:57 ·  中国 湖南 常德 电信
初级用户
Credits 51
Posts 26
Joined 2022-04-17 09:34
4-year member
UID 184621
Gender Male
Status Offline
Great expert! I bow down and submit
Floor 4 Posted 2023-07-23 11:29 ·  中国 浙江 台州 移动
初级用户
★★
我是新人
Credits 152
Posts 70
Joined 2023-07-21 19:34
2-year member
UID 185044
Gender Male
From 浙江省台州市
Status Offline
Where are the results?
Floor 5 Posted 2024-01-01 07:36 ·  中国 广西 电信
初级用户
Credits 27
Posts 14
Joined 2023-12-31 12:54
2-year member
UID 185519
Gender Male
Status Offline
Pure DOS and XP system coexist, don't know how to install to enter the dual - system boot interface
Floor 6 Posted 2024-02-01 16:21 ·  中国 广东 东莞 联通
初级用户
Credits 27
Posts 14
Joined 2023-12-31 12:54
2-year member
UID 185519
Gender Male
Status Offline
11111111111111111111
Forum Jump: