First post, by Qbix
- DOSBox Author
I have been messing with that every now and then. I have tried a lot of different things, but I somehow seem to miss doing the right thing. (complicated by problem 2)
In order not to cloud any help/result, I will not include things that I tried. Nor any data that might be related to my setup.
2 different problems:
1) Windows 3.11 enhanced mode crashes when starting imgmount from the command prompt.
2) Windows 3.11 enhanced mode does not startup. (after a specific change)
The troublesome instruction seems to be 0x8f (dyn_pop_ev). If you comment that out in src/cpu/core_dynrec/decoder.h (so the case, the instruction and the break),
then it works. (jmarsh wrote 2 potential fixes for that)
2) In order to help with debugging, a common trick is to set the number of instructions per block to 1 (src/cpu/core_dynrec.cpp: around line 212 CreateCacheBlock). Change the 32 to 1.
However, now windows suddenly is unable to start at my PC. (it crashes back to the shell, but you can't see that because of a different videomode)
This can be avoided by commenting out instruction 0x6a in src/cpu/core_dynrec/decoder.h ( dyn_push_byte_imm, again the case, the instruction and the break)
Can anybody confirm these 2 problems. Especially problem 2 as that one has not been confirmed yet by somebody else, which is bugging me a lot.
Water flows down the stream
How to ask questions the smart way!