Originally Posted by Vas Crabb
You're missing the point. MAME emulates various real-time clock chips and initialises them with the host system time on starting. However, the Game & Watch games don't use real-time clock chips. The time is updated programmatically by the CPU. How/where it's stored depends on the game.

I know that they don;t use rts chips, That's why the clock is so useless though. I was asking if Mame has any functionality to pull from system time to emulate time for any games that might have rts.

The concept is to use any ability Mame has to pull the time from the system and convert it into the format needed for the clock registries on the Game & Watches.


Originally Posted by crazyc
Here's a lua cheat that works with the change just pushed for zelda that sets the clock. Put it in "cheat/gnw_zelda.json" and run mame with "-plugin cheat" and look in Plugin Options/Cheats.

It seems to be giving me an error: attempt to index a nil value(global 'os')

Last edited by notknown; 09/10/19 05:23 AM.