Welcome, Guest. Please login or register.

Author Topic: Copper-generate WB Backdrop  (Read 7375 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline yorgleTopic starter

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 165
    • Show only replies by yorgle
    • http://umlautllama.com
Copper-generate WB Backdrop
« on: March 25, 2011, 02:12:20 PM »
Hey all. I recently came across this video:

http://www.youtube.com/watch?v=ZmilpGXwcJk

And I asked about his Workbench backdrop, which is "just a copper list generated by a program called waverlauf, or something like that".  

Anyone know exactlty what app it might be? My google-fu is failing me today.

Also, anyone know if such a thing exists for 1.3?
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Copper-generate WB Backdrop
« Reply #1 on: March 25, 2011, 02:19:07 PM »
Try here on AmiNet, lots of different utils/patches for creating a copper background on WB... :)

CopperMaster for example...:)

http://aminet.net/search?query=copper
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Copper-generate WB Backdrop
« Reply #2 on: March 25, 2011, 02:31:45 PM »
I've wondered how many colors the Copper can change, how quickly - be kind of fun to make a low-res true-color bitmap for a backdrop ;)
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Minuous

Re: Copper-generate WB Backdrop
« Reply #3 on: March 25, 2011, 02:54:58 PM »
I'm familiar with the program, it's called "WBVerlauf".

http://aminet.net/package/util/wb/WBVerlauf20
 

Offline trekiej

Re: Copper-generate WB Backdrop
« Reply #4 on: March 25, 2011, 03:05:05 PM »
I hope this not off topic.
How fast can the colors be changed in the 32 color registers?
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Copper-generate WB Backdrop
« Reply #5 on: March 25, 2011, 03:07:32 PM »
Quote from: trekiej;624555
I hope this not off topic.
How fast can the colors be changed in the 32 color registers?
I looked back over some of the documentation just now - if I'm not mistaken, Copper MOVEs take 560ns (four cycles) to execute. Running with my true-color idea, that would make a bitmap of 80x(screen height) theoretically possible, though I don't know how stable it'd be in practice.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline yorgleTopic starter

  • Full Member
  • ***
  • Join Date: Jan 2007
  • Posts: 165
    • Show only replies by yorgle
    • http://umlautllama.com
Re: Copper-generate WB Backdrop
« Reply #6 on: March 25, 2011, 03:15:17 PM »
Excellent! Thanks!
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Copper-generate WB Backdrop
« Reply #7 on: March 25, 2011, 03:20:05 PM »
Quote from: commodorejohn;624557
I looked back over some of the documentation just now - if I'm not mistaken, Copper MOVEs take 560ns (four cycles) to execute. Running with my true-color idea, that would make a bitmap of 80x(screen height) theoretically possible, though I don't know how stable it'd be in practice.


There were a few programs for displaying copper coloured pics on the workbench on AmiNet years ago (can't remember their names though) but they were very tricky to edit/create pics with and the results were pretty poor, think thats why they didn't catch on... :)
 

Offline vidarh

  • Sr. Member
  • ****
  • Join Date: Feb 2010
  • Posts: 409
    • Show only replies by vidarh
Re: Copper-generate WB Backdrop
« Reply #8 on: March 25, 2011, 03:21:57 PM »
Quote from: commodorejohn;624557
I looked back over some of the documentation just now - if I'm not mistaken, Copper MOVEs take 560ns (four cycles) to execute. Running with my true-color idea, that would make a bitmap of 80x(screen height) theoretically possible, though I don't know how stable it'd be in practice.


You're pretty much right, as far as I remember. The caveat is that anything else that can steal DMA cycles will cause the copper to miss one or more colour changes, and the blitter and CPU will pretty much stall on any accesses to chip RAM while you're doing this. This is from the hardware guide:

Quote

Disk DMA, audio DMA, display DMA, and sprite DMA all have the highest
priority level.  Display DMA has  priority  over sprite DMA under certain
circumstances.  Each of these four devices is allocated a group of time
slots during each horizontal scan of the video beam. If a device does not
request one of its allocated time slots, the slot is open for other uses.
These devices are given first priority because missed DMA cycles can cause
lost data, noise in the sound output, or on-screen interruptions.

The Copper has the next priority because it has to perform its operations
at the same time during each display frame to remain synchronized with the
display beam sweeping across the screen.

The lowest priorities are assigned to the blitter and the 68000, in that
order. The blitter is given the higher priority because it performs data
copying, modifying, and line drawing operations operations much faster
than the 68000.


In other words, any disk, audio, display or sprite DMA can or will interfere.
 

Offline trekiej

Re: Copper-generate WB Backdrop
« Reply #9 on: March 25, 2011, 03:25:37 PM »
I was wondering if one could use a single bit plane for higher resolution and switch out the single color register with a new color. I am not for sure how it would be timed or even be fast enough.
Amiga 2000 Forever :)
Welcome to the Planar System.
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Copper-generate WB Backdrop
« Reply #10 on: March 25, 2011, 03:30:32 PM »
Quote from: Franko;624561
There were a few programs for displaying copper  coloured pics on the workbench on AmiNet years ago (can't remember their  names though) but they were very tricky to edit/create pics with and  the results were pretty poor, think thats why they didn't catch on... :)
Well, the resolution would be pretty crap, but on the other hand, you'd have 12-bit true color. Pictures shouldn't be that hard to generate, so I'd blame it more on poor tools than any actual complexity of the task (really, all you'd be doing is a straight chain of MOVEs with WAITs at the end of each line.) Probably work better with visually simple, color-heavy images - the Windows XP "Bliss" wallpaper, for example, would look pretty good.
Quote from: trekiej;624563
I was wondering if one could use a single bit  plane for higher resolution and switch out the single color register  with a new color. I am not for sure how it would be timed or even be  fast enough.
That was basically what I was thinking of doing, but it's fairly slow - you could only achieve 80x(height), and even that might not be reliable.
Quote from: vidarh;624562
You're pretty much right, as far as I remember. The  caveat is that anything else that can steal DMA cycles will cause the  copper to miss one or more colour changes, and the blitter and CPU will  pretty much stall on any accesses to chip RAM while you're doing this.  In other words, any disk, audio, display or sprite DMA can or will  interfere.
Bummer. Probably not very stable, then - 40-wide might be a better shot, but then you're getting into ridiculously low resolution...
« Last Edit: March 25, 2011, 03:33:53 PM by commodorejohn »
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline Khephren

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 606
    • Show only replies by Khephren
Re: Copper-generate WB Backdrop
« Reply #11 on: March 25, 2011, 03:36:25 PM »
Quote from: commodorejohn;624557
I looked back over some of the documentation just now - if I'm not mistaken, Copper MOVEs take 560ns (four cycles) to execute. Running with my true-color idea, that would make a bitmap of 80x(screen height) theoretically possible, though I don't know how stable it'd be in practice.

You could also use DynamicHires, changing palettes per scanline, still gives very nice results, at a decent resolution. Several art programs will output this mode (HAMlab, ADpro and, I think IFFPro on the PC). I'll find some examples in a bit.

some forum threads:
http://eab.abime.net/archive/index.php/t-43475.html
http://ada.untergrund.net/forum/index.php?action=vthread&forum=4&topic=386

forgot to say, HAMlab is now free, and can be got from here http://ftp://nexus.polaris.net/pub/forager/Amiga
« Last Edit: March 25, 2011, 03:48:38 PM by Khephren »
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Copper-generate WB Backdrop
« Reply #12 on: March 25, 2011, 03:39:41 PM »
@ commodorejohn

It's like vidarh said, using a copper background to create a pic will be very sore on the eyes, as every time the HD or floppy does anything or even moving the mouse and opening windows causes the copper display to flicker change colours and be generally just too messy to be of any use... :)

I'll need to dig out the ones I tried years ago to show you why these utils/patches never caught on, unless you don't mind the eye strain they cause... :)
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Copper-generate WB Backdrop
« Reply #13 on: March 25, 2011, 03:44:25 PM »
Quote from: Khephren;624566
You could also use DynamicHires, changing palettes per scanline, still gives very nice results, at a decent resolution. Several art programs will output this mode (HAMlab, ADpro and, I think IFFPro on the PC).
You can indeed - I used to use a similar approach for boot screens on my Apple IIgs. I just thought it would be an amusing novelty, is all.

Actually, the IIgs approach might be better overall - it used custom palettes shared over multiple similar lines, selected at conversion time. On the IIgs this was due to hardware limitations, but on the Amiga it'd help to cut down on the Copper bandwidth (which I gather from one of the threads on the subject is a limiting factor, at least on machines with no fast RAM.)
« Last Edit: March 25, 2011, 04:01:36 PM by commodorejohn »
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline trekiej

Re: Copper-generate WB Backdrop
« Reply #14 on: March 25, 2011, 04:27:56 PM »
I do not know the full capabilities of the custom chips.
So here goes.
1. Use a single bit plane
2. Load the serial-izer with all one's.
3. Rotate them so you would not need to load them any more.
4. Load the colors in to location 1 of the 32 color registers.
5. Time it.
It would be nice if the Ram Address Generator could be programmed to act as a chunky style pixel retriever.
Amiga 2000 Forever :)
Welcome to the Planar System.