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

AuthorMessageTime
BreW
So I was reading over the log file, and I saw this:

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

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...

[code]
mov ah, 41h
mov bx, 55AAh
int 13h
jc usechs
[/code]

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...
http://en.wikipedia.org/wiki/Int_13

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 30, 2008, 1:30 AM
Quarantine
Why 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 30, 2008, 2:19 AM
BreW
Well, I wanted to make a multi-os booter.
January 30, 2008, 8:26 PM
Quarantine
Why 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, 11:38 PM
MrRaza
You 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 8, 2008, 4:12 AM

Search