cgwg / mame

MAME - Multiple Arcade Machine Emulator
Other
0 stars 0 forks source link

Fixed vertical resolution #2

Open ICEknigh7 opened 1 year ago

ICEknigh7 commented 1 year ago

It's well known that some of the old cores in MAME crop the borders present in the output of certain systems (like the NES) while some correctly output the full generated picture (PC-Engine, ZX Spectrum), and this is preventing to have one crt-geom-deluxe configuration correctly adjusted for different cores without having to stretch the screen size on a case-by-case basis.

Perhaps a "Fixed vertical resolution" setting to choose between NTSC (525px)/PAL (625px)/etc, so that the picture can be automatically scaled and centered on the Y axis (by adding the missing empty space necessary for having a full 4:3 output), could fix this issue and make it possible to have consistent "scanlines" between systems.

Maybe something like this?

Such an option would actually fix a problem with screen size consistency that MAME has been having since it merged with MESS, please consider adding this functionality.

ICEknigh7 commented 1 year ago

Here's some mockups I just made to help illustrate how the output of different systems could be fit into a full-sized frame, keeping a consistent vertical pixel size/number of scanlines and thus allowing for a more consistent use of the shader across cores (the obtained filler space is supposed to show up as black and is only marked in green for reference): nes pacman pce psx sms

And some PAL systems: spectrum amstrad

ICEknigh7 commented 3 months ago

This would also allow the x68000 core to behave like real hardware: x68000 minic screen size o0640048012967265064

Instead of stretching the picture when the vertical resolution changes: x68000 minic screen size full