Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.
/ chips-test Public archive
forked from floooh/chips-test

Tests and sample code for 'chips' focused on the ZX Spectrum.

License

Notifications You must be signed in to change notification settings

zxplay/chips-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chips-test

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

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

NOTE: on Linux, additional dev packages need to be present for X11, GL and ALSA development.

Create a 'workspace' directory (which will be populated with additional dependencies), clone and cd into chips-test:

> mkdir workspace
> cd workspace
> git clone https://github.com/floooh/chips-test
> cd chips-test

Finally, build and run one of the emulators (for instance the Amstrad CPC):

> ./fips setup emscripten
> ./fips build
> ./fips list targets
> ./fips run zx
> ./fips run zx-ui

To get optimized builds for performance testing:

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

To open project in IDE:

> ./fips set config [linux|osx|win64]-vscode-debug
> ./fips gen
> ./fips open

To build the WebAssembly demos.

# 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 zx
...

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

Many Thanks To:

About

Tests and sample code for 'chips' focused on the ZX Spectrum.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C 90.7%
  • Assembly 6.9%
  • Python 1.9%
  • HTML 0.3%
  • CSS 0.1%
  • CMake 0.1%