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
-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




