-
Notifications
You must be signed in to change notification settings - Fork 2k
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
hp/hp98x6.cpp: Support 3 new machines #12599
Conversation
Had a quick scroll through it. Looks pretty good to me, just a few feedback points that popped into my head, but I don't feel strongly enough about them that devs with commit access should hold things up about it:
|
src/mame/hp/hp98x6.cpp
Outdated
class hp98x6_base_state : public driver_device | ||
{ | ||
public: | ||
hp9816_state(const machine_config &mconfig, device_type type, const char *tag) | ||
hp98x6_base_state(const machine_config &mconfig, device_type type, const char *tag) | ||
: driver_device(mconfig, type, tag) |
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.
If this is now an abstract base class, the constructor should be protected
.
src/mame/hp/hp98x6.cpp
Outdated
floppy_image_device *drives[2] = { get_drive(0), get_drive(1) }; | ||
floppy_image_device *new_floppy = drives[get_sel_floppy()]; |
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.
Wouldn’t it be simpler to just do:
floppy_image_device *const new_floppy = get_drive(get_sel_floppy());
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.
absolutely, that was a relic from an early implementation
Hi,
this PR adds the emulation of hp9826a, 9836a & 9836c machines (of the hp98x6 family).
I'll e-mail the relevant ROM images shortly.
Thanks.
--F.Ulivi