1
0
Fork 0

Fix booting now that register layout in dos_execute has changed.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2327
This commit is contained in:
Peter Veenstra 2005-09-28 12:52:36 +00:00
parent a7c8df8a1f
commit 6b94af7c58

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_programs.cpp,v 1.42 2005-09-27 12:50:54 qbix79 Exp $ */
/* $Id: dos_programs.cpp,v 1.43 2005-09-28 12:52:36 qbix79 Exp $ */
#include <stdlib.h>
#include <string.h>
@ -415,6 +415,7 @@ public:
reg_ecx = 1;
reg_ebp = 0;
reg_eax = 0;
reg_edx = 0; //Head 0 drive 0
reg_ebx= 0x7c00; //Real code is probably uses bx to load the image
//DEBUG_EnableDebugger();