Skip to content

a half-hearted attempt at writing a reasonably accurate ZX Spectrum emulator. WIP

Notifications You must be signed in to change notification settings

wermipls/sleepdart

Repository files navigation

sleepdart

A half-hearted attempt at writing a reasonably accurate ZX Spectrum emulator.

sleepdart running Shock

See it in action:

Features

  • 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...

Building

Clone the repository, including submodules:

git clone --recursive https://github.com/wermipls/sleepdart

Windows (MSYS2 MinGW 64-bit)

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

About

a half-hearted attempt at writing a reasonably accurate ZX Spectrum emulator. WIP

Resources

Stars

Watchers

Forks

Languages