Skip to content
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

Scaling ratio issues with 640x200 and 640x350 modes #15

Open
Jamirus238 opened this issue May 23, 2020 · 5 comments
Open

Scaling ratio issues with 640x200 and 640x350 modes #15

Jamirus238 opened this issue May 23, 2020 · 5 comments

Comments

@Jamirus238
Copy link

Each of these is relatively rare, but it adds up:
Dosbox insists on internally doubling pre-VGA 640x200 modes vertically to 400. This causes them to be detected as interlaced when using shaders in RA, which is of course inaccurate.
640x350 EGA mode aspect correction doesn't work correctly at all, the core turns this into some sort of widescreen mode. Trivial fix with the RA scaling settings for the rare cases where it's necessary, but I thought it's worth mentioning anyway.
Since I'm at it, could the text for the Aspect correction option in RA be slightly modified? It references non-square VGA resolutions, but the VGA reference seems unnecessary.
There are also a few games which will look more correct with Aspect correction off, some European games which where probably developed with the Amiga as lead platform. For that reason, I suggest just deleting the latter part of the last sentence ("but this will result in a squashed or stretched image).

@realnc
Copy link
Owner

realnc commented May 23, 2020

Can you post the games where this happens?

@Jamirus238
Copy link
Author

Jamirus238 commented May 23, 2020

Just to clarify, this looks to be general behavior of dosbox that kicks in as soon as you start a core with EGA (640x350 native) or Tandy/CGA (640x200) (Hercules is corrected to 4:3).
It shouldn't be game specific, so because CGA composite is treated as 640x400 also, any game here is affected:
https://www.mobygames.com/attribute/sheet/attributeId,29/p,4/

Some other examples of games that use 640x200 mode, mostly in EGA: Sorcerian, Zeliard , Silpheed,various early Koei games like Gemfire, Romance of the three Kingdoms

Examples of games that use 640x350 mode: Blockout, Flight Simulator 3, Simcity, SimEarth, Sierra's 3D-Helicopter Simulator, Magnetic Scrolls Adventures such as The Pawn etc.

@realnc
Copy link
Owner

realnc commented May 24, 2020

OK, this is not specific to the core then. I tried a couple of these games and dosbox's aspect correction will give wrong results. So it seems all we can do here is document that in the option description.

@Jamirus238
Copy link
Author

Aspect is only affecting the second example though, the 640x200 games require a different internal res, is this not possible to set specific in the RA cores?

@realnc
Copy link
Owner

realnc commented May 28, 2020

It's not possible to disable line doubling with EGA. The only case where line doubling can be disabled is with VGA or SVGA rmodes when dosbox is configured to just emulate a framebuffer instead of the actual video card. This happens when using one of the "SVGA" options for the "machine" core option. EGA will never result in framebuffer emulation though, so it's always going to be line-doubled.

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

No branches or pull requests

2 participants