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
Conversation
---------- 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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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).
@source:misc/vocalizer.cpp | ||
vocalizer | ||
|
There was a problem hiding this comment.
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”?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…amedev#12037) New systems marked not working ---------- Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]
…amedev#12037) New systems marked not working ---------- Breakaway Music Systems Vocalizer 1000 [Loscha, Devin Acker]
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.