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 > Let's talk about DYSPs!
2005-08-11 10:52
Shadow
Account closed

Registered: Apr 2002
Posts: 355
Let's talk about DYSPs!

Back when I started coding for the C64 (late eigthies) DYSPs where still cool, one of my alltime favorite parts is the 32-sprite multiplex DYSP from "The Larch 3/Bones".

Anyway, ofcourse I wanted to code my own, but since (atleast I think, my memory is a bit hazy on these things) depending on the number of sprites on a given rasterline you had a varying number of cycles available. This made it difficult to find out exactly how long to wait to be in the right spot for sideborder opening.

I couldn't quite figure it out, and instead my solution was to use 19 pixels high sprites, with blank lines on the first and last line, and then stretch them with $d017, so that I always had all sprites on every line, but adjusting the amount of "stretch" of the first and last line to get the sine movement.

All this was back in '90 or '91 when I was fourteen. Now that I'm older and (hopefully :)) somewhat smarter, I should be able to figure it out, but now I have forgotten all about the timings etc.

Exactly what is the "proper" way of doing DYSP timing?
2005-08-12 07:33
HCL

Registered: Feb 2003
Posts: 728
Answer 1: There is no proper way. Any way that works is ok.

Answer 2: The proper way is to let the computer to the job. Use some timer to tell how many cycles the sprites wasted, then you can't do any bad calculations yourself.

Answer 3: Do exactly like the rulers. Load the last part of "A load of old shit" by Horizon, and check it out. That's how to make a *proper* DYSP!
2005-08-12 14:08
Trash

Registered: Jan 2002
Posts: 122
I personally used the now so popular and cyclesaving trick jmp ($dc05). check the code in the buggy multiplexer contained in 'On tour' by Cult for a sample.
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
MCM/ONSLAUGHT
DnP
wil
v3nt0r/ibex-crew
visionvortex
Didi/Laxity
goerp/F4CG/HF
Guests online: 131
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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