26 February 2013, 16:21 | #21 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,343
|
Not sure whether it's of any interest, but I uploaded some CD/DVD drive manuals to The Zone just now.
As for chip datasheets, various but probably not too many specifically Amiga-related. Some old SCSI controller chips, graphics chips etc. etc. Some day I'll try to get around to making a list. |
27 June 2013, 13:05 | #22 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
I managed to take qemu's cirrus SVGA chip emulation and make it work with UAE using some software duct tape.
Currently attempts to emulates Picasso II board (easiest to debug, driver source is available) Switching to 640x480x256 mode seems to work, cirrus chip emulation returns correct mode information. Very important missing piece is actually showing the emulated graphics data... (And when/if it works, it probably shows that graphics are totally garbled..) |
28 June 2013, 18:15 | #23 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
It seems to work now, mostly...
PicassoII 640x480 and 800x600 modes at least work, all bit depths. But for some unknown reason PicassoII driver (that comes with Picasso96) seems to do some weird blits that cross end of VRAM which will be rejected by QEMU Cirrus Logic blitter emulation. This causes display glitches, also sometimes screen does not refresh automatically. Should be good enough for non-OS tests (Amix, NetBSD, Linux) if someone is interested enough.. Expansion panel Zorro II/III option now have 3rd option, PicassoII. Usual url: http://www.winuae.net/files/b/winuae.zip |
28 June 2013, 19:33 | #24 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Hi Toni, I installed Picasso96, but the PicassoII card isnt shown and I cant attach the card to the modes in Picasso96Settings. The combo box in WinUAE reads: "Picasso II (Do not use)". I did something wrong?
|
28 June 2013, 19:44 | #25 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Quote:
All boards have same monitor driver, only name is important, for example rename devs:monitors/Picasso96 -> PicassoII (and .info too) |
|
28 June 2013, 20:10 | #26 | |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Quote:
Anyway its fantastic to see it working so early. Last edited by Leandro Jardim; 28 June 2013 at 20:20. |
|
28 June 2013, 20:30 | #27 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Quote:
The usual and more is required: config file, log, picassoii.card and cirrusgd524x.chip versions in libs:, picasso96settings configuration. |
|
28 June 2013, 21:23 | #28 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
I have all these. I attached the card to the settings like the P96 manual says to do and then it disabled some modes automatically, and now, when I test the mode 640x480 16 bit in fullscreen, the screen gets blank without VGA/video output at all.
Last edited by Leandro Jardim; 28 June 2013 at 21:29. |
28 June 2013, 21:51 | #29 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Never use fullscreen (or any other extra settings like vsync etc) with pre-beta versions until it is said to be safe.
|
29 June 2013, 09:40 | #30 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
"Match host and RTG color depth if possible" setting should be unticked.
Updates: Added more totally untested Cirrus Logic based boards (Board info from NetBSD sources). PicassoII is still the only supported board. At least in theory VGA text modes may also work, does something use it? (netbsd or linux console?) Graphics glitches are actually caused by bug in cirrus logic blitter emulation, it has incorrect "blit is outside of vram" tests, it assumes all blits are normal copy blits, for example it can incorrectly reject color expansion blits (used by RectFill). Because I am too lazy to create logins to qemu bugtracker or mailing list, at least not yet, here are bugs I have found: cirrus_vga.c: BLTUNSAFE() macro is broken. (Graphics glitches are gone if I uncomment them all, of course it can introduce crashes if there are actual invalid blits..) cirrus_vga.c: cirrus_do_copy() "extra x, y", s->cirrus_blt_srcpitch or s->cirrus_blt_dstpitch can be zeros: division by zero. CIRRUS_BLT_STATUS bit was missing. PicassoII driver polls this to check if blit has finished. And one thing that may not be a bug: vga.c: vga_draw_graphic() seems to assume shift_control = (s->gr[VGA_GFX_MODE] >> 5) & 3; must be >=2 (bit 6 of Mode Register is "256 color mode") or it uses standard VGA graphics mode, even if cirrus extended registers are used to enabled extended (SVGA) modes. My workaround was to set bit 6 when any extended mode is enabled. Last edited by Toni Wilen; 29 June 2013 at 09:57. |
30 June 2013, 22:21 | #31 |
Registered User
Join Date: Nov 2009
Location: Legoland
Age: 45
Posts: 1,461
|
Its working now. Thanks!
|
01 July 2013, 11:12 | #32 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Great
PicassoII+ is now working, vblank interrupt emulated (implemented yesterday) but vblank is currently hardwired to chipset vblank timing. PicassoII+ = PicassoII + vblank hardware interrupt, newer Cirrus Logic chip, higher memory bandwith. Both supported by PicassoII driver. |
01 July 2013, 16:52 | #33 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Could someone also test CyberGraphX + emulated PicassoII/PicassoII+ combination?
|
01 July 2013, 17:14 | #34 | |
Longplayer
|
Quote:
Edit: Im not getting very far. The hardware isn't being detected so nothing in screenmode prefs. Edit2: Although not supported in emu yet, the os driver does allow screenmodes for PicolloDS64 Last edited by Mad-Matt; 01 July 2013 at 18:27. |
|
01 July 2013, 20:27 | #35 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Quote:
Piccolo and others probably expect working vblank interrupt (if it simply hangs after selecting). Need some reverse engineering to find the used enable/disable addresses. |
|
01 July 2013, 20:32 | #36 |
Longplayer
|
The cgx4 manual states PicassoII(+) should be in Linear mode (Not segmented) if that's relevant to the issue at all.
EDIT: I downloaded winuae.zip and now Picasso modes are in screenmode prefs. However the emulated Amiga is crashing before the new mode is opened. |
01 July 2013, 20:41 | #37 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Quote:
Quote:
|
||
01 July 2013, 20:47 | #38 |
Longplayer
|
Both Picasso II and II+ modes tested. Both use the same cgx driver. The crash seemed to be a one off relating to screenmodes im trying to open. I'm using the 64kHz default profile. So far the lower modes are just opening a grey screen which falls back to aga screen after the screenmode Test timesout.
|
02 July 2013, 16:50 | #39 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,514
|
Quote:
|
|
02 July 2013, 20:52 | #40 |
Longplayer
|
Ok, I just booted os39, I ran screenmode prefs and pressed test on PicassoIIP 8bit 640x480 which resulted in a 10 second grey screen before returning to aga screen.. and quit uae. Passthrough is enabled in the cgx driver.
The requested lines appear a few times so instead of pasting what I think looks right, i've attached the full log. Edit2: Just to note, I enabled bootpic in the driver (which loads when drivers are activated in the startup) and this is shown correctly in full colour. In 8bit 640x480 I think but not 100% sure. I guess the driver does this directly and not through the os. When testing with screenmode prefs the bootpic can be seen as a corrupted mess in some modes instead of just a grey screen. When testing some higher screenmodes like 8bit 1600x1200 (60hz laced) which I believe is highest mode supported on 2mb Picasso2, screenmode prefs reports that it can be opened due to lack of free video ram. The odd effect here is that 1.4mb of my chipmem is eaten up and not returned. This results in the same error if I then try low modes. EDIT:- Extra Info: Board (Village Tronic): Prod=2167/11($877/$B) (@$200000 2meg) cgxsystem.library 42.7 (68K mode) 1 graphics device(s) installed DEVICES: PicassoII: Driver Version 4.4 (68K mode) Prod=2167/11($877/$b) BaseName=Picasso CardID=3($3) Number=1($1) Developed by VillageTronic Last edited by Mad-Matt; 03 July 2013 at 15:48. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hardware poking and RTG cards | jman | Coders. General | 16 | 22 June 2018 23:46 |
Cirrus Logic based Z2/Z3 RTG board similarities | Toni Wilen | Amiga scene | 4 | 19 July 2013 00:19 |
New Board for Mac Amiga emulation | Washac | News | 23 | 22 January 2008 06:52 |
Hardware influencing emulation? | Drake1009 | support.Hardware | 11 | 25 February 2002 00:08 |
German Amiga Emulation Board | Tim Janssen | project.EAB | 4 | 20 December 2001 16:15 |
|
|