Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Sideborder Sprite Data Fetch TestProg   [2015]

Sideborder Sprite Data Fetch TestProg Released by :
Copyfault

Release Date :
2 April 2015

Type :
C64 Misc.

User rating:awaiting 8 votes (7 left)   See votestatistics

Credits :
Code .... Copyfault of Dienstagstreff, The Obsessed Maniacs

Download :

Look for downloads on external sites:
 Pokefinder.org


Summary
Submitted by Copyfault on 8 April 2015
This test prog was done to show how the sprite x position influences the sprite data shown on the screen.

For an x position equal or larger than $164, the sprite display is already turned on though there have not been any correct sprite data fetches before on that raster line. The displayed sprite data corresponds to the data that was on the vic bus during those fetch cycles (see also Sprite data fetch in sideborder).

In the source code (ACME) there are some LABELS which can be changed to do further experiments:


SPR3_X = $1c
SPR4_X = $34
SPR5_X = $4c
SPR6_X = $64
VAL_D010= $78

MOVEMENT_SPEED_LO= $80 (default)
MOVEMENT_SPEED_HI= $00
[\code]
Sprite X-Positions (Sprites 0, 1, 2 and 7 are not used). If MOVEMENTSPEED_LO/HI is set to a value > 0, Sprite 6 (the blue one) will move to the left accordingly.

BYTE_S0	= $f0
BYTE_S1	= $3c
BYTE_S2	= $2a
	
ACT_ANIM= $00 (default)

The BYTE_Sx-Values are the bytes which are displayed for Sprite 6 on rasterline $7A if it has xpos >=$164. Alternativly, you can activate a "pixel ping pong" animation by setting ACT_ANIM=1.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (3)
· Production Notes (4)
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.083 sec.