Emulate x86BiosCall

Programming, for all ages and all languages.
Post Reply
0x3B0
Member
Member
Posts: 26
Joined: Fri Apr 27, 2012 6:28 am

Emulate x86BiosCall

Post 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.
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: Emulate x86BiosCall

Post by gerryg400 »

I've read your request several times and I'm afraid I have no idea what you are asking for.
If a trainstation is where trains stop, what is a workstation ?
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: Emulate x86BiosCall

Post by bubach »

Demanding to get code for free will not make you any friends on this forum, or in general.
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Emulate x86BiosCall

Post 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.
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: Emulate x86BiosCall

Post 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).
My OS is Perception.
Post Reply