floooh / chips

8-bit chip and system emulators in standalone C headers
zlib License
994 stars 76 forks source link

Emulation of Fairlight 2 (128k) fails on 128K Spectrum #90

Open mjwilson opened 10 months ago

mjwilson commented 10 months ago

Going to https://floooh.github.io/tiny8bit/zx-ui.html?type=zx128 and trying to load a 128K snapshot of Fairlight 2, the emulator behaves incorrectly (usually the emulated Spectrum crashes, although the exact way in which this happens seems inconsistent).

fairlight2.zip

Expected behaviour: the player can move around the screen with Q/S/O/K. If they press O to walk up to the door, a message "LOCKED" appears. If they press 5 to select the key and walk to the door, they can enter the next room.

Actual behaviour: unexpected sounds from the beeper. If the player approaches the door then the emulated Spectrum locks up or crashes.

floooh commented 10 months ago

Yes that's not unexpected. The ZX Spectrum emulation by far isn't as good as the CPC, C64 and KC85 emulation. There's no memory contention for video memory access emulated at all for instance.