SoFunction
Updated on 2025-04-09

Restore the primary boot partition

    A:
     C:\DOS>DEBUG
-n  ;Load the backup data file
-l                                                                                                                              �
     -a100
1078:0100 mov ax,0301 ;03 = write, 01 = number of sectors
1078:0103 mov bx,0200 ; Start writing from 0200  in memory
1078:0106 mov cx,0001 ;00 = Track number, 01 = Start sector number
1078:0109 mov dx,0080 ;00 = 0 head, 80 represents the hard disk
1078:010C int 13     ;BIOS Disk Interrupt
1078:010E int 20      ;End
     1078:0110 ^C
-g=100                                                                                                                                     -g=100                                    -g=100                               -g=100                                -g=100        �
     Program terminated normally
-q                                                                                                                              �