Tests and sample code for https://github.com/floooh/chips
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
fips-files
tests
webpage
.gitignore
.travis.yml
CMakeLists.txt
LICENSE
README.md add appveyor badge to readme Nov 26, 2018
appveyor.yml
fips
fips.cmd
fips.yml

README.md

chips-test

Platform Build Status
Linux+OSX: Build Status
Windows Build status

Tests and sample emulators for https://github.com/floooh/chips

Live demos of the example emulators: https://floooh.github.com/tiny8bit

For a more feature-complete multi-system emulator, check the YAKC project here: https://github.com/floooh/yakc

To build and run on Windows, OSX or Linux (exact versions of tools shouldn't matter):

> python --version
Python 2.7.10
> cmake --version
cmake version 3.10.0
> ./fips build
...
> ./fips list targets
...
> ./fips run [target]
...

To get optimized builds for performance testing:

# on OSX:
> ./fips set config osx-make-release
> ./fips build
> ./fips run [target]

# on Linux
> ./fips set config linux-make-release
> ./fips build
> ./fips run [target]

# on Windows
> fips set config win64-vstudio-release
> fips build
> fips run [target]

To open project in IDE:

# on OSX with Xcode:
> ./fips set config osx-xcode-debug
> ./fips gen
> ./fips open

# on Windows with Visual Studio:
> ./fips set config win64-vstudio-debug
> ./fips gen
> ./fips open

# experimental VSCode support on Win/OSX/Linux:
> ./fips set config [linux|osx|win64]-vscode-debug
> ./fips gen
> ./fips open

To build the WebAssembly demos (Linux or OSX recommended here, Windows might work too, but this is not well tested).

# first get ninja (on Windows a ninja.exe comes with the fips build system)
> ninja --version
1.8.2
# now install the emscripten toolchain, this needs a lot of time and memory
> ./fips setup emscripten
...
# from here on as usual...
> ./fips set config wasm-ninja-release
> ./fips build
...
> ./fips list targets
...
> ./fips run c64
...

When the above emscripten build steps work, you can also build and test the entire samples webpage like this:

> ./fips webpage build
...
> ./fips webpage serve
...

Enjoy!