39726 bytes. Note that the emulator doesn't set P/V correctly and all the tests fail. Testing in z80ex works fine.
Star Trek from 39771 to 39740 bytes.