Kevin Lawton wrote:
> I made the Linux load hack based on a kernel image version
> that Ulrich compiled some time ago. The problem is we need
> to enhance the loader to be more flexible.
>
> The cpu values are hacked to 32bit segments. Looks like the
> code you sent is 16bit code. That would cause a serious problem.
yep, it "should" be 16bit code. If I'm correct upon powerup the CPU will
start in realmode and jmp somewhere into the bios, the bios then starts
loading the bootsector and the bootsector code can then switch into
32bit (protected?) mode if needed. so the "current" situation is that
our "CPU" allways starts executing stuff from 32bit segments?
> Soon we should have the ability to boot via the BIOS. I just
> have to add transition code from RM to PM and it should
> work. It would be better to eliminate loader hack probs
> and do it the way it is intended.
well, it could be nice the have special loaders for testing purposes,
but "in the end" we should be *able* to do it the way it is intended :)
---
Jeroen