undocumented feature with resize returning segment in AX
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1394
This commit is contained in:
parent
cf9a3a8931
commit
9c3002204e
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dos.cpp,v 1.59 2003-10-26 18:57:46 harekiet Exp $ */
|
||||
/* $Id: dos.cpp,v 1.60 2003-11-01 16:03:42 harekiet Exp $ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -599,6 +599,7 @@ static Bitu DOS_21Handler(void) {
|
|||
{
|
||||
Bit16u size=reg_bx;
|
||||
if (DOS_ResizeMemory(SegValue(es),&size)) {
|
||||
reg_ax=SegValue(es);
|
||||
CALLBACK_SCF(false);
|
||||
} else {
|
||||
reg_ax=dos.errorcode;
|
||||
|
|
Loading…
Add table
Reference in a new issue