It will be much faster without  -s SAFE_HEAP=1  That is a debug mode that
checks many things at runtime.

The demo URL doens't work for me, btw: The requested URL /jsemu48/hp48.html
was not found on this server.

On Fri, Feb 2, 2018 at 4:02 AM, Ju Lien <jadew...@gmail.com> wrote:

> Hi there,
>
> I'm doing the first HP48G(X) Graphic Calculator Online Emulator with
> Emscripten.
> Work based on a fork of HPEMU emulator written in C and Allegro by Daniel
> Nilsson.
>
>
> I did replaced Allegro with SDL2 and did :
> emcc -O3 *.c -s USE_SDL=2 -s USE_SDL_TTF=2 -s ASSERTIONS=2 -Werror
> --preload-file hpemu.rom --preload-file FreeSans.ttf -s SAFE_HEAP=1 -o
> hp48.html
>
>
> Demo : http://jadegame.com/jsemu48/hp48.html
>
> Github sources : https://github.com/brizzly/jsEmu48
>
>
>
> It's running very slow and I'm open to any feedback to unlock the power !
>
> Thanks,
> Julien
> http://jadegame.com/games/hp48/
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to