Skip to content

public-domain/Spectral

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectral

Sinclair ZX Spectrum emulator from the 80s.

image image

About

Spectral is an experimental emulator that I have been randomly assembling since the pandemic days, inspired by my old fZX32 emulator. Accuracy and performance are long-term goals, but the primary focus is just having fun with this thing. Hardcore ZX users will find little value in this emulator right now, but I hope newbies may find its ease of use somehow appealing to try. That being said, Spectral has a very compatible TAP/TZX loader and some other interesting features that provide me some fun in these days. Code is highly experimental and prone to change in the future. I will keep altering/breaking things randomly for good sake.

Features and wishlist

  • Single executable.
  • Z80. Z80 Disassembler.
  • 16, 48, 128, +2, +2A, +3/FDC, Pentagon128/Betadisk models.
  • Issue 2/3 keyboards.
  • ULA/ULA+.
  • Beeper/AY.
  • Kempston mouse.
  • Kempston/Fuller/Cursor/Sinclair joysticks.
  • RF/CRT experience (not physically accurate though).
  • TAP/TZX/Z80/SNA/ROM/IF2/SCR/ZIP support.
  • DSK/EDSK/TRD/SCL/FDI/MGT/IMG/HOBETA support.
  • SCR/PNG screenshots.
  • Load games easily. Turbo loads. Auto play/stop tape.
  • Game browser.
  • Graphical tape browser.
  • 50/60Hz fps lock.
  • Run-a-head.
  • POK support.
  • Gunstick, Lightgun.
  • External shaders support.
  • Internal savestates.
  • Graphical User Interface.
  • ZXDB integration.
  • Gallery marquee.
  • Extra accurate Z80 backend.
  • Cycle accurate (border, multicolor, etc).
  • RZX support.
  • Gamepad support.
  • MP3s.
  • Netplay.
  • Portable.
  • Optimized.
  • Unlicensed.

Usage

Spectral can be configured with a mouse.

Here are some keyboard shortcuts, though:

  • ESC: Game browser
  • F1: CPU throttle (hold)
  • F2: Start/stop tape
  • F3/F4: Rewind/advance tape
  • F5: Reload game
  • F6: Toggle input latency (Run-a-head)
  • F7: Toggle issue 2/3
  • F8: Toggle tape speed
  • F9: Toggle TV/RF (4 modes)
  • F9+SHIFT: Toggle AY core (2 modes)
  • F11/F12: Quick save/load
  • ALT+ENTER: Fullscreen
  • TAB+CURSORS: Joysticks

Credits

Andre Weissflog, for their many single-header libraries! (Zlib licensed). Peter Sovietov and wermipls, for their accurate AY chip emulator (MIT licensed). Ulrich Doewich and Colin Pitrat, for their uPD765A floppy disk controller (GPL licensed). Marat Fayzullin for their WD1793/FDI controllers (Propietary). Potapov Vsevolod Viktorovich for their rusfaq website. Andrew Owen and Geoff Wearmouth for their custom ROMs. Simon Owen for their DSK technical websites. Santiago Romero, Philip Kendall, James McKay for their FOSS emulators. Damian Vila for their BESCII truetype font (CC-1.0). lalaoopybee, for their lovely tube shader. Günter Woigk, Juan Carlos González Amestoy and David Colmenero for their floppy sound recordings. The ZX Spectrum Discord folks. All the ZX community!

Unlicense

This software is released into the public domain. Also dual-licensed as 0-BSD or MIT (No Attribution) for those countries where public domain is a concern (sigh). Any contribution to this repository is implicitly subjected to the same release conditions aforementioned.

Links

Releases

No releases published

Packages

No packages published

Languages

  • C 72.3%
  • Assembly 27.2%
  • Other 0.5%