This is an embryo of a simulator for Tiny Arcade, to simplify development of new and cool games.
The goal is to be able to compile and run the same code for both the real TinyArcade hardware and the simulator.
To allow users on different platforms I chose to implemented it using SDL2.
- Simple SPI and I2C simulation. Only one I2C slave supported at the moment.
- Basic TinyScreen simulation.
- TinyScreen hardware accellerated commands simulated
- Simulate Serial interface for printing logs.
- Simulate support for basic arduino functionality like Delay function.
- Implement sound output.
- Joystick and button input simulation.
While coding, I realised that I can make this much more dynamic and usefull. Having a library of modules and a UI, it would be possible to simulate many different setups of hardware.