Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tubesockor ! (Registered 2024-05-12) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > (Ab)use of dummy accesses
2020-03-09 17:04
chatGPZ

Registered: Dec 2001
Posts: 11136
(Ab)use of dummy accesses

For the next release of my "No more Secrets" doc i am preparing a chapter related to the dummy access which happen when the CPU performs an internal operation. Once again i am looking for some examples on how to (ab)use it :) I guess everyone knows "inc $d019" - but i am sure there is more than this. And not only with RMW instructions. So if you have anything in your mind - just drop it here!

here are some related notes which i pasted together. feel free to proofread and point out mistakes :)
 
... 55 posts hidden. Click here to view all posts....
 
2020-03-14 16:55
Frantic

Registered: Mar 2003
Posts: 1628
Quote: Also a good way to show the finger to shitty replacements =P

Ah.. yes! I'll remember that! :)
2020-03-14 19:24
Compyx

Registered: Jan 2005
Posts: 631
Quoting tlr
Are we counting things like inc $d016;dec $d016 in this btw? More related to BA i guess but if there weren't so many dummy cycles it wouldn't work.


I wouldn't count that under the dummy writes/reads. You're just wasting cycles with a RMW instruction to inhibit sprite 0 DMA screwing with opening the border.
2020-03-14 23:34
ChristopherJam

Registered: Aug 2004
Posts: 1380
Quoting ChristopherJam
I'm fairly sure one of the iterations in developing a stable hard restart used one cycle blips of the gate bit to allow RC to escape at known times, but it didn't turn out to be the most optimal. I'll have a rummage.


"sieve" at SID envelope rate counter phase alignment - which just reminds me I need to fix the hosting of those images and runlogs..

But yes, interesting that the readback is perfectly reliable if you're safely under 2000 cycles. Presumably one could first write to one of the undefined registers between $1d and $1f to much the same effect.
2020-03-28 18:11
chatGPZ

Registered: Dec 2001
Posts: 11136
Hey, is that all? *push* :)
2020-03-29 16:00
S.E.S.

Registered: Apr 2010
Posts: 19
If you want to have raster splits that are exactly 5 cycles wide, you can use
ldx #$ff
ldy #$05
lda #$00
sty $d021
sta $cf22,x
I don't know if anybody actually used that in an intro or a demo, though :)
2020-03-29 19:08
Oswald

Registered: Apr 2002
Posts: 5025
make em 3 cycles wide :)
2020-04-01 20:14
Hoogo

Registered: Jun 2002
Posts: 102
What about the color of the colorram in multicolor FLI?
2020-04-01 21:49
chatGPZ

Registered: Dec 2001
Posts: 11136
what about it?
2020-04-02 09:16
Hoogo

Registered: Jun 2002
Posts: 102
Is it an example for "side effect of fetching next opcode" for your purpose?
2020-04-03 15:43
chatGPZ

Registered: Dec 2001
Posts: 11136
yes and no - this particular case is already described in detail in the pdf ("Blackmail FLI") :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - 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
Mibri/ATL^MSL^PRX
Matt
wbochar
Dr.Science/Atlantis
tonysavon
rtiainen
algorithm
The Human Co../Maste..
Elder0010/G★P
rexbeng
Frostbyte/Artline De..
Didi/Laxity
qbhead
Asphodel
sailor/Triad
Guests online: 118
Top Demos
1 13:37  (9.8)
2 Next Level  (9.8)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 No Bounds  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Multiverse 100%  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Layers  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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