fx9860-emulator-playground/README.md

30 lines
861 B
Markdown
Raw Permalink Normal View History

2023-11-11 22:33:52 +01:00
# Casio fx-9860 SH4 emulator
This is a work-in-progress emulator for the Casio fx-9860 SH4 models
2023-11-16 01:09:46 +01:00
Broswser demo : https://sh4.vercel.app/
2023-11-12 18:35:51 +01:00
All non-DSP instructions are implemented, except the following ones:
- 'MOVUAL', 'MOVUALP', 'ICBI', 'OCBI',
- 'OCBP', 'OCBWB', 'PREFI', 'SLEEP',
- 'SYNCO', 'SETRC', 'SETRCI',
2023-11-11 22:33:52 +01:00
2023-11-12 18:35:51 +01:00
fx9860-emulator/ contains the source for the emulator
2023-11-11 22:33:52 +01:00
scripts/ contains the code for auto-generating the instructions set from the doc
2023-11-16 01:09:46 +01:00
### Browser version
To build the browser version of the emulator, make sure you have emscripten downloaded and installed: https://emscripten.org/docs/getting_started/downloads.html
First, make sure `#define USE_EMSCRIPT` is enabled in main.h (not as a comment).
2023-11-16 01:09:46 +01:00
Then:
cd fx9860-emulator
mkdir build
cd build
emcmake cmake ..
emmake make
2023-11-16 01:09:46 +01:00
2023-12-04 22:40:09 +01:00
Then, run the following command:
2023-11-16 01:09:46 +01:00
2023-12-04 22:40:09 +01:00
# TODO