Bootloader: Reading sectors to address 0xFE00
Posted: Mon May 18, 2009 6:13 am
Hi,
I just can't get my bootloader to load to address 0xFE00 with interrupt 0x13, ah=2. It works with any address below and also 0x10000. My tries were:
Bochs tells me in bochsout.txt:
I really have no clue why this fails, it never returns from the interrupt. Does someone know the problem or could look through the source-code? I cut it down to a minimal example, see here.
Thank you in advance,
kraks
I just can't get my bootloader to load to address 0xFE00 with interrupt 0x13, ah=2. It works with any address below and also 0x10000. My tries were:
Code: Select all
es=0x0000, bx=0xFE00
es=0x0FE0, bx=0x0000
es=0x0F00, bx=0x0E00
Code: Select all
Booting from 0000:7c00
prefetch: EIP [00010000] > CS.limit [0000ffff]
WARNING: HLT instruction with IF=0!
Thank you in advance,
kraks