Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Seven sprites on a bad line (or, barking at the moon)
2015-08-18 17:36
ChristopherJam

Registered: Aug 2004
Posts: 1378
Seven sprites on a bad line (or, barking at the moon)

If I've got sprites zero to six enabled, is it actually possible to change $d018 between the sprite DMA at the end of the previous line and the character DMA for the bad line? Or is the gap just too small?

vic_article doesn't quite specify which cycles are used for sprite DMA in PAL, so I've been nudging a placeholder update to $d020 back and forth with nops and indexed stores to no avail.
2015-08-18 17:43
chatGPZ

Registered: Dec 2001
Posts: 11108
<shameless self promotion>
check Victimer
</shameless self promotion>

$ victimer -b -s 0x7f
  |                  1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 6 6 6 6 |
0 |1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 |
  |                   |===========01020304050607080910111213141516171819202122232425262728293031323334 353637383940===========|   |
--|----------------------------------------------------------------------------- -------------------------------------------------|
  |                 x x x W W W                                                                                 W W w            |
  |                    r r r r rcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgcgc g                 |
ss|3sss4sss5sss6sss7                                                                                                 0sss1sss2sss|
  |                  i                                                                                           i i             |
--|----------------------------------------------------------------------------- -------------------------------------------------|
  |                                ^(close sideborder)                                                           ^(open sideborder)
  |                           ^---FLI----------------->                                                      ^-----^(double line)  
  |                             ^---DMA Delay--------------------------------------------------------------^                       

 badline  sprenable=7f 
CPU:  3 (+ 5= 8) 
VIC: 54 (+ 1=55)
     63

x    - CPU regular cycles
W    - CPU write cycles
w    - CPU 3rd write cycle
c    - VIC video ram
g    - VIC color ram
0..7 - VIC sprite pointer fetches
s    - VIC sprite data accesses
i    - VIC idle accesses


edit: grmpf, for some reason csdb decides to insert some spaces at random places *shrug*
2015-08-18 17:55
algorithm

Registered: May 2002
Posts: 702
7 sprites are possible and to change $d018 on a badline (MUCSU gfx mode does exactly this) think I may have preloaded register beforehand then after relevant delay switched d018
2015-08-18 18:36
ChristopherJam

Registered: Aug 2004
Posts: 1378
That looks like a yes, I'll keep fiddling.

Thanks guys, and yes, victimer looks excellent.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sentinel/Excess/TREX
Krill/Plush
Sande/Hokuto Force
WVL/Xenon
Grue/Extend
QuasaR/CENTRiC
Guests online: 124
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.049 sec.