Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: Mar 2002
Posts: 1,313
Likes: 74
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,313
Likes: 74
In my quick test, I declared the .lay file at: void esq5505_state::sq1(machine_config &config)

1 member likes this: Parduz
Joined: Dec 2022
Posts: 8
P
Parduz Offline OP
Member
OP Offline
Member
P
Joined: Dec 2022
Posts: 8
Originally Posted by hap
In my quick test, I declared the .lay file at: void esq5505_state::sq1(machine_config &config)
I have no idea about what this really means eek
i've found the config.set_default_layout(layout_sq1); in the esqlcd.cpp file. Is this what you mean?

Joined: Dec 2022
Posts: 8
P
Parduz Offline OP
Member
OP Offline
Member
P
Joined: Dec 2022
Posts: 8
Ok, i think i've finished smile

The LCD display still have some logic problem: sometime some string is not updated, or deleted. Having the real SQ1 here, I tried to understand the logic of the commands sent to the display but, in the end, something is missing.
Still, i can now work on the emulated SQ1 without much problems.

I tried to make the analog inputs working from the layout (the Data Entry slider could be SO useful!) but failed, so they're just here as decors. Also the sequencers buttons are "fake".



https://github.com/parduz/mame-SQ1

Here you will find my updated sources. I'll let you guys merging these files in MAME; i've put great efforts in being clear and clean in my code and comments, but i'm sure you'll have to revise both, and my grammar too.
Also, i know nothing about the various MACHINE_WORKING flags and who's declaring something working or not, and why.

So, in the end, i'll leave the final touches to you (admitted that you'll think that that code is good enough to be merged).

Thanks to all.

Last edited by Parduz; 01/02/23 12:07 PM.
Joined: Mar 2002
Posts: 1,313
Likes: 74
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,313
Likes: 74
I mean I placed that line in esq5505.cpp in the sq1 machine config function.
esqlcd.cpp is not the right place.

Joined: Dec 2022
Posts: 8
P
Parduz Offline OP
Member
OP Offline
Member
P
Joined: Dec 2022
Posts: 8
Originally Posted by hap
I mean I placed that line in esq5505.cpp in the sq1 machine config function.
esqlcd.cpp is not the right place.
Yup, took me a while to understand this but i've done it.

See my post just before your smile

Page 2 of 2 1 2

Link Copied to Clipboard
Who's Online Now
1 members (Pernod), 23 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,158
Posts119,911
Members5,034
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com