caiiiycuk / js-dos

The best API for running dos programs in browser
https://js-dos.com
1.03k stars 130 forks source link

[v0.73.8]test start worker fail #274

Closed citee520 closed 1 year ago

citee520 commented 1 year ago

[precondition] Version: emulators [v0.73.8] emscripten tools: 3.1.34

[reproduce]

  1. Download release emulators [v0.73.8]
  2. tar xvf emulators-0.73.8.tar.gz
  3. cd emulators-0.73.8
  4. yarn install
  5. gulp
  6. cd dist
  7. replace text temp.jsdos to digger.jsdos from template.html
  8. python3 -m http.server 6702
  9. open web, press F12
  10. input 127.0.0.1/test/template.html

[problem] open template.html press "start worker" not work, check debug tools display error message as below: ncaught RuntimeError: unreachable, at 005a4e02:0x73e61 at 005a4e02:0x20b02 at 005a4e02:0x117a9 at 005a4e02:0x11e764 at 005a4e02:0xf9c8c at 005a4e02:0xe3c64 at ret. (wdosbox.js:8:110112) at Object.doRewind (wdosbox.js:8:111785) at wdosbox.js:8:112368 at Module.receive (wdosbox.js:8:12234)

caiiiycuk commented 1 year ago

Hello, which verison of emscripten you used?

citee520 commented 1 year ago

emscripten: 3.1.34 I have try replace file "wdosbox.js" and "wdosbox.wasm" from js-dos, It's worked.

caiiiycuk commented 1 year ago

Please use 3.1.21

citee520 commented 1 year ago

OK, will try it. thanks your help. ^^

citee520 commented 1 year ago

closed. Change emscripten to version 3.121 can be worked.