News for hackers. Stuff that matters.
Re:DOjS – A DOS JavaScript Canvas with Sound by vunderba on Monday September 02, 2024 @06:13PM (#41429203)
This seems really neat. However, I'm on a Mac M1 with a stock install of DosBox-X and it seems like all the examples run incredibly slow even when I crank up the cycles to emulate a Pentium 100mHz (~60_000 cycles).

What would be nice is an example JS file called something like "bench-p100.js" along with an expected framerate range you should be seeing assuming running on various Pentium 100mHz systems (DosBox, DosBox-X, bare metal, etc).

Re:DOjS – A DOS JavaScript Canvas with Sound by SuperIlu on Tuesday September 03, 2024 @12:11PM (#41436371)
Well, the speed really depends on what you wanna do. But yes, the interpreter is quite slow.

I'd say a P133 is feasible. I never benchmarked DOSBox against real HW, that would be interesting to check...