OK, doesn't matter anymore. Instead of programming, from now on I will only play video games.
Type: Posts; User: Erde
OK, doesn't matter anymore. Instead of programming, from now on I will only play video games.
Yeah, but do you know what? I don't need a forum to tell me "Go and learn low level stuff." If that's the answer to my problem, I could have easily done without all of you. I'm here to get some help...
Yeah, and that's exactly the problem: I don't want to become an advanced low level programmer, I only have one tiny bit in my program that needs such stuff. That's why I need tutorials that show me...
OK, thanks. But how do I know what commands to use? As I said, I don't really know how to use that whole low level commands. Where can I get to know how to use the stuff relevant for the delay?
By...
Alright, that might help me. Unfortunately, I know almost nothing about Assembler, therefore, what do I have to do to understand how to implement a timer without studying a huge reference of overall...
But the DOS function sleep still works from within Windows.
Well, we have the sleep function from Turbo C++ which works quite well, also when the DOS program is run in Windows. (The only drawback is the fact that it only waits seconds, not milliseconds).
...
Did you really think that I posted the code to "impress" anybody? I showed it so that you believe me that I'm really writing a DOS program and that I'm not just too stupid to confuse DOS with Win32...
No, there isn't a communication problem, at least not from my site. I know the difference between a Win32 console application and 16 bit DOS programs. And yes, my program is really a DOS program....
It's not about the multitasking stuff. It's about the simple fact that I don't want my program to run on full power in an infinity loop even though it doesn't need to. Did you ever own a PC with a...
Of course I don't want my program to screw up Windows. I doubt that this is even possible in Windows XP. All I was saying is: If a solution only works on a real DOS machine while it still poses the...
I just let the program run in Windows XP, so no, I didn't test it on a real DOS machine. But the thing is: If the method only works in a real DOS environment, but not when I use the 16 bit DOS...
At first, thanks for your help. But it still doesn't work. The processor load still goes up to maximum. Is there maybe a way to call the hlt command with a parameter that says how long the program is...
Hi,
I'd like to write a delay function for DOS (real DOS, not Win32 console). But the important thing is: The function shall not increase the processor load to 100 %. So anything like that:
void...