1
0
Fork 0

add device control channel handling;

fix typo in ems.cpp (#1462677)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2582
This commit is contained in:
Sebastian Strohhäcker 2006-04-07 16:34:07 +00:00
parent 35b8249ab1
commit 3359eee956
6 changed files with 62 additions and 14 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_system.h,v 1.31 2006-02-09 11:47:47 qbix79 Exp $ */
/* $Id: dos_system.h,v 1.32 2006-04-07 16:34:07 c2woody Exp $ */
#ifndef DOSBOX_DOS_SYSTEM_H
#define DOSBOX_DOS_SYSTEM_H
@ -30,6 +30,8 @@
#include "cross.h"
#endif
#include "mem.h"
#define DOS_NAMELENGTH 12
#define DOS_NAMELENGTH_ASCII (DOS_NAMELENGTH+1)
#define DOS_FCBNAME 15
@ -99,6 +101,8 @@ public:
virtual bool Seek(Bit32u * pos,Bit32u type);
virtual bool Close();
virtual Bit16u GetInformation(void);
virtual bool ReadFromControlChannel(PhysPt bufptr,Bit16u size,Bit16u * retcode);
virtual bool WriteToControlChannel(PhysPt bufptr,Bit16u size,Bit16u * retcode);
void SetDeviceNumber(Bitu num) { devnum=num;}
private:
Bitu devnum;