Previous 15994 Revisions Next

r5115 Monday 29th June, 2009 at 13:38:09 UTC by Dirk Best
[EINSTEIN] Changed to use a default layout instead of a custom one
[src/mess]mess.mak
[src/mess/drivers]einstein.c
[src/mess/layout]einstei2.lay

src/mess/mess.mak
r5114r5115
14731473$(MESS_DRIVERS)/bw2.o:      $(MESS_LAYOUT)/bw2.lh
14741474$(MESS_DRIVERS)/coco.o:      $(MESS_LAYOUT)/coco3.lh
14751475$(MESS_DRIVERS)/cybiko.o:   $(MESS_LAYOUT)/cybiko.lh
1476$(MESS_DRIVERS)/einstein.o:   $(MESS_LAYOUT)/einstei2.lh
14771476$(MESS_DRIVERS)/ex800.o:   $(MESS_LAYOUT)/ex800.lh
14781477$(MESS_DRIVERS)/gamecom.o:   $(MESS_LAYOUT)/gamecom.lh
14791478$(MESS_DRIVERS)/gamepock.o:   $(MESS_LAYOUT)/gamepock.lh
src/mess/layout/einstei2.lay
r5114r5115
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="Dual">
4      <screen index="0">
5         <bounds x="0" y="0" width="4" height="3" />
6      </screen>
7      <screen index="1">
8         <bounds x="4" y="0" width="4" height="3" />
9      </screen>
10   </view>
11   <view name="Color monitor">
12      <screen index="0">
13         <bounds x="0" y="0" width="4" height="3" />
14      </screen>
15   </view>
16   <view name="Monochrom monitor">
17      <screen index="1">
18         <bounds x="0" y="0" width="4" height="3" />
19      </screen>
20   </view>
21</mamelayout>
src/mess/drivers/einstein.c
r5114r5115
6161#include "devices/basicdsk.h"
6262#include "sound/ay8910.h"
6363#include "video/mc6845.h"
64#include "einstei2.lh"
64#include "rendlay.h"
6565
6666
6767/***************************************************************************
r5114r5115
909909   MDRV_MACHINE_RESET(einstein2)
910910
911911    /* video hardware */
912   MDRV_DEFAULT_LAYOUT(layout_einstei2)
912   MDRV_DEFAULT_LAYOUT(layout_dualhsxs)
913913
914914   MDRV_SCREEN_ADD("80column", RASTER)
915915   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team