English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 24 February 2019, 01:06   #1
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
Seamless transition from Intuition Screen to View

The title screen of my game uses an Intuition screen. The game itself runs with Forbid and uses its own copperlist with LoadView (and later poking COP1LCx directly). I'm trying to make the transition between the two flicker-free.

The DIWSTRT/DIWSTOP/DDFSTRT/DDFSTOP parameters in my copperlist do not match the one's in the screen's ViewPort. This causes a change in the display output and consequently a few seconds switching delay on my monitor.

Is it possible to attach my own ViewPort to the Intuition screen with custom display window/fetch? I use CUSTOMBITMAP already so setting the bitplane pointers correctly is easy. Something like replace Screen.ViewPort.DspIns and MakeScreen()? (I'm not sure who would free the old copperlist.)

Or is there a better way to achieve this?
arcanist is offline  
Old 24 February 2019, 15:58   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Sounds like a problem with your monitor, which may not be present at that extent on other monitors or not at all on a 1084 CRT, for example.

Maybe fading the colors to black before switching helps, as an easy solution?

The better solution would be to start with a non-intuition title screen, when you decide to make your own copperlist later anyway.
phx is offline  
Old 24 February 2019, 17:28   #3
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
I expect a CRT would handle the switch much better. My old GPM1701 was near enough instantaneous with any mode switch. In FS-UAE there's a barely visible flicker when the display window/fetch parameters change. It's about three seconds on my BenQ via RGB-VGA adapter.

I think you're right that avoiding Intuition would be a better idea. My concern was to make requesters triggered by I/O visible, but after Googling I found that setting Process->pr_WindowPtr to -1 suppresses them.

So I think I can make a high priority input handler to handle/absorb events and LoadView my copperlist in. Disk I/O would still work in the background.
arcanist 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
Printable view or mobile view Retro1234 project.EAB 2 11 February 2019 01:36
C Intuition Help plasmab Coders. General 7 15 October 2018 09:05
intuition.library zharn Coders. System 8 22 February 2015 12:50
Intuition - Menus Gilloo Coders. System 1 05 March 2012 10:11
"Output" settings for seamless sound recording? Foebane support.WinUAE 2 01 October 2011 18:41

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 10:27.

Top

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