Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Width Sprite question  (Read 3753 times)

0 Members and 1 Guest are viewing this topic.

gibs

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 35
Width Sprite question
« on: June 02, 2014, 10:50:37 PM »

Hello,
Is it possible to display 2 sprites 64 pixel wide (in 3 colors) ?
If I ask this question is because I don't want to use 4x or 8x the Sprite command.
Thanks
Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Width Sprite question
« Reply #1 on: June 03, 2014, 02:54:47 AM »

Wait...  are you talking about AGA or ECS?  If you are talking about stacking 2 16-pixel sprites, yes.  If you are talking about AGA support, no.
« Last Edit: June 03, 2014, 02:57:50 AM by SamuraiCrow »
Logged

gibs

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 35
Re: Width Sprite question
« Reply #2 on: June 03, 2014, 06:47:01 AM »

Not talking about AGA support :)

Edit: ok, it is possible, I can display 1 128-pixels sprite, but if I use "screen offset" the end of the sprite (the latest 32 pixels are blinking/corrupted)... Without "screen offset" the display is ok.
« Last Edit: June 03, 2014, 07:34:05 AM by gibs »
Logged

ebanite

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Width Sprite question
« Reply #3 on: June 03, 2014, 09:50:18 AM »

any time you use all sprites and hardware scrolling, there is no more bandwith for all DMA, because hardware scrolling preload a word for each bitplane,  the chipset switch off the last 2 sprite dma to support hardware scrolling...that is a hardware limit of amiga with ecs
Logged
if you feeling great, you are great

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Width Sprite question
« Reply #4 on: June 03, 2014, 12:20:55 PM »

He's right.  The only way to use all the sprites and scroll the background at the same time is to shrink the background by about 32 pixels on the left side.  (Turrican shrunk 32-pixels on both sides to free up some right border space for custom Copper-list effects as well.)
Logged

gibs

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 35
Re: Width Sprite question
« Reply #5 on: June 11, 2014, 06:54:59 PM »

Thanks for the clear explanation.  8)
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022