Valhalla Legends Forums Archive | Assembly Language (any cpu) | int 13h func 41h on bochs bios

brewSo I was reading over the log file, and I saw this:

00005333765i[BIOS ] Booting from 0000:7c00
00005340147i[BIOS ] int13_diskette: unsupported AH=41

Wtf? I would've never caught it if I haven't looked over the log.
I just want to find if the bios supports the extended drive interrupts...

mov ah, 41h
mov bx, 55AAh
int 13h
jc usechs

is what I use to call it.

the carry flag is set when LBA is not supported.

How could it not support 41h? It's not like it's very obscure or anything...

What do i do!? I was planning on supporting the ah 42h read function instead if lba is supported. But since this isn't working, i highly doubt that any other extended drive function would work as well.
January 29, 2008, 07:30 PM
WarriorWhy are you spending so much time in real mode? Read the second stage, jump to it, and enter protected mode. You're trying too hard.January 29, 2008, 08:19 PM
brewWell, I wanted to make a multi-os booter.January 30, 2008, 02:26 PM
WarriorWhy don't you contribute to the already popular and existing Multiboot Compliant bootloaders out there? It'd be much more worth your time, and the project would probably get somewhere.

I don't mean to discourage you, but your time is better spent outside of the legacy realm of Real Mode.
January 30, 2008, 05:38 PM
MrRazaYou should be encouraging!

Have you looked at any other sources that relate to this?

I'm sure your not the only one that has tried this. Look at what others have done and be innovative and improve.
February 07, 2008, 10:12 PM