ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Windows/timer_windows.cpp
(Generate patch)

Comparing BasiliskII/src/Windows/timer_windows.cpp (file contents):
Revision 1.2 by gbeauche, 2004-11-29T00:15:14Z vs.
Revision 1.5 by gbeauche, 2005-06-30T10:20:18Z

# Line 1 | Line 1
1   /*
2   *  timer_windows.cpp - Time Manager emulation, Windows specific stuff
3   *
4 < *  Basilisk II (C) 1997-2004 Christian Bauer
4 > *  Basilisk II (C) 1997-2005 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 47 | Line 47 | static tm_time_t mac_now_diff;
47   *  Initialize native Windows timers
48   */
49  
50 < void SysTimerInit(void)
50 > void timer_init(void)
51   {
52          D(bug("SysTimerInit\n"));
53  
# Line 195 | Line 195 | void Delay_usec(uint32 usec)
195          // millisecond resolution anyway
196          Sleep(usec / 1000);
197   }
198 +
199 +
200 + /*
201 + *  Suspend emulator thread, virtual CPU in idle mode
202 + */
203 +
204 + void idle_wait(void)
205 + {
206 +        Delay_usec(10000);
207 + }
208 +
209 +
210 + /*
211 + *  Resume execution of emulator thread, events just arrived
212 + */
213 +
214 + void idle_resume(void)
215 + {
216 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines