NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Emulator release  
Posted byAnonymous
Posted on3/21/04 6:36 PM
From IP213.112.32.189  



I'm running WinXP Pro, and explorer gets 00% CPU here.
>if you've written the windows poll loop right it'll give it the time the program does't use
That's the problem. I couldn't think of a good way to regulate the speed to 60Hz, so I'm checking the sound buffer play cursor in order to determine when a frame has passed. This makes Nessie go into an idle loop, waiting for the play cursor. In this loop, I thought that the right API call would give back CPU power to Windows. SwitchToThread does this, but only if there is another application that needs CPU at the moment.

How do you do this yourselves?

/Nessie



-
Entire Thread
Subject  Posted byPosted On
*Emulator release  Anonymous3/20/04 9:06 PM
.*Re: Emulator release  Memblers3/21/04 00:45 AM
..*Re: Emulator release  quietust3/21/04 00:50 AM
...*Re: Emulator release  quietust3/21/04 00:59 AM
....*Re: Emulator release  Anonymous3/21/04 02:10 AM
.....*Re: Emulator release  RoboNes3/21/04 10:07 AM
......*Re: Emulator release  quietust3/21/04 4:12 PM
.......*Re: Emulator release  Anonymous3/21/04 4:42 PM
........*Re: Emulator release  RoboNes3/21/04 5:27 PM
..........Re: Emulator release  Anonymous3/21/04 6:36 PM
..........*Re: Emulator release  Xodnizel3/22/04 02:52 AM
..........*Re: Emulator release  RoboNes3/21/04 8:05 PM
.....*Re: Emulator release  quietust3/21/04 02:50 AM
......*Re: Emulator release  Anonymous3/21/04 04:19 AM
.......*Re: Emulator release  Memblers3/21/04 07:43 AM
.*Re: Emulator release  RoboNes3/20/04 10:18 PM
..*Re: Emulator release  Anonymous3/20/04 10:52 PM
.*Re: Emulator release  Anonymous3/20/04 9:10 PM
..*Re: Emulator release  RoboNes3/20/04 10:11 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo