Skip to content

video/mc6847.cpp: remove implicit screen setup default in device_config_complete - #15855

Open
angelosa wants to merge 3 commits into
masterfrom
mc6847_screen_config
Open

video/mc6847.cpp: remove implicit screen setup default in device_config_complete#15855
angelosa wants to merge 3 commits into
masterfrom
mc6847_screen_config

Conversation

@angelosa

@angelosa angelosa commented Aug 6, 2026

Copy link
Copy Markdown
Member
  • video devices are never intended to have this kind of information, screen_device is an abstraction that emulates a monitor connection.
  • In MC6847 case the device is normally paired with a MC1372 RF modulator.
  • fix recent regression with trs/coco12.cpp at least (setting a screen of 100x100)

…ig_complete

* CRTC video devices are never intended to have this kind of information, screen_device is an abstraction that emulates a monitor connection.
* In MC6847 case the device is normally paired with a MC1372 RF modulator.
* fix recent regression with trs/coco12.cpp at least (setting a screen of 100x100)
456, // htotal
0, // hbend
BMP_L_OR_R_BORDER * 2 + BMP_ACTIVE_VIDEO, // hbstart
m_tpfs, // vtotal

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

btw m_tpfs is in floating point ...

@angelosa

angelosa commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

fwiw there are a bunch of other devices that internalizes screen_device like this (cfr. if (!has_screen() pattern), none of them is imho as worrying/spectacularly bad as this one.

Comment thread src/mame/trs/mc10.cpp Outdated
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.

1 participant