In the emulator

With openMSX and the Philips_VG_8020 machine:

openmsx -machine Philips_VG_8020 -cart circus.rom -script tools/omsx_montaje.tcl

There are three scripts:

The whole game happens in the hook at 0x402C: a breakpoint there stops once per frame.