mappum / DCPU-16

:floppy_disk: A javascript emulator for DCPU-16 (the computer system in Mojang's new game, 0x10c). Works in browsers and Node.
http://mappum.github.com/DCPU-16/
92 stars 18 forks source link

signed dvi/mdi are broken #58

Open hellige opened 12 years ago

hellige commented 12 years ago

Tested in goforth: http://0x10co.de/hiwhx Try typing: -50 5 / . 50 -5 / . The first results in -6564 and the second in -1. Both should be -10.

Try: -50 5 mod . 50 -5 mod . The first results in -2 and the second in 50. Both should be 0.

Here is a pure ASM test of DVI: http://0x10co.de/69nbr

a1k0n commented 12 years ago

fixed now with latest pull request.