1
0
Fork 0

Whoops add all changes to it.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2610
This commit is contained in:
Peter Veenstra 2006-04-21 08:50:30 +00:00
parent 4d33692c6f
commit 8a10d6f33b
2 changed files with 8 additions and 4 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_inc.h,v 1.59 2006-02-09 11:47:47 qbix79 Exp $ */
/* $Id: dos_inc.h,v 1.60 2006-04-21 08:50:30 qbix79 Exp $ */
#ifndef DOSBOX_DOS_INC_H
#define DOSBOX_DOS_INC_H
@ -367,6 +367,7 @@ public:
Bit16u GetStartOfUMBChain(void);
Bit8u GetUMBChainState(void);
RealPt GetPointer(void);
Bit32u GetDeviceChain(void);
#ifdef _MSC_VER
#pragma pack(1)

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_classes.cpp,v 1.47 2006-02-09 11:47:48 qbix79 Exp $ */
/* $Id: dos_classes.cpp,v 1.48 2006-04-21 08:50:30 qbix79 Exp $ */
#include <string.h>
#include <stdlib.h>
@ -168,13 +168,16 @@ RealPt DOS_InfoBlock::GetPointer(void) {
return RealMake(seg,offsetof(sDIB,firstDPB));
}
Bit32u DOS_InfoBlock::GetDeviceChain(void) {
return sGet(sDIB,nulNextDriver);
}
/* program Segment prefix */
Bit16u DOS_PSP::rootpsp = 0;
void DOS_PSP::MakeNew(Bit16u mem_size)
{
void DOS_PSP::MakeNew(Bit16u mem_size) {
/* get previous */
DOS_PSP prevpsp(dos.psp());
/* Clear it first */