x86-emulation

NTVDM System Error 4001h when running a 32-bit DOS app

安稳与你 提交于 2020-06-27 18:34:54
问题 I have cross-compiled a 32-bit analog clock made in ArithmeticExpressionCompiler from Linux to DOS using the GNU Assembler. When run under FreeDOS in QEMU or VirtualBox (which are far better emulators than NTVDM is, right?), it creates this picture: I expected it to also run on Windows 10. However, when I try to run it on Windows 10, I get this error: What does that even mean? My program is not 16-bit, it's 32-bit, so why is some 16-bit subsystem even being run? And what does the "error 4001h

x86 80-bit floating point type in Java

僤鯓⒐⒋嵵緔 提交于 2019-12-22 04:49:38
问题 I want to emulate the x86 extended precision type and perform arithmetic operations and casts to other types in Java. I could try to implement it using BigDecimal, but covering all the special cases around NaNs, infinity, and casts would probably a tedious task. I am aware of some libraries that provide other floating types with a higher precision than double, but I want to have the same precision as the x86 80-bit float. Is there a Java library that provides such a floating point type? If

x86 80-bit floating point type in Java

纵然是瞬间 提交于 2019-12-05 05:27:05
I want to emulate the x86 extended precision type and perform arithmetic operations and casts to other types in Java. I could try to implement it using BigDecimal, but covering all the special cases around NaNs, infinity, and casts would probably a tedious task. I am aware of some libraries that provide other floating types with a higher precision than double, but I want to have the same precision as the x86 80-bit float. Is there a Java library that provides such a floating point type? If not, can you provide other hints that would allow to implement such a data type with less effort than