Welcome, Guest. Please login or register.

Author Topic: Picasso96 and blitter  (Read 3641 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Picasso96 and blitter
« on: June 14, 2011, 03:34:39 AM »
I'm doing some work in UAE and noticed something odd that I didn't expect.

When I disable the blitter emulation, Picasso96 doesn't update window widgets and some other misc. things like the icons in drop down menus.

Is the blitter still used when a Picasso mode is selected?
Is Picasso just copying the prerendered bitmap to its own screen?

I'm confused, I thought that all these would have been drawn in a system friendly way, bypassing the need for the blitter hardware.

It's entirely possible that I accidentally broke something, but I was specifically trying to just disable the blitter.

Anyone know what's happening?
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Picasso96 and blitter
« Reply #1 on: June 14, 2011, 10:39:38 PM »
If you talk about Picasso96 you have 2 blitters: the amiga blitter and the graphic card blitter. Do not disable the graphic card blitter unless it's really necessary. Keep graphics in fastram if possible.

If you talk about UAE blitter emulation... just choose 32bit blits to speed things up.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Picasso96 and blitter
« Reply #2 on: June 15, 2011, 12:06:37 AM »
This was a 32bit screen and I was disabling the UAE blitter emulation.

The OS was 3.9 if that matters in any way.

I still haven't figured it out, but I have moved on to other things for a little while.
 

Offline Thomas

Re: Picasso96 and blitter
« Reply #3 on: June 15, 2011, 10:12:20 AM »
This is probably not the right forum to ask such questions. You should go to eab.abime.net and discuss with the WinUAE maintainer directly. He should know best.

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Picasso96 and blitter
« Reply #4 on: June 15, 2011, 11:20:48 AM »
Quote from: Heiroglyph;645345
This was a 32bit screen and I was disabling the UAE blitter emulation.

The OS was 3.9 if that matters in any way.

I still haven't figured it out, but I have moved on to other things for a little while.

You don't need to disable UAE blitter emulation, just set it to perform 32bit blits. It is independent of using a 32bit screen or not.

Have you copied latest rtg.library to your hardfile? (It is usually bundled with WinUAE)

With Picasso96 Variable Setter (PVS) disable Amiga Blitter but not Gfx card Blitter.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Picasso96 and blitter
« Reply #5 on: June 16, 2011, 12:16:59 AM »
It's not really a WinUAE question, it's more of a Picasso programming question.  I'm trying to leave Toni alone, I know he's not a fan of this type of thing.

Basically I'm asking does Picasso96 still try to use the Amiga blitter even though a native screen is not in use?

From what I'm seeing, it looks like in some cases (especially on Intuition) P96 is letting the chipset draw like non-RTG and then copying bitmaps onto the card rather than drawing everything directly through Picasso.
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Picasso96 and blitter
« Reply #6 on: June 28, 2011, 08:58:14 PM »
Quote from: Heiroglyph;645554
It's not really a WinUAE question, it's more of a Picasso programming question.  I'm trying to leave Toni alone, I know he's not a fan of this type of thing.

Basically I'm asking does Picasso96 still try to use the Amiga blitter even though a native screen is not in use?

From what I'm seeing, it looks like in some cases (especially on Intuition) P96 is letting the chipset draw like non-RTG and then copying bitmaps onto the card rather than drawing everything directly through Picasso.


You should activate the flag to force p96 to use fastram for all bitmaps (with PVS for example)

UAE*Picasso96 driver doesn't use the graphic card directly like Amiga or Amithlon, it draws everything in the pc ram and later it copies the data to the viewable area so you will never get as much acceleration as a modern native P96/CGX system using a Radeon gfx card for example.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline HeiroglyphTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 1100
    • Show only replies by Heiroglyph
Re: Picasso96 and blitter
« Reply #7 on: June 29, 2011, 08:34:38 AM »
Quote from: Crumb;647527
You should activate the flag to force p96 to use fastram for all bitmaps (with PVS for example)


Ah, thanks for jogging my memory.  I had decided that either P96 worked like that or that I had broken something.

That's a very interesting thing to try.

Quote

UAE*Picasso96 driver doesn't use the graphic card directly like Amiga or Amithlon, it draws everything in the pc ram and later it copies the data to the viewable area so you will never get as much acceleration as a modern native P96/CGX system using a Radeon gfx card for example.


Luckily those parts of Amithlon are still mostly available if you look at the kernel patches and the AmigaOSXL source code.  They are pretty straight forward, if not really optimal.

I was thinking of using the Haiku Game Kit or DirectFB on Linux so that it could take advantage of those projects development and their work on hardware acceleration.

I've become side tracked with my real Amigas lately, but that project is still very much on my mind.