From: Drew Eckhardt (drew@hamlet.cs.colorado.edu)
Date: 05/02/92


From: drew@hamlet.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Making a boot disk (please help!)
Date: 2 May 1992 19:49:50 GMT

In article <56272@hydra.gatech.EDU> gt0178a@prism.gatech.EDU (Jim Burns) writes:
>in article <1992May1.080035.25648@ugle.unit.no>, hallvard@immhp3.marina.unit.no (Hallvard Paulsen) says:
>
>> The part of editing the bootimage disk I just cant get. I've
>> got the pboot.exe dos program and it keeps asking for a filename? On my
>> bootdisk there *are* *no* filenames that dos can recognize. I've no dowloaded
>
>It's a lot easier if you modify the bootimage *before* you rawrite it to
>disk. If that is not possible, use debug to edit the boot sector (Warning:
>some versions of MSDOS will not edit a disk if it does not have a valid
>boot sector - try another version):

Rather, they won't LOAD it with the l command or write it with the
w command. With a few bytes of code, you can get around that.

Load :

a 0000
mov ax, 0201
mov bx, 0100
mov cx, 0001
mov dx, 0000
int 13
int 20
^C
g=0000
        
>e2fc 4 3 # /dev/hd4 (addr is 100h + 508 = 2fch)

Save :

a 0000
mov ax, 0301
^C
g=0000

>q # quit