19 July 2015, 12:52 | #1 |
Registered User
Join Date: Jun 2014
Location: milan / italy
Posts: 174
|
ECS hsync/hblank: help required (WinUAE related?)
Hello,
I'm doing some experiments with the variable horizontal sync/blank of ECS. As first step I just want to have a valid PAL signal. I hacked the example demo found in winuaedemotoolchain5v3 and got something working (attached). For sake of simplicity I left variable Vsync and vblank off, so here the HW is using the hardwired v*. I have no access to real HW, I'm doing my experiment on WinUAE 3.1. I managed to have the display in the same position as in hardwired PAL but: 1) WinUAE reports around 24fps instead of 50fps 2) The music is slow I guess VBI are triggered less frequently. Here the questions: 1) Could someone try it on real HW (ECS)? And maybe suggest a fix? 2) For Toni, To what degree WinUAE emulation of this aspect of ECS is complete. Could you try my test? 3) For Toni, I humbly suggest to add visualization of syncs and blanks in 'Overscan blanking' filter setting. This is the copper list snippet dc.l $01dc01a0 ; BEAMCON0 dc.l $01c000e2 ; HTOTAL dc.l $01c4000d ; HBSTRT dc.l $01de0013 ; HSSTRT dc.l $01c20024 ; HSSTOP dc.l $01c60038 ; HBSTOP dc.l $01e20108 dc.l $008e2c00 + $81 dc.l $00902c00 + (($81 + BPL_WIDTH*8) & $FF) dc.l $00920038 ; DDFSTRT, $38 soon as possible without impacting sprites DMA dc.l $00940038 + BPL_WIDTH*4 -8 ; DDFSTOP (max $E0) dc.l $01004201 ; BPLCON0: BPU2 & COLOR & ECSENA dc.l $01020000 dc.l $01080000+3*BPL_WIDTH,$010a0000+3*BPL_WIDTH dc.l $01060000,$010c0011 Thanks in advance! |
19 July 2015, 13:21 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
Variable sync stuff is emulated enough to support few demos and all existing programmed display modes. It probably is not perfect.
But afaik BEAMCON0 VARBEAM also enables use of VTOTAL (but not blanking values). BEAMCON0 documentation is impossible to understand 100% without testing.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Separate Hsync & Vsync vs Csync, Video DAC 18 | mark_k | Coders. Asm / Hardware | 7 | 01 May 2015 16:21 |
What happens VPOS and VHPOS with external HSYNC and VSYNC? | mc6809e | Coders. Asm / Hardware | 4 | 28 July 2014 20:55 |
WinUAE Loader wont run in Full Screen - Help Required | bilbo1161 | New to Emulation or Amiga scene | 0 | 05 July 2010 18:28 |
Attn Toni - Some advice please (only tenuously winuae related) | Dunny | support.WinUAE | 4 | 08 June 2009 12:20 |
CAPS IPF Library Updated (required for new WinUAE) | fiath | News | 0 | 31 July 2004 20:24 |
|
|