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-08-12 18:23
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Read the master boot record of the hard disk with DEBUG View 1,964 Replies 7
Original Poster Posted 2003-02-26 00:00 ·  中国 广东 广州 电信
银牌会员
★★★
想當一人之下萬人之上
Credits 1,275
Posts 393
Joined 2003-01-10 00:00
23-year member
UID 717
Gender Male
Status Offline
C:\>DEBUG
-a100
mov ax,0201 ;02 means "read"
mov bx,200 ;The running result is placed at the memory address 0200
mov cx,1 ;
mov dx,80 ;80 means the first hard disk
int 13 ;Call the disk interrupt
int 20 ;End the program
-g=100 ;Run the program starting from 100
-d200 ;Display the master boot record
-q
<- 刷新一下换个MM
叫我Jorkin或小p就行,别再叫playboy2925了,跟提犯人似的。
如果认为小弟发的logo不错的话,给朵鲜花我就知道了。:)
Floor 2 Posted 2003-02-26 00:00 ·  中国 广东 佛山 顺德区 电信
中级用户
Credits 223
Posts 36
Joined 2003-01-08 00:00
23-year member
UID 707
Gender Male
Status Offline
i know this.
but i don't know how to see FAT?
Do you know?
Floor 3 Posted 2003-02-26 00:00 ·  中国 北京 海淀区 教育网
初级用户
wolfwood
Credits 158
Posts 14
Joined 2003-02-14 00:00
23-year member
UID 919
Gender Male
Status Offline
It is suggested not to use int20 to end the program, some software will take over it, how good it is to use int3(cch).
我不能偷也不能搶
Floor 4 Posted 2003-06-18 00:00 ·  中国 上海 浦东新区 电信
初级用户
Credits 124
Posts 3
Joined 2003-06-14 00:00
23-year member
UID 5142
Gender Female
Status Offline
Floor 5 Posted 2003-07-02 00:00 ·  中国 广东 佛山 禅城区 电信
初级用户
Credits 137
Posts 9
Joined 2003-07-02 00:00
23-year member
UID 6299
Gender Male
Status Offline
It's still not completely clear. I really want to learn DOS well! Help me!
Floor 6 Posted 2003-07-04 00:00 ·  中国 河北 保定 中移铁通
初级用户
Credits 109
Posts 1
Joined 2003-06-25 00:00
23-year member
UID 5864
Gender Male
Status Offline
Floor 7 Posted 2003-07-04 00:00 ·  中国 广东 广州 增城区 电信
中级用户
50030
Credits 263
Posts 49
Joined 2002-11-08 00:00
23-year member
UID 193
Gender Male
From 广东
Status Offline
To understand the knowledge in one aspect, it is best to be able to buy two or three similar, appropriate computer books. Appropriate books have comprehensive basic theoretical knowledge. What others provide are just skills in a certain aspect. I think accumulating fragmented skills is not very suitable for beginners because a few lines of text from others may contain basic knowledge in various aspects. Others are not patient to explain the basic theory to you. Without basic theory, it is easy to take many detours and spend time. One should have basic books to cooperate with learning, and then it is easy to accept others' skills.
clipper 有谁在用?交流一下
Floor 8 Posted 2003-07-05 00:00 ·  中国 安徽 滁州 电信
初级用户
Credits 136
Posts 7
Joined 2003-06-03 00:00
23-year member
UID 3185
Gender Male
Status Offline
Forum Jump: