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 > help with delay table making tech tech
2012-08-13 14:53
Dr.j

Registered: Feb 2003
Posts: 277
help with delay table making tech tech

Hey there again. i want to do a little tech tech effect.
i think i manage Ok with the charsets (took me some time to
arrange right the chars) and i have $d018 and $d016 tables
the main problem is now.. Delay tables . i use this routine
what is the best technique to do "Fine tune" the delays?
i will gladly hear your ideas to do fast delay tables.
i first tried to replace $d016+$d018 with $d021 but it didnt help me much. please don't send me to "missing cycles" article..hehe . btw i don't have any problems to make "rasters" delays but here its different.
ldx #$00
loop:
lda d018tab,x
sta $d018
lda d016,x
sta $d016
ldy delaytab,x
dey
bne *-1
inx
cpx #$2f
bne loop

 
... 15 posts hidden. Click here to view all posts....
 
2012-08-14 18:20
algorithm

Registered: May 2002
Posts: 705
How are you able to change d018 at any vertical position? You would need to force a badline unless the sinus wave is calculated in a way taking into account when d018 can be switched.
2012-08-14 18:38
tlr

Registered: Sep 2003
Posts: 1790
@algorithm: the usual way is to switch the charsets not the screen memory.
2012-08-14 21:07
algorithm

Registered: May 2002
Posts: 705
I was thinking of the other method involving screen mem instead of gfx data and adjusting d018 with a long sinus wave. This elimates the issue of using forced badlines
2012-08-15 00:00
chatGPZ

Registered: Dec 2001
Posts: 11386
are you sure what tech tech is? how would a specialised sine table help at all?
2012-08-15 04:36
Radiant

Registered: Sep 2004
Posts: 639
Groepaz: Well, if you could construct your table so that xscroll would cross character boundraries only on even 8th lines it would work... Never heard of it being used though, and it seems pretty limiting compared to the standard shifted charset method.
2012-08-15 06:06
tlr

Registered: Sep 2003
Posts: 1790
If you combine the screen method with the charset method you could do a much wider tech-tech without requiring too many charsets.
2012-08-15 07:00
Conjuror

Registered: Aug 2004
Posts: 168
tlr: The consequence of that is the FLI bug as you need to trigger a bad-line to change the charset every line as I did here Better
2012-08-15 07:54
Radiant

Registered: Sep 2004
Posts: 639
Conjuror: Nah, if your slope isn't too steep you'd only need to update screen RAM location every 8 lines.
2012-08-15 11:21
tlr

Registered: Sep 2003
Posts: 1790
Yes, what radiantx said. I'm sure it's been done already.
2012-08-15 17:31
algorithm

Registered: May 2002
Posts: 705
I may be wrong but i believe one of the crest demos from maduplec had a part with full 320x200 tech tech utilizing the method of non drastic sine in d016 and changing d018 after 8 raster lines or so allowing the changing of msb nybble (screen ram) which allows more x positions this method

edit: Just seen that part, did not analyse the code, but that demo seems to not use full 320x200
Previous - 1 | 2 | 3 - 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
Thierry
Martin Piper
daimansion
ΛΛdZ
Peacemaker/CENSOR/Hi..
The Human Co../Maste..
megasoftargentina
fugu/Excess
chronos/Therapy
Guests online: 120
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 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 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (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 Censor Design  (9.3)
5 Triad  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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