Adjust screen position

Jon
Posts: 10
Joined: Mon Apr 26, 2021 5:13 pm
Has thanked: 10 times
Been thanked: 2 times

Adjust screen position

Unread post by Jon »

I am struggling to understand exactly what this does, and what the optimal setting is. I've looked at the readme and had a play around, but it doesn't quite make sense.

I have a 1920x1080 monitor and I want a PAL setup with 4x vertical scale.

I have the following in mister.ini
vscale_mode=0
video_mode=8
vsync_adjust=2

In the Minimig core menu I set Scaling to V-Integer.

By default the core reports a resolution of 1508x286 (on the standard 1.3 disk prompt or a clean 3.1 wb install). This means that it scales 3x. From trial and error, I have found that 'Adjust screen position' allows me to reduce the vertical height to 270 so it scales 4x on my display. I press the 'up' cursor a few times and when it hits 1508x270 the scaling flips to 4x.

I have a few questions about this:
- Where does the initial height of 286 come from? What meaning does this have? Why is it not 256?
- Is it sufficient to adjust the height to 270 in one direction? Should I also be adjusting the 'bottom right' with the ALT key by an equal amount? I don't quite understand the difference.
- Why is the width 1508?
- Do I also need to adjust the width to maintain the correct aspect ratio or is this scaled automatically?

Sorry if this is all really obvious stuff and I'm over-complicating. I'm just keen to have an optimal setup.
graffias79
Posts: 3
Joined: Fri Mar 19, 2021 2:40 pm
Has thanked: 1 time

Re: Adjust screen position

Unread post by graffias79 »

Not sure about the other things but 286 pixels probably includes the overscan area. In Workbench you can actually increase your workspace to take full advantage of that extra bit of resolution.
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Adjust screen position

Unread post by LamerDeluxe »

The display is so wide because of the super high-res screen modes of the Amiga and it's ability to scroll low-res screens at super high-res resolutions.
therourke
Posts: 24
Joined: Mon May 17, 2021 9:09 pm
Location: London
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Adjust screen position

Unread post by therourke »

I am having a slight issue with my CRT PVM over RGB. Games like Lemmings, in 320, are shifted slightly to the right.
FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: Adjust screen position

Unread post by FoxbatStargazer »

One of the core menu options is pixel clock, 22mhz? or variable. Having it set to the fixed number forces that wide resolution at all times.

Games shifted to the right was also real common on real Amiga hardware because it gave access to some extra sprites. If you play with analog out/no scaler you just got to deal right now.
wmd
Posts: 61
Joined: Sun May 21, 2023 9:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Adjust screen position

Unread post by wmd »

FoxbatStargazer wrote: Tue May 18, 2021 4:33 am

One of the core menu options is pixel clock, 22mhz? or variable. Having it set to the fixed number forces that wide resolution at all times.

Games shifted to the right was also real common on real Amiga hardware because it gave access to some extra sprites. If you play with analog out/no scaler you just got to deal right now.

Is there no way to adjust H and V positions using the MiSTer Amiga core? I notice that such options seem to be present in most arcade cores.

Optiroc
Posts: 107
Joined: Sun May 24, 2020 7:29 pm
Has thanked: 7 times
Been thanked: 38 times

Re: Adjust screen position

Unread post by Optiroc »

For MegaAGS I have created a tool that generates vadjust files on the fly, with parameters for v/h shift and scale (4, 5 or 6x).

Source is available here, and I’ll try to attach a prebuilt AmigaOS binary. (I failed with the latter on the phone, but it’s available here.)

wmd
Posts: 61
Joined: Sun May 21, 2023 9:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Adjust screen position

Unread post by wmd »

So it is already part of AmigaVision? I was just about to install AmigaVision onto my MiSTer.

Optiroc
Posts: 107
Joined: Sun May 24, 2020 7:29 pm
Has thanked: 7 times
Been thanked: 38 times

Re: Adjust screen position

Unread post by Optiroc »

wmd wrote: Sat Jun 24, 2023 5:21 pm

So it is already part of AmigaVision? I was just about to install AmigaVision onto my MiSTer.

Yep

wmd
Posts: 61
Joined: Sun May 21, 2023 9:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Adjust screen position

Unread post by wmd »

That's great. Without wanting to sound like a complete idiot, how do I adjust those settings, and can it be done on a per-game basis?

FoxbatStargazer
Top Contributor
Posts: 1019
Joined: Thu Dec 10, 2020 5:44 pm
Has thanked: 315 times
Been thanked: 238 times

Re: Adjust screen position

Unread post by FoxbatStargazer »

For clarity? As I understand these settings only adjust the position for HDMI output, not the analog output. Its not like Jotego's CRT V/H stuff.

Optiroc
Posts: 107
Joined: Sun May 24, 2020 7:29 pm
Has thanked: 7 times
Been thanked: 38 times

Re: Adjust screen position

Unread post by Optiroc »

FoxbatStargazer wrote: Mon Jun 26, 2023 2:29 am

For clarity? As I understand these settings only adjust the position for HDMI output, not the analog output. Its not like Jotego's CRT V/H stuff.

Indeed, the “adjust screen position” feature only affects the video scaler output.

wmd
Posts: 61
Joined: Sun May 21, 2023 9:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Adjust screen position

Unread post by wmd »

Any chance this feature could be added to analogue output at some point?

Post Reply