Search:

Type: Posts; User: Erde

Search: Search took 0.00 seconds.

  1. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    OK, doesn't matter anymore. Instead of...

    OK, doesn't matter anymore. Instead of programming, from now on I will only play video games.
  2. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Yeah, but do you know what? I don't need a forum...

    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...
  3. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Yeah, and that's exactly the problem: I don't...

    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...
  4. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    OK, thanks. But how do I know what commands to...

    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...
  5. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Alright, that might help me. Unfortunately, I...

    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...
  6. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    But the DOS function sleep still works from...

    But the DOS function sleep still works from within Windows.
  7. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Well, we have the sleep function from Turbo C++...

    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).

    ...
  8. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Did you really think that I posted the code to...

    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...
  9. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    No, there isn't a communication problem, at least...

    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....
  10. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    It's not about the multitasking stuff. It's about...

    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...
  11. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Of course I don't want my program to screw up...

    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...
  12. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    I just let the program run in Windows XP, so no,...

    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...
  13. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    At first, thanks for your help. But it still...

    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...
  14. Thread: Delay for DOS

    by Erde
    Replies
    34
    Views
    10,755

    Delay for DOS

    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...
Results 1 to 14 of 14