diff --git a/src/mame/drivers/ymtx81z.cpp b/src/mame/drivers/ymtx81z.cpp index 1700eca1320..ad919d0f558 100644 --- a/src/mame/drivers/ymtx81z.cpp +++ b/src/mame/drivers/ymtx81z.cpp @@ -19,6 +19,8 @@ #include "screen.h" #include "speaker.h" +#include "tx81z.lh" + class ymtx81z_state : public driver_device { public: @@ -149,6 +151,8 @@ void ymtx81z_state::tx81z(machine_config &config) PALETTE(config, "palette", FUNC(ymtx81z_state::palette_init), 3); + config.set_default_layout(layout_tx81z); + hd44780_device &lcdc(HD44780(config, "lcdc", 0)); lcdc.set_lcd_size(2, 16); lcdc.set_pixel_update_cb(FUNC(ymtx81z_state::lcd_pixel_update)); diff --git a/src/mame/layout/tx81z.lay b/src/mame/layout/tx81z.lay new file mode 100644 index 00000000000..0fb984c5114 --- /dev/null +++ b/src/mame/layout/tx81z.lay @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +