Compare commits
3 commits
145a6430d8
...
08a683d204
Author | SHA1 | Date | |
---|---|---|---|
|
08a683d204 | ||
|
dea07d3bcc | ||
|
a39e209394 |
1 changed files with 5 additions and 4 deletions
|
@ -225,13 +225,13 @@ static void EmulatorLoop( void )
|
||||||
/* DrawLcd(); */
|
/* DrawLcd(); */
|
||||||
|
|
||||||
/* Emulator Interrupt Request */
|
/* Emulator Interrupt Request */
|
||||||
if ( ( t1_count & INT_T1_MASK ) == 0 && emulator_int_req ) {
|
if ( ( t1_count++ & INT_T1_MASK ) == 0 && emulator_int_req ) {
|
||||||
ChfCondition CPU_I_EMULATOR_INT, CHF_INFO ChfEnd;
|
ChfCondition CPU_I_EMULATOR_INT, CHF_INFO ChfEnd;
|
||||||
ChfSignal();
|
ChfSignal();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* X Events handling */
|
/* UI Events handling */
|
||||||
/* HandleXEvents(); */
|
// ui_get_event();
|
||||||
|
|
||||||
/* Handle serial port */
|
/* Handle serial port */
|
||||||
HandleSerial();
|
HandleSerial();
|
||||||
|
@ -324,7 +324,7 @@ static ChfAction EmulatorLoopHandler( const ChfDescriptor* d, const ChfState s,
|
||||||
this ensures that the latest LCD updated actually
|
this ensures that the latest LCD updated actually
|
||||||
get to the screen.
|
get to the screen.
|
||||||
*/
|
*/
|
||||||
// DrawLcd();
|
// ui_update_display();
|
||||||
|
|
||||||
/* Handle serial port activity before entering the outer idle
|
/* Handle serial port activity before entering the outer idle
|
||||||
loop, because this could possibly bring the cpu out of
|
loop, because this could possibly bring the cpu out of
|
||||||
|
@ -399,6 +399,7 @@ static ChfAction EmulatorLoopHandler( const ChfDescriptor* d, const ChfState s,
|
||||||
*/
|
*/
|
||||||
debug1( DEBUG_C_TIMERS, CPU_I_IDLE_X_LOOP, ms );
|
debug1( DEBUG_C_TIMERS, CPU_I_IDLE_X_LOOP, ms );
|
||||||
// IdleXLoop( ms );
|
// IdleXLoop( ms );
|
||||||
|
usleep( ms );
|
||||||
|
|
||||||
/* End of idle loop; compute actual elapsed time */
|
/* End of idle loop; compute actual elapsed time */
|
||||||
gettimeofday( &end_idle, NULL );
|
gettimeofday( &end_idle, NULL );
|
||||||
|
|
Loading…
Reference in a new issue