Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tomek ! (Registered 2024-11-24) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Where is the sprite gap on NTSC machines
2007-10-02 10:23
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Where is the sprite gap on NTSC machines

Hi.

I want to fix the NTSC related bugs in VICE but I have no NTSC machine here, so maybe some of you guys can help me with the following problem:

A sprite has 9 bits to address his x-coordinates so it can be placed in 512 different x-positions.
On a PAL machine with 63 cycles per row we have only 504 pixel, so sprites with x-coordinates >= 0x1f8 are not displayed. This is known fact.
But on NTSC with 65 cycles per row we have 520 pixel in a row, so there must be an area of 8 pixel where a sprite cannot be placed to. Where is this gap area? It is not the area left from the 0 coordinate, this is visible in the intros with buggy display in VICE. 0x1ff is just one pixel left from 0.
But where is this gap? I guess it is somewhere in the area where the sprite data is fetched. Could be constant for all sprites or depending on the sprite index.

Could someone with an NTSC machine try to find this out? Or is it known already?
A possible test without oppening side borders would be to shift two sprites with different x-coordinates but constant deltax and with patterns that let them collide only with this deltax and read the collision register. If you shift them to the gap area where only one of the sprite passed the gap, they shouldn't collide anymore. A big problem might be that sprites show strange patterns in the memory fetch area. But please give it a try.
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
Paulko64
The Syndrom/TIA/Pret..
maxell /Sinister
Didi/Laxity
Electric/Extend
Low Spirit
Airwolf/F4CG
anonym/padua
Magnar
EALL/HT
Magic/Nah-Kolor
Stone/Prosonix/Offence
TheRealWanderer
kbs/Pht/Lxt
Firehawk/Hoaxers
Mojzesh/TGR🇬🇧
Barfly/Extend
psych
GI-Joe/MYD!
Matt
The Human Co../Maste..
Guests online: 148
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Halloweed 4 - Blow Y..  (9.6)
7 Uncensored  (9.6)
8 The Demo Coder  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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