Previous 15994 Revisions Next

r4202 Wednesday 28th January, 2009 at 10:50:23 UTC by Dirk Best
[PX4] Added basic layout file
[src/mess]mess.mak
[src/mess/drivers]px4.c
[src/mess/layout]px4.lay*

src/mess/mess.mak
r4201r4202
14321432$(MESS_DRIVERS)/mpf1.o:      $(MESS_LAYOUT)/mpf1.lh
14331433$(MESS_DRIVERS)/nc.o:      $(MESS_LAYOUT)/nc200.lh
14341434$(MESS_DRIVERS)/pokemini.o:   $(MESS_LAYOUT)/pokemini.lh
1435$(MESS_DRIVERS)/px4.o:      $(MESS_LAYOUT)/px4.lh
14351436$(MESS_DRIVERS)/svi318.o:   $(MESS_LAYOUT)/sv328806.lh
14361437$(MESS_DRIVERS)/svision.o:   $(MESS_LAYOUT)/svision.lh
14371438$(MESS_DRIVERS)/sym1.o:      $(MESS_LAYOUT)/sym1.lh
src/mess/layout/px4.lay
r0r4202
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <view name="LCD with square pixels">
4      <screen index="0">
5         <bounds left="0" top="0" right="15" bottom="4" />
6      </screen>
7   </view>
8</mamelayout>
src/mess/drivers/px4.c
r4201r4202
1010#include "driver.h"
1111#include "cpu/z80/z80.h"
1212#include "devices/cartslot.h"
13#include "px4.lh"
1314
1415
1516/***************************************************************************
r4201r4202
403404   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
404405   MDRV_SCREEN_SIZE(240, 64)
405406   MDRV_SCREEN_VISIBLE_AREA(0, 239, 0, 63)
407
408   MDRV_DEFAULT_LAYOUT(layout_px4)
409
406410   MDRV_PALETTE_LENGTH(2)
407411   MDRV_PALETTE_INIT(black_and_white)
408412

Previous 15994 Revisions Next


© 1998-2018 The MESS Team