Hello, it's quite difficult. I don't know what to use to read the sector. I tried Google, and it seems to be using debug, but I don't know how to operate. Can you give an example?
Also, can the disk made this way discard stage2?
2. Using grldr
Place the modified fourth sector of GRLDR into the first sector of the floppy disk, and then copy GRLDR to the root directory of the floppy disk.
The specific steps can be as follows:
a. Format a floppy disk in FAT format, or use any existing formatted FAT format floppy disk.
b. Read the first sector of the floppy disk into memory area 1, and read the fourth sector of GRLDR into memory area 2.
c. Copy 60 bytes from 0x02 to 0x3d in memory area 1 to 0x02 to 0x3d in memory area 2.
d. Write the modified memory area 2 to the first sector of the floppy disk.
e. Copy the GRLDR file to the root directory of the floppy disk. .
The above assumes that the floppy disk is in FAT12 or FAT16 format. If the floppy disk is in FAT32 format, then the above steps b and c need to be rewritten as:
b. Read the first sector of the floppy disk into memory area 1, and read the third sector of GRLDR into memory area 2.
c. Copy 88 bytes from 0x02 to 0x59 in memory area 1 to 0x02 to 0x59 in memory area 2.