Page 1 of 1

Emulate x86BiosCall

Posted: Fri Apr 27, 2012 6:49 am
by 0x3B0
I only need somebody to give me the code(in c) of a function that emulate th x86BiosCall functionor give me the code of a procedure ina MASM or c that switch to real mode and back to protected mode or switch to vm8086. This procedures are the only thing that is missing to I terminate the software that I am creating in PC. I am using the x86BiosCall that I want to emulate because I don't want to call API.

Re: Emulate x86BiosCall

Posted: Fri Apr 27, 2012 7:38 am
by gerryg400
I've read your request several times and I'm afraid I have no idea what you are asking for.

Re: Emulate x86BiosCall

Posted: Fri Apr 27, 2012 2:13 pm
by bubach
Demanding to get code for free will not make you any friends on this forum, or in general.

Re: Emulate x86BiosCall

Posted: Fri Apr 27, 2012 2:17 pm
by VolTeK
0x3B0 wrote:I only need somebody to give me the code(in c) of a function that emulate th x86BiosCall functionor give me the code of a procedure ina MASM or c that switch to real mode and back to protected mode or switch to vm8086. This procedures are the only thing that is missing to I terminate the software that I am creating in PC. I am using the x86BiosCall that I want to emulate because I don't want to call API.
Sure, right after you write it.

Re: Emulate x86BiosCall

Posted: Fri Apr 27, 2012 3:00 pm
by AndrewAPrice
There are a couple of real mode interpreters around here that interpret the BIOS call in protected or long mode. Do a search for x86emu. This is a lot faster than thunking out to real mode, and easier to set up (if using a library and not writing it yourself) than vm86 (which is not an option if you decide to move to long mode later).