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 > $d011 trickery – duplicated text lines
2011-04-29 21:39
Digger

Registered: Mar 2005
Posts: 421
$d011 trickery – duplicated text lines

Does any one know the $d011 trick to repeat the first char row? I am trying to cancel badlines on the 8th line of each charline (between cycles 54-57) but it doesn't work. The first line gets duplicated but only twice.
 
... 53 posts hidden. Click here to view all posts....
 
2021-11-27 22:37
JackAsser

Registered: Jun 2002
Posts: 1989
How on earth did VICE implenent it in the first place?! All adresses should be derived from ONE pointer (VCBASE). Will inspect the patch, curious!
2021-11-27 23:56
tlr

Registered: Sep 2003
Posts: 1714
Quote: How on earth did VICE implenent it in the first place?! All adresses should be derived from ONE pointer (VCBASE). Will inspect the patch, curious!

It's related to the char and color buffer in the VIC, not VCBASE. There was a race between writing (vmli) and reading this out (dmli) in an apparently rare case.
2021-11-28 00:08
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: It's related to the char and color buffer in the VIC, not VCBASE. There was a race between writing (vmli) and reading this out (dmli) in an apparently rare case.

Ahh yes ofc, I see.
2021-11-28 00:56
Krill

Registered: Apr 2002
Posts: 2839
Quoting tlr
It's related to the char and color buffer in the VIC, not VCBASE. There was a race between writing (vmli) and reading this out (dmli) in an apparently rare case.
But can this be exploited for demo purposes? :)
2021-11-28 12:15
tlr

Registered: Sep 2003
Posts: 1714
Quote: Quoting tlr
It's related to the char and color buffer in the VIC, not VCBASE. There was a race between writing (vmli) and reading this out (dmli) in an apparently rare case.
But can this be exploited for demo purposes? :)


Probably not, but never say never.

I'm not even sure these counters are separate counters in reality.
It was a long time since I wrote that piece of code, but I think part of the choice was due to trying to separate the cpu clock domain code from the dot clock domain code more cleanly.
2022-03-20 14:21
tlr

Registered: Sep 2003
Posts: 1714
I've committed a fix for the bug 1627 issue in r41978 (based on the patch PiCiJi supplied).

This should really be emulated in the way described here: bug 218, but not today. :)

The committed fix passes the regression suite (thanks gpz!) but please test the current trunk with your "worst" VIC-II abuse!

Builds are here: https://github.com/VICE-Team/svn-mirror/releases
2022-03-25 08:57
tlr

Registered: Sep 2003
Posts: 1714
friendly reminder: Please run some of your tests this weekend.
2022-03-28 00:32
chatGPZ

Registered: Dec 2001
Posts: 11113
please :)
2022-03-28 20:25
JackAsser

Registered: Jun 2002
Posts: 1989
Quote: please :)

Doesn't work on Vice 2.1.. :(
2022-04-01 11:38
tlr

Registered: Sep 2003
Posts: 1714
Quote: Doesn't work on Vice 2.1.. :(

anybody else want to pull some wise-guy cracks? :)

if not, it would be very helpful to get some feedback on if it's messing up your favourite effects.
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
Smasher/F4CG
Mike
qbhead
TheEnemy/TREX/THD
Guests online: 130
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (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 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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