Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how i am call basic interrupt in C# like
in Turbo C its give function to call basic interrupt of Bios

int86(interrupt_number,&input_Register,&Output_Register);

any function given in C# to call Bios interrupt?
Posted

No, there is no such function, nor can this task be accomplished with c#. There is absolutely no assember support in c#. Sorry.
 
Share this answer
 
Comments
H.Sohaib Ali 6-Aug-10 16:37pm    
hmm sir okz thnks for a sugesstion.
In addition to what Toli already said, be aware that on Windows systems the processor run in protected-mode: this mean that you require kernel mode privileges to execute some instructions, and calling a BIOS interrupt is a quite complicated task.

You can deal with assembler with C and C++, but absolutely not with C#, anyway I cannot figure out why you need to make calls into the BIOS: the .NET Framework has classes to do almost everything; on the other hand, if you really need this kind of low-level programming, then C# is a wrong choice...
 
Share this answer
 
v2
Comments
H.Sohaib Ali 6-Aug-10 16:37pm    
hmm sir okz thnks for a sugesstion.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900