kotlinmicronautin progress
Spektrum
A work in progress Sinclair ZX Spectrum emulator written in Kotlin and Micronaut, starting with an emulation of the Z80 CPU.
A modern ZX Spectrum emulator written in Kotlin, built using the Micronaut framework. This project aims to faithfully recreate the experience of the classic Sinclair ZX Spectrum home computer.
Features
- CPU Emulation: Z80 CPU implementation with register management
- Configurable Speed: Adjustable emulation speed settings
- Command-Line Interface: Built with Micronaut and Picocli for easy interaction
- Modern Architecture: Clean, testable Kotlin codebase with dependency injection
Requirements
- Java 25 or higher
- Gradle (wrapper included)
Building the Project
./gradlew build
Technology Stack
- Language: Kotlin
- Framework: Micronaut
- Build Tool: Gradle
- JVM: Java 25
- CLI: Picocli
Useful Links
- Online Z80 IDE - https://clrhome.org/asm/
- Another Z80 Online IDE - https://ide.retrogamecoders.com/?platform=zx&file=hello.asm
- Z80 CPU User Manual - https://www.zilog.com/docs/z80/um0080.pdf
- Programming The Z80 - Third edition - Rodnay Zaks - http://www.z80.info/zip/zaks_book.pdf
- How To Write a Computer Emulator by Marat Fayzullin - https://fms.komkon.org/EMUL8/HOWTO.html
Acknowledgments
This emulator is a tribute to Sir Clive Sinclair and the Sinclair ZX Spectrum, which introduced a generation to computing.