1
0
Fork 0

Rewrote devices so they can be opened/closed/cloned. Fix Turbo pascal 7 saving bug(wd/mirek). Increase number of files to 127. Remove null device from default handles. Proper creation of the initial psp. (not hacked anymore). Quite some files= bugs should be fixed

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2025
This commit is contained in:
Peter Veenstra 2004-10-17 14:45:00 +00:00
parent 3ee0cef43d
commit 3602a06de9
9 changed files with 165 additions and 94 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: ems.cpp,v 1.34 2004-08-04 09:12:56 qbix79 Exp $ */
/* $Id: ems.cpp,v 1.35 2004-10-17 14:45:00 qbix79 Exp $ */
#include <string.h>
#include <stdlib.h>
@ -65,7 +65,7 @@
class device_EMM : public DOS_Device {
public:
device_EMM(){name="EMMXXXX0";}
device_EMM(){SetName("EMMXXXX0");}
bool Read(Bit8u * data,Bit16u * size) { return false;}
bool Write(Bit8u * data,Bit16u * size){
LOG(LOG_IOCTL,LOG_NORMAL)("EMS:Write to device");