Results 1 to 20 of 20

Thread: [RESOLVED] QBasic/Qb45 high precision timing->

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Re: QBasic/Qb45 high precision timing->

    @Passel: I changed the looping condition as you suggested, it still runs at CPU dependent speed. I would have to ask at the DOSBox forums whether DOSBox supports vertical retrace.

  2. #2
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: QBasic/Qb45 high precision timing->

    Quote Originally Posted by Peter Swinkels View Post
    @Passel: I changed the looping condition as you suggested, it still runs at CPU dependent speed. I would have to ask at the DOSBox forums whether DOSBox supports vertical retrace.
    Wait....Before you do that, run a game called Prince of Persia on DOSBox and change the CPU speed and see if the game runs faster or slower. Prince of Persia was the first DOS game I had ever seen that ran at the same speed regardless of how fast or slow the processor was. Even Alley Cat ran at different speeds depending on processors. I played both games extensively in my childhood. Prince of Persia ALWAYS ran at the same speed. If it can do that in DOSBox, then what you're asking is possible. You just have to figure out how they did it.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width