English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 13 December 2011, 15:53   #1
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Random emulation questions

(Total props for the A2024 support BTW - golden, particularly for those of us who never saw it! Disagree that full emulation is useless, though - 8/16-color grayscale for "regular" screens would be a treat for the "real experience", not to mention possible NetBSD support!)

All of the above was observed in the latest beta, but none of them are beta-specific (I think!):

- A3000 softkick emulation...again never having actually owned a SK machine, it's not clear how it's supposed to work. From what I've read, once you choose 2.x or 1.3, it "locks" into that mode until you actually power-cycle the machine. On WinUAE, you can switch on every reboot, complete with a yellow power-LED-blinking Kickstart failure coming out of 2.x. Is this "normal"?

- The default A3000 use of "fastest possible" (with or without JIT) breaks the hell out of AmigaDOS 1.3 (gurus, transposed characters, etc.). Just an observation. =)

- If you use scanlines in the filter settings, aren't they supposed to be painted as an overlay on the final render? Instead of being every-other-scanline, they show up as that stilted/banded effect you get when you draw scanlines then scale.

- Display resolution (Lores/Hires/Superhires): Why the need to manually set this (i.e. what's going on under the hood)? If I turn on "resolution autoswitch", superhires still doesn't work (missing every other pixel). If I manually set it to Superhires, everything works (lores, hires, and superhires) normally _except_ A2024, which is missing the right third of the screen. Just confused about what's really happening in the emulation itself. =)

Rodney
rhester72 is offline  
Old 13 December 2011, 16:31   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by rhester72 View Post
(Total props for the A2024 support BTW - golden, particularly for those of us who never saw it! Disagree that full emulation is useless, though - 8/16-color grayscale for "regular" screens would be a treat for the "real experience", not to mention possible NetBSD support!)
Thanks. "Regular" screen emulation won't happen until I know how the colors are mapped.

Quote:
- A3000 softkick emulation...again never having actually owned a SK machine, it's not clear how it's supposed to work. From what I've read, once you choose 2.x or 1.3, it "locks" into that mode until you actually power-cycle the machine. On WinUAE, you can switch on every reboot, complete with a yellow power-LED-blinking Kickstart failure coming out of 2.x. Is this "normal"?
It only works enough to see the "KS 1.4" screen + loading of KS. The rest is undefined (1.4 requires 68030 MMU which isn't emulated, only faked enough to allow above to work)

Quote:
- The default A3000 use of "fastest possible" (with or without JIT) breaks the hell out of AmigaDOS 1.3 (gurus, transposed characters, etc.). Just an observation. =)
Yes but as I said, only point of A3000 emulation is to see KS 1.4 screen

Quote:
- If you use scanlines in the filter settings, aren't they supposed to be painted as an overlay on the final render? Instead of being every-other-scanline, they show up as that stilted/banded effect you get when you draw scanlines then scale.
Use D3D scan lines (or even better, D3D RGB masks), it is overlayed on top of screen. Normal scanlines are done by display emulation before scaling (as you noticed).

Quote:
- Display resolution (Lores/Hires/Superhires): Why the need to manually set this (i.e. what's going on under the hood)? If I turn on "resolution autoswitch", superhires still doesn't work (missing every other pixel). If I manually set it to Superhires, everything works (lores, hires, and superhires) normally _except_ A2024, which is missing the right third of the screen. Just confused about what's really happening in the emulation itself. =)
Select superhires, then select resolution autoswitch. In autoswitch mode selected resolution selects max supported resolution.

It is performance optimization and affects low level display emulation. If lores is selected: display emulation only emulates and draws lores pixel, hires = 2x more pixels drawns and so on. Using superhires by default would mean display emulation would always need to draw ~1400 pixels/scanline. (=much slower)

Note that ALL scanlines, all the time will be drawn using current resolution setting. Current Amiga resolution is totally irrelevant.
Toni Wilen is offline  
Old 13 December 2011, 18:05   #3
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Toni Wilen View Post
Select superhires, then select resolution autoswitch. In autoswitch mode selected resolution selects max supported resolution.

It is performance optimization and affects low level display emulation. If lores is selected: display emulation only emulates and draws lores pixel, hires = 2x more pixels drawns and so on. Using superhires by default would mean display emulation would always need to draw ~1400 pixels/scanline. (=much slower)
Makes sense. Why does Line Mode continuously default to "Normal" when you turn on Resolution autoswitch? It plays hell with things like A2024 that expect "Double"...shouldn't the current setting "stick" when you turn on autoswitch (like it does for Resolution)?

I'm less concerned about performance and more about ease-of-use, so for me, Double (if it persisted)+Superhires+Resolution autoswitch+Automatic scaling makes things "just work".

By the way, where is D3D scanlines? I had always thought that Settings/Host/Display/Line Mode=Scanlines was the one that would be screwed up by scaling but Settings/Host/Filter/Extra Settings/Scanline transparency would scale properly.

Rodney
rhester72 is offline  
Old 13 December 2011, 20:54   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by rhester72 View Post
Makes sense. Why does Line Mode continuously default to "Normal" when you turn on Resolution autoswitch? It plays hell with things like A2024 that expect "Double"...shouldn't the current setting "stick" when you turn on autoswitch (like it does for Resolution)?

I'm less concerned about performance and more about ease-of-use, so for me, Double (if it persisted)+Superhires+Resolution autoswitch+Automatic scaling makes things "just work".
Autoswitch = Use smallest horizontal and vertical mode without losing pixels -> "double" is only selected if interlaced mode.

But there is a workaround (requested some time ago):

gfx_autoresolution_min_horizontal=[vertical,lores,hires,superhires] (vertical = mirror vertical mode)
gfx_autoresolution_min_vertical=[horizontal,single,double,quadruple] (horizontal = mirror horizontal mode)

Note that A2024 is very special and can work strangely.


Quote:
By the way, where is D3D scanlines? I had always thought that Settings/Host/Display/Line Mode=Scanlines was the one that would be screwed up by scaling but Settings/Host/Filter/Extra Settings/Scanline transparency would scale properly.
Filter scanlines ignores scaling. It is just a transparent overlay (How could it scale without causing scaling artifacts? It would look horrible)

RGB masks make better looking scanline-like effect. (They come with shader filter download package from winuae.net)
Toni Wilen is offline  
Old 13 December 2011, 22:46   #5
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Toni Wilen View Post
Filter scanlines ignores scaling. It is just a transparent overlay (How could it scale without causing scaling artifacts? It would look horrible)
And it does indeed. That's precisely what I expected - "old" scanlines would be pre-scale, filter scanlines post-scale via overlay, and RGB "scanlines" (or better yet grille masks) for an even better look.

However, at least when windowed (I haven't tried full-screen), filter scanlines _do_ appear to be pre-scale. Perhaps it's something to do with my display config?

UPDATE: How odd. Now I can't reproduce what I was seeing at all (switched from b3 to b4). I could *reliably* get filter-based scanlines to show up pre-scale, but not now. Ugh. Never mind.


Quote:
Originally Posted by Toni Wilen View Post
But there is a workaround (requested some time ago):

gfx_autoresolution_min_horizontal=[vertical,lores,hires,superhires] (vertical = mirror vertical mode)
gfx_autoresolution_min_vertical=[horizontal,single,double,quadruple] (horizontal = mirror horizontal mode)
Is there any special value for gfx_autoresolution when using these? Can't get them to do anything in my config file (not host-specific, old-school unified config file).


More specifically, this is making b4 crash on my machine:

Code:
gfx_autoresolution=true
gfx_autoresolution_min_vertical=horizontal
gfx_autoresolution_min_horizontal=superhires
If I change min_vertical from horizontal to hires, it seems to treat min_vertical like single - A2024 mode is definitely "half-pixeled" at that point (yes, I know it's a "weird" mode, but if manual SH+doubled works, it should do so in auto mode as well, no?)


And while I'm being properly annoying, I can't get Productivity-Interlaced to display as anything other than a flickering mess even with gfx_autoresolution_min_vertical=quadruple.

Rodney

Last edited by prowler; 13 December 2011 at 23:03. Reason: Back-to-back posts merged; please use multi-quote and/or the Edit button.
rhester72 is offline  
Old 14 December 2011, 19:41   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
quadruple probably won't work because line quadruple does not exist.. yet?

gfx_autoresolution_min_vertical=double should do exactly what you wanted. Do not use min_horizontal.
Toni Wilen 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
68k emulation questions PiCiJi Coders. General 28 20 May 2013 15:08
Random question 251Mario project.EAB 1 16 May 2013 02:19
Amiga and retro consoles emulation on PSP - newbie questions Peter1982 Retrogaming General Discussion 3 22 May 2010 19:56
Random crashes ami_stuff support.WinUAE 8 06 February 2009 16:51
savestates random problems PiCiJi support.WinUAE 4 13 December 2006 17:52

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 03:04.

Top

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