| 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* |
| r4201 | r4202 | |
|---|---|---|
| 1432 | 1432 | $(MESS_DRIVERS)/mpf1.o: $(MESS_LAYOUT)/mpf1.lh |
| 1433 | 1433 | $(MESS_DRIVERS)/nc.o: $(MESS_LAYOUT)/nc200.lh |
| 1434 | 1434 | $(MESS_DRIVERS)/pokemini.o: $(MESS_LAYOUT)/pokemini.lh |
| 1435 | $(MESS_DRIVERS)/px4.o: $(MESS_LAYOUT)/px4.lh | |
| 1435 | 1436 | $(MESS_DRIVERS)/svi318.o: $(MESS_LAYOUT)/sv328806.lh |
| 1436 | 1437 | $(MESS_DRIVERS)/svision.o: $(MESS_LAYOUT)/svision.lh |
| 1437 | 1438 | $(MESS_DRIVERS)/sym1.o: $(MESS_LAYOUT)/sym1.lh |
| r0 | r4202 | |
|---|---|---|
| 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> |
| r4201 | r4202 | |
|---|---|---|
| 10 | 10 | #include "driver.h" |
| 11 | 11 | #include "cpu/z80/z80.h" |
| 12 | 12 | #include "devices/cartslot.h" |
| 13 | #include "px4.lh" | |
| 13 | 14 | |
| 14 | 15 | |
| 15 | 16 | /*************************************************************************** |
| r4201 | r4202 | |
| 403 | 404 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 404 | 405 | MDRV_SCREEN_SIZE(240, 64) |
| 405 | 406 | MDRV_SCREEN_VISIBLE_AREA(0, 239, 0, 63) |
| 407 | ||
| 408 | MDRV_DEFAULT_LAYOUT(layout_px4) | |
| 409 | ||
| 406 | 410 | MDRV_PALETTE_LENGTH(2) |
| 407 | 411 | MDRV_PALETTE_INIT(black_and_white) |
| 408 | 412 |
| Previous | 15994 Revisions | Next |