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 > lucky timing. stable rasterirq without stablelize routine
2009-02-01 20:36
Testa
Account closed

Registered: Oct 2004
Posts: 197
lucky timing. stable rasterirq without stablelize routine

hi,

i was looking through some old code of my and i found an old demopart witch has open sideborders, music, and i didn't use any stablelize routine... it is 16 years ago and i still don't know how this works...

the demo that i am talking about is explicit and the part is called... noteparty.. it starts at hex 4000 ...

the part is terrible but the logo is nice... anyway,
it uses a normal interupt setup and the irq vector is directly pointed to the sideborder rastercode.. no problem at all...

how is this possible...


2009-02-01 20:41
chatGPZ

Registered: Dec 2001
Posts: 11386
automagic stableness by doing read/modify/write instructions on a rasterline with 4 sprites ? :)
2009-02-01 20:54
Testa
Account closed

Registered: Oct 2004
Posts: 197
well. i honestly don't know how it works and how save it is... but it is stable on a real c64 and in vice...

2009-02-01 22:56
Devia

Registered: Oct 2004
Posts: 401
sprites are automatic stabilizers if used correctly.. check out Sprite synchronisation for some related info.
2009-02-02 11:13
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Ofcourse this works.

Its how we made demos in 1987..

open border:

irq=line $80

ldx #7
.dex
bne .
nop
nop
nop
ldx #4
dec $d016
inc $d016
nop
..nop
bit $fc
nop
dex
bne ..
...
...
...

adjust the first ldx
adjust the 2nd ldx
adjust the number of nops

keep fiddling until it works

Not so hard afterall :)
2009-02-02 11:37
algorithm

Registered: May 2002
Posts: 705
can do an inc at the right moment on a badline to stabilise? or force a badline (which may produce garbage)
2009-02-02 16:06
Testa
Account closed

Registered: Oct 2004
Posts: 197
well i didn't know that it is possible to get the damm thing stablelized with four sprites on a rasterline with some read/mod/store instuctions.. i found a thread about this topic now... but thanks...

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
Andy/AEG
Acidchild/Padua
rexbeng
Alakran_64
Avalanche/Atlantis
Guests online: 90
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 Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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