| Previous | 15994 Revisions | Next |
| r9332 Thursday 7th October, 2010 at 00:36:49 UTC by Justin Kerk |
|---|
| [PC4] Don't need a separate layout |
| [src/mess] | mess.mak |
| [src/mess/drivers] | pc4.c |
| [src/mess/layout] |
| r9331 | r9332 | |
|---|---|---|
| 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="311" bottom="31" /> | |
| 6 | </screen> | |
| 7 | </view> | |
| 8 | </mamelayout> |
| r9331 | r9332 | |
|---|---|---|
| 1803 | 1803 | $(MESS_DRIVERS)/newbrain.o: $(MESS_LAYOUT)/newbrain.lh |
| 1804 | 1804 | $(MESS_DRIVERS)/ng_aes.o: $(MESS_LAYOUT)/neogeo.lh |
| 1805 | 1805 | $(MESS_DRIVERS)/poly880.o: $(MESS_LAYOUT)/poly880.lh |
| 1806 | $(MESS_DRIVERS)/pc4.o: $(MESS_LAYOUT)/pc4.lh | |
| 1807 | 1806 | $(MESS_VIDEO)/pc8401a.o: $(MESS_LAYOUT)/pc8500.lh |
| 1808 | 1807 | $(MESS_DRIVERS)/px4.o: $(MESS_LAYOUT)/px4.lh |
| 1809 | 1808 | $(MESS_DRIVERS)/px8.o: $(MESS_LAYOUT)/px8.lh |
| r9331 | r9332 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | #include "emu.h" |
| 11 | 11 | #include "cpu/z80/z80.h" |
| 12 | #include "pc4.lh" | |
| 13 | 12 | |
| 14 | 13 | class pc4_state : public driver_device |
| 15 | 14 | { |
| r9331 | r9332 | |
| 58 | 57 | MDRV_SCREEN_SIZE(312, 32) |
| 59 | 58 | MDRV_SCREEN_VISIBLE_AREA(0, 311, 0, 31) |
| 60 | 59 | |
| 61 | MDRV_DEFAULT_LAYOUT(layout_ | |
| 60 | MDRV_DEFAULT_LAYOUT(layout_lcd) | |
| 62 | 61 | |
| 63 | 62 | MDRV_PALETTE_LENGTH(2) |
| 64 | 63 | MDRV_PALETTE_INIT(pc4) |
| Previous | 15994 Revisions | Next |