English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 01 August 2015, 16:32   #1
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 2,981
Opalvision support?

Will there be Opalvision support somewhere in the future for WinUAE? I'm looking forward to the day I can run Opalpaint and King of karate in emulation. I have dumped all the software in case that's of any help.
idrougge is offline  
AdSense AdSense  
Old 01 August 2015, 17:22   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
I checked "devdocs.lha" but unfortunately it does not have enough low level hardware details (It is mainly describing how to use it via supplied helper library) but it mentions another documentation: "See OpalVision System Flow Diagram OpalVision Programmers Tecnical Reference Manual 1.2". It probaby would help.
Toni Wilen is online now  
Old 02 August 2015, 03:46   #3
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 2,981
Thanks, that's too bad. Opalvision is one of the more interesting non-RTG solutions.
idrougge is offline  
Old 02 August 2015, 12:25   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
It probably is not going to be too difficult to emulate, at least basic operations but it is not going to happen unless someone else creates nice disassembly of opal.library. (It is minimum requirement, probably needs much more)
Toni Wilen is online now  
Old 28 September 2016, 09:21   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Old thread but Opalvision support is getting closer. Most basic functions have been reverse-engineered during last few days.

- Main control line (the very first PAL or NTSC line) structure is known. Different encoding than other lines for some unknown reason.
- Misc registers, palette and "CoPro" line (next 3 lines) encoding (usual 4-bits per pixel RGBI digital data) is known. Image data also uses same encoding.

I am not sure if I bother with "weird" color modes (BT RAMDAC supports all kinds of rarely used modes, like 8 bit true color) but at least normal paletted and 24-bit mode should be easy enough to emulate.

"This is not that difficult to reverse after all" moment happened when I noticed that Opalvision document's color mode table and some other Opalvision control bits are actually BT RAMDAC features (Harlequin Plus uses same RAMDAC and I had implemented part of it earlier. Timing always matters..) and RAMDAC documentation is very good. (Opalvision documentation of course does not mention it..)

More info later..
Toni Wilen is online now  
Old 28 September 2016, 20:28   #6
thor
Registered User
thor's Avatar
 
Join Date: Mar 2006
Location: Germany
Posts: 898
Very nice. Will it support both stencil modes (King of Karate needs priority stencil mode, I guess) initially or is this something for the distant future?
thor is offline  
Old 28 September 2016, 21:29   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
It looks like stencil needs to be implemented. OpalPaint need stencil too.

OVTestCS.lzh (aminet) probably works, no idea if colors are correct (This was my first test program, simple enough). Show24 works now. OpalPaint shows mostly black (needs stencil support) and bottom icons have strange colors. King of Karate's control lines contain something unsupported (probably control line horizontal sync related), nothing works.

Control Line Register is emulated. 8-bit and 24-bit color modes are implemented. Line based "CoPro" is emulated, including Address Load Register. Lores/hires/interlace supported.

For some reason RGB values needs to be inverted, without it black is white and vice versa.
Toni Wilen is online now  
Old 28 September 2016, 21:58   #8
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,481
OpalVision on the Computer Chronicles: [ Show youtube player ]
mark_k is offline  
Old 30 September 2016, 20:57   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Stencils emulated but something is still missing, for example OpalPaint has strange white bar.
Attached Thumbnails
Click image for larger version

Name:	opalpaint.png
Views:	182
Size:	43.1 KB
ID:	50190   Click image for larger version

Name:	opalpaint2.png
Views:	185
Size:	36.0 KB
ID:	50191  
Toni Wilen is online now  
Old 30 September 2016, 21:11   #10
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,481
In both those screenshots there should be a palette strip visible. I guess OpalPaint changes display mode and/or buffer in that part of the screen? (E.g. from 24-bit to 8-bit paletted? The alternate black/white dots probably tell the board to treat line as a control line?
mark_k is offline  
Old 30 September 2016, 21:25   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
It only uses 24Bit PMapped (and palette is updated only once at startup) and 24Bit By-Pass modes. No other modes in "CoPro list". Neither is Add_Load used.

Control line has different encoding. Unless there is some special mid-screen format too.. (And why would it need control line, color mode can be changed with CoPro byte/line)
Toni Wilen is online now  
Old 07 October 2016, 12:49   #12
vxm
Registered User
 
Join Date: Apr 2011
Location: Luxembourg
Posts: 65
I tried emulation via the beta 10. Unfortunately, I do not get the colors.
vxm is offline  
Old 07 October 2016, 15:05   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Quote:
Originally Posted by vxm View Post
I tried emulation via the beta 10. Unfortunately, I do not get the colors.
I think you forgot to include all the required information..
- config
- winuaelog.txt
- used WB setup
- used program, including exact version. also opal.library version.
Toni Wilen is online now  
Old 07 October 2016, 16:49   #14
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,944
Hello Toni, sorry but from which voice activates the Opalvision hardware, I can not find it, it will be the old age? i also need some drivers?

I tried to run Opal Paint and I have not white bar (lower), although I do not see the red logo, same with OpalPaint v2.2 and 2.4

Last edited by AMIGASYSTEM; 18 January 2017 at 09:38.
AMIGASYSTEM is offline  
Old 07 October 2016, 17:49   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Quote:
Originally Posted by AMIGASYSTEM View Post
Hello Toni, sorry but from which voice activates the Opalvision hardware, I can not find it, it will be the old age? i also need some drivers?
Chipset -> Video port display hardware. (All video adapters that take the normal Amiga video, then do something with and output it are listed there. In other words, any adapter that uses 23-pin video port or video slot)

Quote:
I tried to run Opal Paint and I have not white bar (lower), although I do not see the red logo, same with OpalPaint v2.2 and 2.4
That is what you get if you run it without OpalVision.
Toni Wilen is online now  
Old 07 October 2016, 21:27   #16
vxm
Registered User
 
Join Date: Apr 2011
Location: Luxembourg
Posts: 65
Quote:
Originally Posted by Toni Wilen View Post
I think you forgot to include all the required information..
- config
- winuaelog.txt
- used WB setup
- used program, including exact version. also opal.library version.
Yes. I think so too. Here they are : WB 3.1 fresh install, opal.library v4.4 (06/20/93) and OpalPaint v2.2 (020/030/040).
Attached Files
File Type: uae opalvision.uae (11.9 KB, 36 views)
File Type: txt winuaelog.txt (16.1 KB, 38 views)
vxm is offline  
Old 07 October 2016, 21:45   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
Change filter options to something that shows larger part of the screen. (I think I need to redesign part of this because filter extra border blanking also blanks the control lines in some situations..)
Toni Wilen is online now  
Old 07 October 2016, 21:55   #18
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,944
Quote:
Originally Posted by Toni Wilen View Post
Chipset -> Video port display hardware. (All video adapters that take the normal Amiga video, then do something with and output it are listed there. In other words, any adapter that uses 23-pin video port or video slot)
Thank found!

Quote:
That is what you get if you run it without OpalVision.
I had suspected, white bars It replaces color palette, to me it appears only a small gray bars .
If you try to use the colors the bar returns but in gray, watch the accompanying video

Last edited by AMIGASYSTEM; 18 January 2017 at 09:38.
AMIGASYSTEM is offline  
Old 23 October 2016, 19:56   #19
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,559
OpalPaint palette is now fully visible.
Toni Wilen is online now  
Old 24 October 2016, 15:38   #20
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,944
Yes palette is fully visible, the small gray horizontal bar comes when you click the left or right mouse button on the screen.

Last edited by AMIGASYSTEM; 24 October 2016 at 16:02.
AMIGASYSTEM is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Providing 2 fire button support / cd32 joypad support amigapd request.Other 0 13 July 2015 17:20
Portaudio support (was: WinUAE support for ASIO drivers) Akira support.WinUAE 57 28 March 2009 21:15
FS: OpalVision, DPS animation recorder coze MarketPlace 1 09 May 2007 04:06
OpalVision turns the screen yellow... Computolio support.Hardware 0 26 March 2005 03:19
Opalvision jmmijo MarketPlace 4 10 January 2002 07:35

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 19:48.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.29538 seconds with 12 queries