Excuse me if this sounds stupid, but what does really int86() do? I can't seem to find any documentation on it.
Excuse me if this sounds stupid, but what does really int86() do? I can't seem to find any documentation on it.
It's not standard. It generates a hardware interrupt on 80x86 processors.
Generally, unless you're programming for pure DOS (NOT the same as a Windows console), you won't use it.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.
>> It's not standard. It generates a hardware interrupt on 80x86 processors.
Do you know where I can find a list of what the different 1st arg values would do?
DJGPP documentation should have it
http://www.delorie.com/djgpp/
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
They are the x86 interrupts, I'm sure you can find plenty of info about them.Originally Posted by Queatrix
But again -- your computer typically needs to be running real DOS, not win95, 98, ME, XP, 2000, etc. You can use them on a win 3.1 machine though. You need an operating system more than ten years old to ensure it works as you expect. Some interrupts may work under the later operating systems as all of them have certain levels of DOS emulation. But in general it's a very bad idea to use them; they are extremely legacy code, and they weren't portable even when they were commonly used.
Last edited by Cat; 10-03-2006 at 09:21 PM.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.
Is there a "windows" version of int86()?
>> I'm sure you can find plenty of info about them.
Not really.
The 'Windows version' would be things like the WinAPI; where interrupts were very hardware-specific AND OS-specific, the WinAPI is only OS-specific.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.
For info about interrupts, you should try Ralf Brown's interrupt list.