How do you...
Make a BIOS interrupt call, using MSVC6. I''ve tried the Win32 Console and standard project settings, but both result in a Fatal Exception.
I also can''t find the _int86() function, anywhere.
Can anyone help??
__asm int 0x????
"This album was written, recorded and edited at Gröndal, Stockholm in the year of 2000. At this point in time money still ruled the world. Capitalistic thoughts were wide spread. From the sky filled with the fumes of a billionarie''s cigar to the deepest abyss drenched in nuclear waste. A rich kid was a happy kid, oh..dirty, filthy times. Let this be a reminder."
- Fireside, taken from back of the Elite album
"This album was written, recorded and edited at Gröndal, Stockholm in the year of 2000. At this point in time money still ruled the world. Capitalistic thoughts were wide spread. From the sky filled with the fumes of a billionarie''s cigar to the deepest abyss drenched in nuclear waste. A rich kid was a happy kid, oh..dirty, filthy times. Let this be a reminder."
- Fireside, taken from back of the Elite album
I tried that, but it produces Fatal Error...
Is there a Windows and MSVC6 friendly interrupt function??
Is there a Windows and MSVC6 friendly interrupt function??
I don''t have a pure Win32 asm compiler, and I was hoping to be able to do it with Inline asm...
I never needed to call an interrupt in win32 so far, but according to msdn you be able to call an interrupt with inline asm.
but what interrupt are you trying to call?
are you sure its meant to be used in windows?
nik
but what interrupt are you trying to call?
are you sure its meant to be used in windows?
nik
January 05, 2001 05:51 PM
This is Win32, not DOS. Forget all that obsolete junk about making interrupt calls. It doesn''t work.
What do you *really* want to do? To get the current mouse position use GetCursorPos or wait for a WM_MOUSEMOVE message.
-Mike
What do you *really* want to do? To get the current mouse position use GetCursorPos or wait for a WM_MOUSEMOVE message.
-Mike
So you''re saying it''s not possible to call any BIOS interrupts from MSVC6? Why are they obsolete? or at least, why are we shielded from them?
I wanted to make a DOS program for Command.exe, but also, I took time to learn them, and now it seems I can''t use them.
I wanted to make a DOS program for Command.exe, but also, I took time to learn them, and now it seems I can''t use them.
Windows is (mostly) a 32 bit OS. When it boots up, it switches into 32 bit protected mode. At this point it overwrites the old Interrupt Descriptor Table (IDT), and you are not able to use the BIOS interrupts anymore.
Besides, why would you want to? The whole point of having an OS is to be shielded from details like that.
Besides, why would you want to? The whole point of having an OS is to be shielded from details like that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement