Hello, Im dropping to real mode to use some bios calls on my system. Everything works fine, except that when I try to write in Vesa addr it doesnt work. Mode change and all other things are working just fine.
Vesa function 0x4f01(get mode info) return AX=00 (success)
Does anyone knows whats wrong? Thanks
(sorry for my english)
Strange behavior Bios driver + VESA
-
- Member
- Posts: 62
- Joined: Mon Jan 07, 2013 10:38 am
Re: Strange behavior Bios driver + VESA
dropping to real mode ??? how ???bigorenski wrote:Hello, Im dropping to real mode to use some bios calls on my system
as it sounds to me is you are dropping from pmode to rmode, again how ??
as far as i know only way in x86 processors is virtual 8086 mode
so please elaborate what you mean by dropping to real mode
Re: Strange behavior Bios driver + VESA
@dansmahajan: Dropping to real mode is very much possible without using virtual 8086 mode.
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/
http://github.com/Jezze/fudge/
-
- Member
- Posts: 62
- Joined: Mon Jan 07, 2013 10:38 am
Re: Strange behavior Bios driver + VESA
Thanx Jezze i found a article regarding this on wiki.But i think it is(switching to rmode) useful only if you want to execute a particular instructionJezze wrote:@dansmahajan: Dropping to real mode is very much possible without using virtual 8086 mode.
whereas if we want to emulate a 16bit program and also use a 32 bit program vm86 is a better option (feel free to criticize this) and i guess this is how 16bit emulators work in 32bit os
Re: Strange behavior Bios driver + VESA
Have you tried Pm86? =)
"God! Not Unix" - Richard Stallman
Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Strange behavior Bios driver + VESA
Which address are you writing to? How did you get it?Everything works fine, except that when I try to write in Vesa addr it doesnt work