Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I am making a getkey(); function. For this, i need interrupts, which is not available in Protected mode. I am looking to switch to the only and most real-mode and protected-mode compatible mode: V8086. I am currently in C and making my own Meaty Skeleton.
Try this, or worst comes to worst, search "Intel® 64 and IA-32 Architectures Software Developer Manuals" and you should be able to find the correct page. It seems that some of their documents have moved, some of my bookmarks are broken, but that could just be me.
Be patient. (But don't imagine it is going to solve your problem. That doesn't matter - you should have a copy of the manual anyway, else you are just working in the dark.)
NunoLava1998 wrote:I am making a getkey(); function. For this, i need interrupts, which is not available in Protected mode.
I'm not sure what you're trying to do, but yes, interrupts are available in Protected Mode. You can't generally call BIOS interrupts in PM, but I hope you're trying to write a keyboard driver rather than calling the BIOS.
In any case, VM86 is a lot more complicated than writing a proper keyboard driver.
NunoLava1998 wrote:I am making a getkey(); function. For this, i need interrupts, which is not available in Protected mode.
I'm not sure what you're trying to do, but yes, interrupts are available in Protected Mode. You can't generally call BIOS interrupts in PM, but I hope you're trying to write a keyboard driver rather than calling the BIOS.
In any case, VM86 is a lot more complicated than writing a proper keyboard driver.
oh, it is? okay then
Developing TRIODIUM OS. Or call it Dixium if you want. It doesn't matter.