juj
juj
Consider ```c++ void _CHROUT(unsigned char ch); void chrout_u16(unsigned int num) { unsigned char zp0, zp1; asm("NOP":"=r"(zp0),"=r"(zp1), "+r"(num)::); _CHROUT(zp1); _CHROUT(zp0); } ``` This generates the following assembly: ```asm chrout_u16(unsigned int): ;...
The C++ code: ```c++ #include uint8_t SUB_U8_SAT(uint8_t a, uint8_t b) { if (a < b) return 0; return a - b; } ``` https://godbolt.org/z/WxnnesYzK gives ```asm SUB_U8_SAT(unsigned char, unsigned char):...
In Emscripten, having the ability to build libraries that avoid trapping in certain common situations is an important ability (https://github.com/kripken/emscripten/issues/4625 for some background). Currently integer division and modulus operations as...
1. Clicking on link `Memory.grow` in https://github.com/WebAssembly/design/blob/master/JS.md#webassemblymemoryprototypegrow in `Perform Memory.grow with delta d.` sentence points to https://github.com/WebAssembly/spec/blob/master/interpreter/spec/memory.mli#L27 which gives a 404. 2. Does `Perform Memory.grow with delta d.` there mean...
Hi, I am trying to use Firefox Profiler to benchmark code lines that allocate JS garbage. To do that, I enable the option `"JS Allocations"` in the profiler and do...
WebAssembly currently supports a growing number of subfeatures that is causing fragmentation in WebAssembly adoption. Simply listing a single WebAssembly supported Yes/No page is not enough. The WebAssembly roadmap page...
While authoring https://github.com/emscripten-core/emscripten/pull/20890 , I noticed that caniuse does not have information on Gamepads API to mention which browsers require a secure origin to access gamepad data. That information might...
Comi uses the scumm7-8 engine, which is slightly different to compile than the scumm0-6 engine set. I have this partially working, video doesn't play back, and audio doesn't work, and...
The full version of Beneath a Steel Sky is freely available for download at http://scummvm.org/downloads/ . Add support for that game.
IE 10 supports neither Mozilla Audio Data API or Web Audio API, and therefore audio does not play back at all when run in IE10. Possible fixes to this are...