jsEmu48/README.md

34 lines
914 B
Markdown
Raw Normal View History

2022-01-16 15:33:03 +01:00
![jsEmu48 Sources](logo.png)
2018-02-02 12:16:29 +01:00
# jsEmu48
SDL Emscripten compatible Fork version of HPEMU by Daniel Nilsson
2018-02-02 12:38:34 +01:00
2022-01-16 16:03:05 +01:00
Demo: http://jadegame.com/jsemu48/
2018-02-02 12:38:34 +01:00
2018-02-03 18:00:26 +01:00
Install SDL2 + TTF + IMAGE
2018-02-02 12:38:34 +01:00
2018-02-03 18:00:26 +01:00
https://www.libsdl.org/projects/SDL_ttf/
https://www.libsdl.org/download-2.0.php
https://www.libsdl.org/projects/SDL_image/
2022-01-11 16:42:07 +01:00
Install git clone Emscripten
./emsdk install latest
./emsdk activate latest
2022-01-16 15:33:03 +01:00
source ./emsdk_env.sh
2022-01-11 16:42:07 +01:00
2018-02-03 18:00:26 +01:00
cd /src
2018-02-02 12:38:34 +01:00
2022-01-10 20:19:49 +01:00
emcc -O3 bus.c color.c cpu.c disasm.c display.c emulator.c gui.c hdw.c keyboard.c main.c opcodes.c pabout.c pcalc.c pdebug.c pfiles.c pmenu.c ports.c ram.c rom.c rpl.c timers.c -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS='["png"]' -s USE_SDL_TTF=2 --preload-file hpemu.rom --preload-file FreeSans.ttf --preload-file 48face5.png --preload-file zeldahp.dir -o hp48.js
2018-02-02 12:38:34 +01:00
2018-02-03 18:00:26 +01:00
CREDITS
2018-02-02 12:45:43 +01:00
HP EMU 0.9
https://sourceforge.net/projects/hpemu/files/hpemu/
2018-02-03 17:46:49 +01:00
Visit my HP48 page : http://jadegame.com/games/hp48