Add description

This commit is contained in:
Tomislav Kopić 2024-06-12 20:37:40 +02:00
parent 82a9347c67
commit eff6524968

View File

@ -26,7 +26,11 @@
/***************************/ /***************************/
/***** Time and clock *****/ /***** Time and clock *****/
#define EMULATOR_CLOCK_SPEED 1002702 // this values seems to be diferent for every single board but generaly is around 1002700 // ESP8266 is not a very good time keeping device, each one of these little shits has a different clock oscilator.
// it also seems that the temperature also effects the clock frequency so time keeps on drifting and it get's noticable after some time.
// You can play around with these 2 to try and reduce the drift:
#define EMULATOR_CLOCK_SPEED 1002701 // this values seems to be around 1002700(+-10)
// If game time is going faster than it should, increase this value by 1 to slow it down. // If game time is going faster than it should, increase this value by 1 to slow it down.
// fixed microsecond sleep between each cycle used to fine tune the emulator time drift even more // fixed microsecond sleep between each cycle used to fine tune the emulator time drift even more