![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-13 00:42 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Back up the hard disk master boot partition to a file with DEBUG |
| Printable Version 2,713 / 16 |
| Floor1 playboy2925 | Posted 2003-02-26 00:00 |
| 银牌会员 Posts 393 Credits 1,275 | |
|
C:\DOS>DEBUG
-a100 1078:0100 mov ax,0201 ; 02 = read, 01 = number of sectors to read 1078:0103 mov bx,0200 ; after reading, place it at 0200 in memory 1078:0106 mov cx,0001 ; 00 = track number, 01 = starting sector number 1078:0109 mov dx,0080 ; 00 = head 0, 80 means hard disk 1078:010C int 13 ; BIOS disk interrupt 1078:010E int 20 ; end 1078:0110 ^C -g=100 ; execute from 0100 Program terminated normally ; program display -rcx ; the CX register defines the size of the saved file CX 0000 ; set file size :300 ; 300H = 768 bytes -n mainboot.dat ; save to file mainboot.dat -w ; write file Writing 00300 bytes ; program display -q ; quit DEBUG |
|
| Floor2 jsxrs | Posted 2003-03-04 00:00 |
| 初级用户 Posts 1 Credits 97 | |
|
OK, thanks!!!
|
|
| Floor3 末学 | Posted 2003-03-17 00:00 |
| 初级用户 Posts 2 Credits 116 | |
|
OK, thanks!!!
|
|
| Floor4 lkkl | Posted 2003-03-20 00:00 |
| 初级用户 Posts 3 Credits 113 | |
|
Good stuff...
I'll take it... Thanks, brother... |
|
| Floor5 mchdos | Posted 2003-03-26 00:00 |
| 初级用户 Posts 5 Credits 115 From 渐江 | |
|
Just what I needed.
Many thanks, brother. Thanks!!!!!!!!!! |
|
| Floor6 anywayhere | Posted 2003-05-18 00:00 |
| 初级用户 Posts 3 Credits 112 | |
| Floor7 superdos | Posted 2003-06-11 00:00 |
| 中级用户 Posts 43 Credits 272 | |
| Floor8 pizigao | Posted 2003-06-11 00:00 |
| 银牌会员 Posts 292 Credits 1,063 | |
|
Why not use kv3000? This is too complicated, boss!!!
|
|
| Floor9 sstone | Posted 2003-06-11 00:00 |
| 初级用户 Posts 1 Credits 107 | |
|
OK, thanks!!!
|
|
| Floor10 丁丁猫 | Posted 2003-06-11 00:00 |
| 初级用户 Posts 1 Credits 105 | |
|
I'm new here, please take care of me
|
|
| Floor11 mofashi | Posted 2003-06-11 00:00 |
| 初级用户 Posts 8 Credits 135 | |
|
OK, thanks!!!
|
|
| Floor12 bgn | Posted 2003-06-19 00:00 |
| 中级用户 Posts 78 Credits 349 | |
|
You're welcome, I'll take it.
Thank you. |
|
| Floor13 wrh | Posted 2003-06-19 00:00 |
| 初级用户 Posts 2 Credits 109 | |
| Floor14 myfilm | Posted 2003-06-21 00:00 |
| 初级用户 Posts 8 Credits 137 | |
|
OK, thanks!!!
|
|
| Floor15 myfilm | Posted 2003-06-21 00:00 |
| 初级用户 Posts 8 Credits 137 | |
|
Can't see the content below?
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |