Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated npm package or information for assembling the -data file #17

Open
gohai opened this issue Aug 25, 2019 · 2 comments
Open

Updated npm package or information for assembling the -data file #17

gohai opened this issue Aug 25, 2019 · 2 comments

Comments

@gohai
Copy link

gohai commented Aug 25, 2019

Hello @jsdf,

Thanks a lot for your work on making emulation on the web possible!

I am interested in trying out pce-js together with some old OS 6 software I've written. I got it to run using the published npm module and instructions, but it seems it is not quite fast enough (I am seeing system to slow messages in the console).

Since the npm module was last updated five years ago, and I don't see the message

Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!`

on https://jamesfriend.com.au/pce-js/system6/, I am wondering whether this repo has some updates that the version on npm is lacking?

I've tried to build this repo myself, but my version of macOS didn't come with LLVM, and I wasn't able to modify /usr/bin to link the version installed by brew.

If you have some time to publish an updated npm package, that'd be greatly appreciated. (If it'd be straightforward to re-build the -data file that is used on your website with a custom config and custom image files, that'd be super helpful too.)

Thanks,
gohai

@jsdf
Copy link
Owner

jsdf commented Apr 19, 2020

None of the log messages you mentioned would stop it from working.

I've updated the readme on npm slightly, however the instructions are mostly the same. Did you try following the instructions exactly to see if it works before trying to modify it to run your custom disk image? You don't need to build the repo from source.

The version on my website is very old, and the -data file was only necessary before I added the functionality to load files using the autoloadFiles array in the arguments passed to pcejs-macplus.

@gohai
Copy link
Author

gohai commented May 3, 2020

Thank you, @jsdf, for your response and update!

I believe I must have thought that the version on your website is newer (and potentially: faster), as it wasn't showing this warning. But I was able to follow your instructions now, and they work for me.

(I guess there is isn't an easy knob to increase the speed of the emulation? I am still seeing the system too slow messages in the console, and animations feel slow compared to mini vMac)

In any case: feel free to close this issue, and thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants