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 > DYPP
2017-03-29 13:36
Rudi
Account closed

Registered: May 2010
Posts: 125
DYPP

Hi,
DYPP - Different Y Pixel Position.
I don't seem to find an explanation on this effect on C64 on codebase or anywhere. Maybe its in another thread here on csdb, then please provide an link.

I know the basics of sines, ive made sinescroll on PC, but its easier there since you can look up the framebuffer directly, via sine-tables and so on.

Im wondering how this effect is easily made on C64. I believe there are more than one way, but i guess one way is slower than the other; for example moving each column-bit (inside a char) in realtime. The other way I think is having the chars animated, similar to a twister. Though, im thinking each angle is used for lookup table. I just dont seem to get it right in my mind to start coding on this effect. I've seen several early cracktros and demos that does this very fast, but haven't had the time to reverse-engineer the binaries. If you have any tips and info i'd appreciate it, or even better; write an explanation for codebase.
Thanks
2017-03-29 13:58
chatGPZ

Registered: Dec 2001
Posts: 11386
i think you want to look for DYCP or DYSP on codebase :)
2017-03-29 15:01
TWW

Registered: Jul 2009
Posts: 545
The DYPPs I made in the past was done something like this:

Fetch charset data AND bit pattern and store with sine-index offset (1x1 charset).

lda Character
asl
asl
asl
tax
lda CharsetData,x
ldx sinus
and #%1111000
sta CharsetDisplayBuffer,x

and so on for the remainder. Off course the AND will determine how many routines you have to write.

There are some optimisations for bigger characters which was used where you only update the to and bottom of the character, not every pixel in between and resulted in looong codestreams ;-)
2017-03-29 18:57
Rudi
Account closed

Registered: May 2010
Posts: 125
groepaz: are you sure this is the same as DYPP? of course i could start with those, but i want to start with the difficult.

TWW: interesting ill try out this.

By the way, I started an irc-channel (ircnet) #c64coders. pls join, i want it to be purely coding related. and spread the word. no lamers pls!
2017-03-29 19:52
Digger

Registered: Mar 2005
Posts: 437
A neat example of a char based DYPP can be found in Obornik (coded by Brush).
2017-03-29 22:37
Rudi
Account closed

Registered: May 2010
Posts: 125
Digger: nice. yes, the sine-scroll in that demo is a good example of what i want to learn how is done.
2017-03-30 07:45
Rudi
Account closed

Registered: May 2010
Posts: 125
Ok, I forgot to turn of invite on the channel. I wanted to keep the lamers out. If you are irc user, Pls (auto)join #c64coders (ircnet) if you want hang on a pure coders channel. Thx
2017-03-30 09:56
ChristopherJam

Registered: Aug 2004
Posts: 1409
Does anyone know which production holds the area record for freeform DYPP? (ie, not relying heavily on solid 8x8s in the source)
2017-03-30 10:10
Axis/Oxyron
Account closed

Registered: Apr 2007
Posts: 91
There exists an old, but pretty good DYPP based on VSP in Anal Intruder. And AFAIK the best completely dynamic DYPP is in Mekanix.
2017-03-30 12:47
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:
are you sure this is the same as DYPP?

i have no idea what "DYPP" should be exactly, and how its different from DYSP, to be honest :=)
2017-03-30 13:09
HCL

Registered: Feb 2003
Posts: 728
I'm afraid we're going off-topic here, but to me a DYSP means Different Y SideborderSprite Position, which is quite far from a DYPP.
 
... 43 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next
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
Brush/Elysium
Acidchild/Padua
Shogoon/Elysium/MSL
rexbeng
Knight Rider/TREX
Guests online: 127
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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