VOGONS


First post, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

CASE_W(0x8d)
...
*rmrw=(Bit16u)(*EATable[rm])();

If rm contains an illegal value (for whatever reason), then DOSBox crashes.
The illegal EA entries should probably be set to call int6 or exit or something, not contain null.

Reply 1 of 4, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

What uses that?

Reply 2 of 4, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Would you like DOSBox to crash when the user inputs an illegal command? 😀

1+1=10

Reply 3 of 4, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

The emulated code should not be able to crash DOSBox. :-)
It's not used intentionally as far as I know (though someone might use it for anti-debug), but a bad copy of Lychnis demonstrated the behaviour.

Reply 4 of 4, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The emulated code should not be able to crash DOSBox. 😀

Harekiet's comments in the code suggest otherwise.