28 January 2023, 20:59 | #1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
missing the last 8 lines of my overscan display
Hi,
I want a display that is 288 lines high. Using AGA fmode 3 Code:
lea _custom,a5 move.w #0x1C81,diwstrt(a5) move.w #0x30D1,diwstop(a5) move.w #0x0038,ddfstrt(a5) move.w #0x00D0,ddfstop(a5) move.w #0x0210,bplcon0(a5) | 8 bitplanes move.w #3,fmode(a5) | 8 bitplanes clr.w bplcon1(a5) clr.w bplcon2(a5) move.w #-8,d0 move.w d0,bpl1mod(a5) move.w d0,bpl2mod(a5) Works but I only get 280 lines, see the black lines on the bottom (where lives are supposed to be displayed) I've tried playing with diw/ddf params without luck (I don't understand really how all that stuff works, it's magic to me most of the time) |
28 January 2023, 21:08 | #2 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
The vertical display window values are straight forward, and if you set diwstart to 1C and stop to 3C, you should get 288 vertical lines.
I just subtracted 16 from the default start of 2C, and added 16 to the default stop of 2C (which actually means 12C). The datafetch values do not need change when changing the vertical display window values. |
28 January 2023, 21:43 | #3 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,039
|
312 lines, $000-$137, so you should set the vertical end to $(1)38 instead of $(1)30.
|
28 January 2023, 22:29 | #4 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Without recurring to programmed mode you have 'only' 286 visible line in PAL mode.
min DDFSTRT=$1Axx max DDFSTOP=$38xx Technically there would also be line $138 (where however you can only use COLOR00) plus two half lines at the start and end of view (covered by blanking). You can also use lower values for DDFSTRT and the data is fetched but of course nothing is visible before line $1A. For DDFSTOP, however, there is a hard stop on line $138 and the fetch is not performed. |
28 January 2023, 22:53 | #5 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
thanks! that's better. But WinUAE maxes the display at 283 lines now. Is that a known issue? 286 lines would be already very good.
|
28 January 2023, 23:06 | #6 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
It saves you from having exaggerated borders in normal games/demos in the default window. Set 576 y in Host/Display for full Overscan. Last edited by ross; 28 January 2023 at 23:50. Reason: removed reference to Overscan+ which could be misleading :) |
|
28 January 2023, 23:51 | #7 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
|
already better. Thanks
|
12 February 2023, 21:50 | #8 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
This article on maximum overscan is the result of testing on real equipment, which has a paragraph on display types.
There's also a related article on centering and one discussing aspect ratio. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing Display modes | Gorf | Coders. Asm / Hardware | 83 | 05 May 2022 10:02 |
Overscan and scrolling, missing pixel columns? | Jobbo | Coders. Asm / Hardware | 13 | 22 December 2021 14:53 |
verticle lines in display | ItsTheSmell | support.Hardware | 0 | 01 September 2019 17:38 |
Overscan | john4p | support.Hardware | 17 | 15 April 2010 12:05 |
1084s Display Size & WB Overscan | Blackjackel6 | support.Hardware | 1 | 31 May 2003 14:57 |
|
|