English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 28 January 2023, 20:59   #1
jotd
This cat is no more
 
jotd's Avatar
 
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)


Click image for larger version

Name:	x.png
Views:	68
Size:	16.8 KB
ID:	77945


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)
jotd is offline  
Old 28 January 2023, 21:08   #2
hooverphonique
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.
hooverphonique is offline  
Old 28 January 2023, 21:43   #3
a/b
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.
a/b is offline  
Old 28 January 2023, 22:29   #4
ross
Defendit numerus
 
ross's Avatar
 
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.
ross is offline  
Old 28 January 2023, 22:53   #5
jotd
This cat is no more
 
jotd's Avatar
 
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.
jotd is offline  
Old 28 January 2023, 23:06   #6
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Quote:
Originally Posted by jotd View Post
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.
Because it is conservative, in a standard 'old' device you cannot view this many lines (this is different in modern displays).
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 :)
ross is offline  
Old 28 January 2023, 23:51   #7
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
already better. Thanks
jotd is offline  
Old 12 February 2023, 21:50   #8
Photon
Moderator
 
Photon's Avatar
 
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.
Photon is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.15958 seconds with 16 queries