> Am 17.01.2025 um 22:22 schrieb Bernd Böckmann via Freedos-devel 
> <freedos-devel@lists.sourceforge.net>:
> 
> There is a INT 18h call. According to the BIOS boot specification [2] this 
> may called by an IPL to indicate failure to boot. This might be something to 
> investigate further. We do not have this in our IPL...

Turns out we have this, but not in the default IPL (bootnorm.asm), but in 
booteasy [1].

So my idea is to transfer this INT 18H call over to bootnorm.asm:

- display message if no partition is active or VBR misses boot signature
- wait a few seconds to make sure user sees the message, as some INT 18 
implementations seem to clear the screen, maybe do not even work...
- issue INT 18
- hope for the best
- loop in case INT 18 returns

Anything that speaks against this method? Any reason it is not in bootnorm.asm?

[1]: 
https://github.com/FDOS/fdisk/blob/3fc4785b49ac5af366e27804c132302423f07f19/SOURCE/FDISK/BOOTEASY/BOOTEASY.ASM#L179


Bernd



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to