Replies: 2 comments 14 replies
-
You compile and link it as 16-bit or 32-bit DOS application? |
Beta Was this translation helpful? Give feedback.
8 replies
-
I am trying to extract ldcvt from open-watcom-v2 source and compile it for dos. I almost done with this, but I have only one problem, with this assembler pragma:
When I try to compile it with command
I have following error:
All other pragmas are ok. Can I fix it somehow? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am the author of the js-dos project. I use watcom to complie DOS benchmark program (dhry2). I am experiencing a very strange problem with dosbox-x compiled to emscripten. I am using this very simple program:
I compile it for dos, and run it with dosbox-x in browser and PC. The PC output is 1000.00, but the browser output is 0.00.
The weirdest thing is that this only happens with printf and %.2f, for example, I tried David M. Gay's 'dtoa()' function to print the doubles
manually and it works exactly the same under dosbox-x in browser and PC.
So I think the openwatcom implementation has something that is emulating incorrectly in the browser under dosbox-x. I have tried to find sources but no luck. Can you tell me where to find them. At least what algorithm is used to parse %.2f.
Beta Was this translation helpful? Give feedback.
All reactions