Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New NOT_WORKING machine (Vocalizer 1000) #12037

Merged
merged 3 commits into from Feb 17, 2024
Merged

Conversation

devinacker
Copy link
Contributor


Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]

Uses a rebadged (or cloned?) ES5503 made by NCR. Currently "not working" due to lack of mic input + several patches that use the sync/AM mode not sounding right. Unfortunately I don't have any hardware recordings at the moment. Otherwise mostly works, though.

----------
Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]
u8 m_power;
u8 m_config;
u8 m_input_sel;
u8 m_firq_status, m_firq_mask;
Copy link
Member

@happppp happppp Feb 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI initial variable values are uncertain at MAME start if you don't initialize them (here, or at vocalizer_state(x..) or at machine_start. Emulation may access an uninitialized variable and randomly do unexpected/unwanted things.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're initialized in machine_reset, like I've normally been doing in other drivers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I missed that. It's probably not the best place when you consider that devices do device_reset before the driver does machine_reset. If a device accesses a devcb at reset that goes back to the driver, it may read an uninitialized var, or write to one that gets overwritten at machine_reset (some devices initialize output ports at reset).

Comment on lines +32062 to +32064
@source:misc/vocalizer.cpp
vocalizer

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you abbreviate the short name to fit it in eight characters to avoid “short name length inflation”?

Copy link
Member

@happppp happppp Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine to keep it as-is, I'm ok with 9 letter shortnames when there's no nice way to abbreviate it. @devinacker your choice.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, “voclizer” and “vocalizr” both read fine and fit in eight characters.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree that those 2 examples are sensible to type when starting mame from cmdline.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please relax this "8 letter limit at all costs" suggestion, it's frankly silly for stuff like megadriv, I don't want to struggle with MAME CLI suggestions more than enough already.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing is, you still need to memorise the short names for things you use frequently, and I don’t want to have to type excessively long short names at the command line all the time. It’s already annoying enough with the length of short names for software lists when you need to type a fully qualified list:item:part identifier.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any word with 1 letter removed is more annoying to type than the full word.
Well, except for "a" or "I" :P

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then people will start complaining about things having a letter or two dropped to fit nine characters, and then ten characters, and so on.

You follow this to its conclusion and we end up with short names no longer being short and getting close to the 16 character limit on everything, and then you end up having trouble fitting suffixes for clones again. Then there’s pressure to extend the limit again.

Short names are supposed to be short identifiers that can be quickly and easily typed, don’t make for excessively long URLs, etc.

Copy link
Member

@happppp happppp Feb 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that what you're worried about? It doesn't happen (or if it does, show me where).
When I pick (parent set) shortnames, my max is 9, except for game&watch with their gnw_ prefix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO using a full nine-letter word isn't any less convenient than having to remember to spell it with one fewer vowel or what have you. I'm not really attached to any particular naming, though.

src/mame/misc/vocalizer.cpp Outdated Show resolved Hide resolved
src/mame/misc/vocalizer.cpp Show resolved Hide resolved
@cuavas cuavas merged commit 4642704 into mamedev:master Feb 17, 2024
5 checks passed
Mokona pushed a commit to Mokona/mame that referenced this pull request Feb 28, 2024
…amedev#12037)

New systems marked not working
----------
Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 8, 2024
…amedev#12037)

New systems marked not working
----------
Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants