Added patch [ 889714 ] Structure of the DIB (Fizzban)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1654
This commit is contained in:
parent
631eff19be
commit
0ec99d746c
2 changed files with 4 additions and 4 deletions
|
@ -349,8 +349,8 @@ public:
|
|||
#pragma pack(1)
|
||||
#endif
|
||||
struct sDIB {
|
||||
Bit8u stuff1[22]; // -0x18 some stuff, hopefully never used....
|
||||
Bit16u firstMCB; // -0x2 first memory control block
|
||||
Bit8u stuff1[20]; // -0x18 some stuff, hopefully never used....
|
||||
RealPt firstMCB; // -0x04 first memory control block
|
||||
RealPt firstDPB; // 0x00 first drive parameter block
|
||||
RealPt firstFileTable; // 0x04 first system file table
|
||||
RealPt activeClock; // 0x08 active clock device header
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dos_classes.cpp,v 1.33 2004-01-10 14:03:34 qbix79 Exp $ */
|
||||
/* $Id: dos_classes.cpp,v 1.34 2004-02-03 14:54:36 finsterr Exp $ */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -68,7 +68,7 @@ void DOS_InfoBlock::SetLocation(Bit16u segment)
|
|||
|
||||
void DOS_InfoBlock::SetFirstMCB(Bit16u _firstmcb)
|
||||
{
|
||||
sSave(sDIB,firstMCB,_firstmcb);
|
||||
sSave(sDIB,firstMCB,RealMake(_firstmcb,0));
|
||||
}
|
||||
|
||||
void DOS_InfoBlock::SetfirstFileTable(RealPt _first_table){
|
||||
|
|
Loading…
Add table
Reference in a new issue