I don't quite know the structure of IELDR and IELDR.EXE. However, it seems you once said that IELDR is in the structure format of GRLDR, and IELDR.EXE is in the structure format of grub.exe. If that's the case, it's impossible to merge the two, just as mentioned earlier.
If you must merge them, I'm afraid that after merging, functions will be lost. For example, if you remove the FAT_12_16 patch code in the first sector of grldrstart.S, then IELDR won't be able to adapt to the FAT12/16 file system.
In Windows 98, you can indeed double-click grub.exe to run grub, as long as the grub.pif file released with grub_for_dos is placed in the same directory as grub.exe. If you correspondingly make an ieldr.pif file, then you can of course double-click to start ieldr.exe.
-------------------------------------------------------------------------------------------------------
0.4.0pre7 has been uploaded, supporting the priority search for "the menu.lst file in the same root directory as grldr". What does it mean? That is to say,
When the GRLDR in (hd0,0) gains execution rights, it will search for the (hd0,0)/menu.lst file and execute it immediately.
When the GRLDR in (hd0,1) gains execution rights, it will search for the (hd0,1)/menu.lst file and execute it immediately.
……………………………………………………………………………………………………
When the GRLDR in (hd0,n) gains execution rights, it will search for the (hd0,n)/menu.lst file and execute it immediately.
Similarly, when the GRLDR in (hdM,n) gains execution rights, it will search for the (hdM,n)/menu.lst file and execute it immediately.
When the GRLDR in (fd0) gains execution rights, it will search for the (fd0)/menu.lst file and execute it immediately.
When the GRLDR in (cd) gains execution rights, it will search for the (cd)/menu.lst file and execute it immediately.
Only when the above file is not found will it then execute the content of preset_menu.
In short, the menu.lst in the same directory as GRLDR will be executed unconditionally. Only when this menu.lst file does not exist will it go to execute preset_menu and continue to search for the /menu.lst file in other partitions.
This is a function only available in pre7.
因为我们亲手创建,这个世界更加美丽。