01 August 2015, 16:32 | #1 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
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.
|
01 August 2015, 17:22 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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.
|
02 August 2015, 03:46 | #3 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Thanks, that's too bad. Opalvision is one of the more interesting non-RTG solutions.
|
02 August 2015, 12:25 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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)
|
28 September 2016, 09:21 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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.. |
28 September 2016, 20:28 | #6 |
Registered User
Join Date: Mar 2006
Location: Germany
Posts: 899
|
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?
|
28 September 2016, 21:29 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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. |
28 September 2016, 21:58 | #8 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
OpalVision on the Computer Chronicles:
[ Show youtube player ]
|
30 September 2016, 20:57 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Stencils emulated but something is still missing, for example OpalPaint has strange white bar.
|
30 September 2016, 21:11 | #10 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
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?
|
30 September 2016, 21:25 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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) |
07 October 2016, 12:49 | #12 |
Registered User
Join Date: Apr 2011
Location: Luxembourg
Posts: 87
|
I tried emulation via the beta 10. Unfortunately, I do not get the colors.
|
07 October 2016, 15:05 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
|
07 October 2016, 16:49 | #14 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
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. |
07 October 2016, 17:49 | #15 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Quote:
|
||
07 October 2016, 21:27 | #16 |
Registered User
Join Date: Apr 2011
Location: Luxembourg
Posts: 87
|
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).
|
07 October 2016, 21:45 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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..)
|
07 October 2016, 21:55 | #18 | ||
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Quote:
Quote:
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. |
||
23 October 2016, 19:56 | #19 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
OpalPaint palette is now fully visible.
|
24 October 2016, 15:38 | #20 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
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. |
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) | Amiga1992 | 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 |
|
|