Problems with BIOS Int 0x13 (ext) and high memory in QEMU.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

Problems with BIOS Int 0x13 (ext) and high memory in QEMU.

Post by Roman »

Hello. I've encountered a strange problem with my boot loader in QEMU, it perfectly loads sectors to any low memory location, but fails with 0xFFFF:0x10. Sectors get written to 0x0000 (i.e. BIOS IDT is overwritten). I have A20 and unreal mode enabled. The code works successfully with any addresses in VMWare. Did anyone encounter any similar problem?
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
Octocontrabass
Member
Member
Posts: 5590
Joined: Mon Mar 25, 2013 7:01 pm

Re: Problems with BIOS Int 0x13 (ext) and high memory in QEM

Post by Octocontrabass »

Those functions only support loading data to the first 640kB when using segment:offset addresses.

See this post for some alternatives you can try.
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

Re: Problems with BIOS Int 0x13 (ext) and high memory in QEM

Post by Roman »

Octocontrabass wrote:Those functions only support loading data to the first 640kB when using segment:offset addresses.

See this post for some alternatives you can try.
Thank you.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
Post Reply