![Logo](/svenyurgensson/zspec/raw/5e438ba09fc15a01006c1bffa81e1bb294006ed5/assets/logo.jpg)
Z80 code tester and verificator
Explore the docs »
View Examples
·
Report Bug
·
Request Feature
Table of Contents
Briefly – it is pretty pourly and carelessly written initial implementation tests for Z80 project's .
Perhaps, because of my long time work with high-level languages and web-projects I got a thought: why we doesn't have tests and specifications for Z80 projects? (May be they are exists, but I cannot found good one).
So I decided to make this one mainly with intention if someone wiser then me came and make something like this but much better.
- Z80 emulator library
- TomlPlusPlus parser library
- Command line parser library
- Docker cross-compilers suit
- Toml
- C++ compiler
- Write some library with functions using you lovely compiler: c or asm or something other
- Compile it, export binary image and labels file
- Write specification, using simple language based on Toml syntax
- Run
zspec path/to/ypur-zspec.toml
- You have results of calling your code in tradition
green
/red
style
BTW it is also possible run just one test from a few:
zspec path/to/ypur-zspec.toml:5
it will run 5-th test, skipping others.
You need to have c++ compiler to build this project.
Or, instead you could take compiled version from releases
folder.
make
in project folder to build executable.- copy executable somwhere to your
PATH
WIP
For more examples, please refer to the Examples
- Add ability to load binary file for memory comparing expectations
- Memory series expectations
- Add ports expectations
- Add command line params
- More documentation and examples
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Yury Batenko - jurbat@gmail.com
Project Link: https://github.com/svenyurgensson/zspec