-
Notifications
You must be signed in to change notification settings - Fork 2.2k
VET 3000, "The Video Effects Titler" #14364
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
Conversation
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.
Other than the one thing I tagged, this looks great.
src/mame/tms/vet3000.cpp
Outdated
| INPUT_PORTS_END | ||
|
|
||
|
|
||
| #define MAIN_CLOCK 3.579545_MHz_XTAL |
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.
Would you be alright with making this a static member of the class instead of using a #define? I'm not super bothered about it either way, but it caught my eye by looking a bit out-of-place here.
by Tecnologia em Micro Sistemas (Brazilian company), 1988 https://datassette.org/node/106385 https://www.youtube.com/watch?v=DJXlqe2UXKs
0e88e48 to
dc6d138
Compare
src/mame/tms/vet3000.cpp
Outdated
| { | ||
| for (u8 i=0; i<7; i++) | ||
| if (!BIT(m_scan, i)) | ||
| return m_row[i]->read(); |
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.
Isn't that an and of all the outputs for which a m_scan bit is zero?
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.
Yes, I think that's more accurate, indeed. I've just fixed it. Thanks!
src/mame/tms/vet3000.cpp
Outdated
| }; | ||
|
|
||
|
|
||
| void vet3000_state::keyboard_w(u8 data){ |
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.
Random { at end of line.
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.
Also fixed the formatting now.
|
Thanks! |
| PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_1) | ||
| PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_Q) | ||
| PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_A) | ||
| PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) | ||
| PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_7) | ||
| PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_U) | ||
| PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_J) | ||
| PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_OTHER) PORT_CODE(KEYCODE_N) |
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.
You should really be using IPT_KEYBOARD and PORT_NAME or PORT_CHAR for all the keys. It’s not going to be a good experience like this.
by Tecnologia em Micro Sistemas (Brazilian company), 1988