issue an exception for some invalid selector type on pmode CALL instead of exiting (vbdos)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2834
This commit is contained in:
parent
b6e72ef8e1
commit
2147dc647b
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: cpu.cpp,v 1.98 2007-02-22 08:35:34 qbix79 Exp $ */
|
||||
/* $Id: cpu.cpp,v 1.99 2007-04-14 11:16:29 c2woody Exp $ */
|
||||
|
||||
#include <assert.h>
|
||||
#include <sstream>
|
||||
|
@ -1163,8 +1163,8 @@ call_code:
|
|||
LOG(LOG_CPU,LOG_NORMAL)("CALL:TSS to %X",selector);
|
||||
CPU_SwitchTask(selector,TSwitch_CALL_INT,oldeip);
|
||||
break;
|
||||
case DESC_INVALID:
|
||||
// used by some installers
|
||||
case DESC_DATA_EU_RW_NA: // vbdos
|
||||
case DESC_INVALID: // used by some installers
|
||||
CPU_Exception(EXCEPTION_GP,selector & 0xfffc);
|
||||
return;
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue