MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Parduz
Reged: 01/08/08
Posts: 30
Loc: Bologna, ITALY
Send PM
Re: Understanding Clickable LAYout elements
03/22/22 11:39 AM



Quote:


The name of the LAY file you have... esq2by16.lay... is just the name for the internal source for the LAY file for MAME.

To use this as external artwork:
-- rename it to "default.lay"
-- add it to zip file named "sq1.zip", and put that in the \artwork folder of your MAME directory (assuming defaults).




Wait .... so i don't have to make MAME again each time i modify the LAY file???



Quote:


I'm going to assume you are testing this as external artwork for now, to see that everything works? (Before you submit a source change?)



The plan is to make the "interface" of the synth workable: right now MAME use the PC keyboard to press the synth buttons: by using the mouse to click on buttons i can free the PC keys to play the synth keys.

Right now i just compile MAME again (just for the 5505 driver) each time i want to try the layout.



Quote:


Side note... just noticed... the button for "ROM/INT SELECT -" is hiding under the fifth row of LEDs, the way the layout is currently structured.



That's because i'm still trying to guess what the LCD should do. The 4 "16x2" LCD represents each one memory "page", and i'm struggling to get what some 2-bytes-command-codes sent to the display are supposed to do.
Once i'm done with it i'll draw a layout a bit nicer.



Quote:


I'm playing with it right now, and all of the buttons "do stuff." I don't know all about how this keyboard works yet, but all of the LEDs do something different for each button I click.




That's weird.... on my PC it does'nt work at all.


Quote:


To answer your other questions... I think it is because the driver is incomplete (marked "MACHINE NOT WORKING").




Understanding MAME is hard... i thought that the I/O ports were known (so, where the keys are), but not emulated or managed if not with hacks.

Thanks for your help







Entire thread
Subject Posted by Posted on
* Understanding Clickable LAYout elements Parduz 03/21/22 02:47 AM
. * Re: Understanding Clickable LAYout elements Mr. DoAdministrator  03/21/22 06:18 PM
. * Re: Understanding Clickable LAYout elements Parduz  03/22/22 12:31 AM
. * Re: Understanding Clickable LAYout elements Mr. DoAdministrator  03/22/22 02:09 AM
. * Re: Understanding Clickable LAYout elements Parduz  03/22/22 11:39 AM
. * Re: Understanding Clickable LAYout elements Robbbert  03/22/22 01:13 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 398