I love it. 9load is dying in real mode on:

1000:012C B80800           mov ax,0008
1000:012F 8ED8             mov ds,ax
                                   ^^^^^^^^^^^^^^^^^^^

takes a triple fault, which is interesting, as vm is not on.

But this is kind of intriguing because that's not how I recall setting
up the ds etc. when I've done it.

So I looked at how we did it long ago in coreboot (a.k.a. LinuxBIOS).
And we don't do this at all. We set up cs, jump to protected mode,
then set up ds etc.

But 9load works. On real hardware. Just not on the sim ...

well, I moved the ds set past the 32-bit mode point and it's back to
not reading all of disk again.

off to bed.

ron

Reply via email to