A half-hearted attempt at writing a reasonably accurate ZX Spectrum emulator.
See it in action:
- Mostly cycle-accurate Z80 emulation, including contention and fetch/write timings
- Sub-frame accuracy for ULA draws
- Tape (.tap file) support with basic hooks for fast/automated loading
- Beeper sound
- AY-3 sound (based on ayumi library)
- Reasonably fast (typically ~3500 FPS uncapped on an i3-4150)
- Keyboard input
- SZX state loading
- Adjustable palettes
- More to come...
Clone the repository, including submodules:
git clone --recursive https://github.com/wermipls/sleepdart
pacman -S git mingw-w64-x86_64-meson mingw-w64-x86_64-pkgconf mingw-w64-x86_64-binutils mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 zlib mingw-w64-x86_64-xxhash
meson setup build # add "-Dbuildtype=debug" for a debug build
meson compile -C build