View Single Post
Old 26 December 2019, 13:53   #57
agermose
Registered User
 
Join Date: Nov 2019
Location: Odense / Denmark
Posts: 241
The screen is set up to 320x256 at the moment, and the scroll only prints tiles to the middle 224x256 pixels.

Switched display window to 224 pixels wide, while keeping the screen buffers 320 pixels wide. This looks weird in UAE. The display is 224 pixels wide, but is wider than before, i.e. the black area on each side is smaller.

Copperlist excerpt:

buildcopper:
move.l #copperlist,a6
move.l #$01005200,(a6)+ ;5 bpl
move.l #$01020000,(a6)+
move.l #$010800a0,(a6)+ ;modulo for 5 bpl interleaved
move.l #$010a00a0,(a6)+
;move.l #$008e2c81,(a6)+ ;diwstrt 320
;move.l #$00902cc1,(a6)+ ;diwstop 320
move.l #$008e2cb1,(a6)+ ;diwstrt 224
move.l #$00902c91,(a6)+ ;diwstop 224
move.l #$00920038,(a6)+ ;ddfstrt 320
move.l #$009400d0,(a6)+ ;ddfstop 320
;move.l #$00920050,(a6)+ ;ddfstrt 224
;move.l #$009400b8,(a6)+ ;ddfstop 224

I arrived at the diw values like this:

PAL 224x256 (48 pixels $30 on each side of 224 pixel display)
display window
$2c, $81+$30=$B1 (upper left)
$12c, $1c1-$30=$191 (lower right)

$1c1-$30-$81-$30=$E0 = 224 decimal
$12c-$2c=$100 = 256 decimal


Update: Started playing around with FS UAE settings. Screen stretching was the culprit. Looks fine when stretching is disabled.

New video with title screen in place.
[ Show youtube player ]

Last edited by agermose; 28 December 2019 at 00:10.
agermose is offline  
 
Page generated in 0.04810 seconds with 11 queries