English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 23 January 2024, 18:37   #121
BastyCDGS
Registered User
 
Join Date: Nov 2015
Location: Freiburg / Germany
Age: 44
Posts: 200
Send a message via ICQ to BastyCDGS
DraCo files

Heyho!

I just compiled a LHA-Archive containing (hopefully) all DraCo tools from C and DracoTools.

The LHA archive contains:
C/DraCo060Emu
C/DraCoAlert
C/DraCoCache
C/Dracodebug
C/DraCoLook
C/DraCoSetpatch
C/LoadMonDrvs

DraCoTools/DraCoFloppy
DraCoTools/DraCoMouse
DraCoTools/DraCoSCSI
DraCoTools/DraCoSerNum
DraCoTools/DraCoSystem
DraCoTools/DraCoZ2Control

Hope this helps debugging...please note I didn't mention the corresponding .info files.
Attached Files
File Type: lha DraCo_Stuff.lha (119.9 KB, 57 views)
BastyCDGS is offline  
Old 23 January 2024, 19:18   #122
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by LanceT View Post
Also occurs with CybergraphX V2.1 + 3.1 in Palette Preferences it seems in 24-bit the colours shifts to the right.
It sets graphics start pointer to end of VRAM - 4 bytes and assumes wrap around not working like it would normally work. Not yet sure what the NCR chip does in this situation.

Quote:
EDIT: Temp fix adjust RGB - BRG in Reshade/ColorMatrix
This is not a fix, image is still "blurry". It is not R<>B swap but shift (Two RGB color components are located in first pixel, one RGB component in next pixel)

In 24-bit modes (and also in 16-bit) some SVGA chips, when panning, shifts color components one by one, not complete pixels.
Toni Wilen is offline  
Old 23 January 2024, 19:48   #123
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,233
Quote:
Originally Posted by Toni Wilen View Post
It sets graphics start pointer to end of VRAM - 4 bytes and assumes wrap around not working like it would normally work. Not yet sure what the NCR chip does in this situation.
At least the smaller NCR chip (on the RetinaZ2) has a "glitch" in true color mode and I added a workaround in the NCR driver for exactly that. I am currently not able check what exactly I did there unfortunately... I believe the glitch is that the first pixels are lost unless you pre-fetch the data.
Thomas Richter is offline  
Old 24 January 2024, 05:23   #124
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448


For some reason WinUAE seems not use my saved configurations on the next time when I run WinUAE again. Next time after emulation is started it's in 1x size. It will go back to 2x if you change "No Scaling" to "Default" via F12 button.
Attached Files
File Type: zip winuae64_debug_5.2.0.zip (18.0 KB, 9 views)
ShK is online now  
Old 24 January 2024, 17:29   #125
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by ShK View Post


For some reason WinUAE seems not use my saved configurations on the next time when I run WinUAE again. Next time after emulation is started it's in 1x size. It will go back to 2x if you change "No Scaling" to "Default" via F12 button.
Lots of problems with this report.. (Like this does not have anything to do with DraCo..)

But untick RTG panel "scale if smaller than display size setting". You can't have both manual scaling and window size based scaling active at the same time.
Toni Wilen is offline  
Old 24 January 2024, 18:19   #126
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
Hmm... That was unticked. I'm using same 2x setting with all other configurations, but DraCo is only which goes to 1x size even 2x is selected and saved.

Edit. ah, I can see that when selecting "No Scaling" to "Default" it seems to also tick "Scale if smaller than display size setting" by itself. New log file is attached without changing "No Scaling" to "Default". In this log it did open into size 1x even 2x was saved and selected.
Attached Files
File Type: zip winuae64_debug_5.2.0.zip (17.7 KB, 9 views)

Last edited by ShK; 24 January 2024 at 19:15.
ShK is online now  
Old 24 January 2024, 18:27   #127
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by ShK View Post
Hmm... That was unticked. I'm using same 2x setting with all other configurations, but DraCo is only which goes to 1x size even 2x is selected and saved.
It was ticked in attached config file.

EDIT: right, it should be unticked automatically in that case. Apparently not..
Toni Wilen is offline  
Old 24 January 2024, 19:17   #128
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by ShK View Post
Edit. ah, I can see that when selecting "No Scaling" to "Default" it seems to also tick "Scale if smaller than display size setting" by itself. New log file is attached without changing "No Scaling" to "Default". In this log it did open into size 1x even 2x was saved and selected.
If I load it, it shows both hor and vert = 2x. Attach the "real" config file (logs zip contains "raw" version which also includes config lines that are only written to config file when they contain non-default value)
Toni Wilen is offline  
Old 24 January 2024, 19:21   #129
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by Thomas Richter View Post
At least the smaller NCR chip (on the RetinaZ2) has a "glitch" in true color mode and I added a workaround in the NCR driver for exactly that. I am currently not able check what exactly I did there unfortunately... I believe the glitch is that the first pixels are lost unless you pre-fetch the data.
It looks like first byte is skipped. Graphics data in VRAM seems to be like this:

XBGRBGRBGR...
XBGRBGRBGR...

X = byte that does not appear on screen. Even when panning, line's first visible byte is always skipped.

Colors are correct if I add +1 to emulated VRAM pointer.

But this only happens when using CGX. Picasso96 or "native" DraCo 24-bit mode works normally

BGRBGRBGR...
BGRBGRBGR...

Maybe some config register difference?
Toni Wilen is offline  
Old 24 January 2024, 19:25   #130
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
Quote:
Originally Posted by Toni Wilen View Post
If I load it, it shows both hor and vert = 2x. Attach the "real" config file (logs zip contains "raw" version which also includes config lines that are only written to config file when they contain non-default value)
Sure. With this filter setting my other configurations will boot to 2x size, but not DraCo.
Attached Files
File Type: uae DraCo.uae (13.4 KB, 17 views)
ShK is online now  
Old 24 January 2024, 20:28   #131
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by ShK View Post
Sure. With this filter setting my other configurations will boot to 2x size, but not DraCo.
Do you mean RTG filter panel still shows 2x but it still uses 1x? Or if filter panel shows 1x?
Toni Wilen is offline  
Old 24 January 2024, 20:36   #132
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
RTG filter panel shows 2x, but it uses 1x.
ShK is online now  
Old 24 January 2024, 20:45   #133
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Try this: RTG panel -> aspect ratio -> Disabled. Seems to work strangely in some modes.
Toni Wilen is offline  
Old 24 January 2024, 20:54   #134
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
It still stays 1x.

It's kinda funny. After WinUAE has started emulation and if I change aspect ratio to anything via F12, it will immediately take use 2x size.

Just like if I change "No Scaling" to "Default" from filter, it will take use 2x size.

It's like changing something makes it first time to read that there is actually 2x value in the settings.
ShK is online now  
Old 25 January 2024, 05:26   #135
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
This RTG filter panel 2x has always been working and using 2x, and still does, except when Altais [DracoBus] (MacroSystem) board is selected.

With Draco it uses 1x as long as you change something RTG related via F12 and then it immediately takes use 2x size (which already was selected in there).
ShK is online now  
Old 25 January 2024, 18:22   #136
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
I think I understand what is happening. There are multiple "RTG" to another RTG mode switches which confuses some filter modes (Normal Amiga switches work slightly differently).

Not sure if I'll fix this is before 5.2 or later. It might not be simple fix.

Use of integer scaling might work around it.
Toni Wilen is offline  
Old 25 January 2024, 20:01   #137
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Possible fix implemented (RTG window resize/aspect/etc). winuae.7z updated.
Toni Wilen is offline  
Old 25 January 2024, 20:43   #138
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
Starting WinUAE with a saved 2x size from the RTG filter panel. It still uses 1x size, but the image is now also shifted into the bottom right corner (see 1st picture).

Changing any random RTG-related setting via F12, such as enabling "Main window always on top" from the Miscellaneous section, makes it immediately take use of 2x size (2nd picture).
Attached Thumbnails
Click image for larger version

Name:	2x.png
Views:	72
Size:	55.6 KB
ID:	81426   Click image for larger version

Name:	F12.png
Views:	68
Size:	26.5 KB
ID:	81429  
Attached Files
File Type: zip winuae_debug_5.2.0.zip (17.7 KB, 6 views)
File Type: uae DraCo.uae (13.4 KB, 13 views)
ShK is online now  
Old 26 January 2024, 19:10   #139
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Second attempt. winuae.7z updated few moments ago.
Toni Wilen is offline  
Old 26 January 2024, 19:12   #140
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 52
Posts: 448
That works now as expected!
ShK is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
DraCo Macrosystem hints and tips? Anybody here? lioneer support.Hardware 0 09 January 2022 18:37
DraCo Casablanca for 45e... Cobe MarketPlace 22 10 August 2014 08:52
DraCo graphics corruption gulliver support.Hardware 1 11 September 2012 15:28
My Boxed Draco Slayer Retrogaming General Discussion 47 13 October 2009 20:13
DraCo Software Kobold request.Apps 0 17 August 2006 16:44

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 11:58.

Top

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