Commit graph

6 commits

Author SHA1 Message Date
Christophe de Dinechin
4a4faf0aab simulator: Use https as a protocol for git submodules
The `git` submodules should not require authentication to GitHub.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-06-27 17:56:15 +02:00
Christophe de Dinechin
f858087209 wasm: Implement WASM support
This is an in-tree port of [Franco Trimboli's excellent work][wasm].

The goal is to be able to run the simulator in a browser.
This builds with emscripten, as installed by the `emsdk`.
The `emsdk` is added as a submodule, and initialized on first build.

To build the browser WASM version of the simulator, run `make wasm`.

Fixes: #993

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Suggested-by: Franco Trimboli <sunpazed@gmail.com>
Co-developed-by: Franco Trimboli <sunpazed@gmail.com>

[wasm]: https://github.com/sunpazed/db48x-wasm
2024-06-24 21:12:16 +02:00
Christophe de Dinechin
225de7d7f5 license: Change to GPL v3, disconnect from DMCP
The dmcp code is moved to a submodule, with its own BDS 3-clause license.
The DB48X code uses DMCP, but is not derived from it.
The GPL license will provide better protection against derivatives with
proprietary additions that are not contributed back to the community.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-08-07 23:58:27 +02:00
Christophe de Dinechin
412685818d DMCP5 support and DM32 build
Add support for DMCP5 and DM32 build
This is not perfect at the moment. Some glyphs, like the complex-i,
are missing from menus or the help display, as well as from the
editor font, but show on the stack font. This is rather weird.
Displaying some menus, like the STATS menu, cause a crash in
what appears to be sparse_font::glyph.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-08-07 23:56:41 +02:00
Christophe de Dinechin
2bf82d1416 Change submodule path to https
This makes it easier for people without a GitHub account

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-19 21:56:32 +02:00
Christophe de Dinechin
e85b1fd79c Add the recorder library on the simulator
We can't really use it on the DM42 itself, because it has so
little memory (70K) that using it for recorders is a waste.
But for debugging on the simulator, it's really handy.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-19 21:56:31 +02:00