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: 447
$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.
 
... 57 posts hidden. Click here to view all posts....
 
2021-11-22 17:26
Martin Piper

Registered: Nov 2007
Posts: 739
Quote: Interesting.... HOXS does it correctly apparently :)

Even Hoxs64 from 6 January 2013 v1.0.8.4 works right :)
2021-11-22 18:00
chatGPZ

Registered: Dec 2001
Posts: 11510
funny enough, even x64 works right ... interesting bug really :)
2021-11-22 18:22
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
I hate bugs ;-)
But glad that I can contribute to the improvement of emulators.
2021-11-23 11:08
Rastah Bar
Account closed

Registered: Oct 2012
Posts: 336
What do real C64s show in bitmap mode?

This link shows a Vice 3.5 x64sc screenshot:
https://postimg.cc/62qvYV86

and this a Vice 3.1 x64 screenshot:
https://postimg.cc/z3Vkjf75

So, probably there is a bug also in bitmap mode.
2021-11-27 20:46
PiCiJi

Registered: Oct 2021
Posts: 2
Quote: Ticket submitted, feel free to edit if you think it isn't explained clearly or if something is missing.

https://sourceforge.net/p/vice-emu/bugs/1627/


I added a patch with some explanation.
2021-11-27 20:59
tlr

Registered: Sep 2003
Posts: 1807
Quote: I added a patch with some explanation.

Good find!

Will test this for corner cases.
2021-11-27 22:37
JackAsser

Registered: Jun 2002
Posts: 2038
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: 1807
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: 2038
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: 3083
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? :)
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
Guests online: 302
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Uncensored  (9.5)
9 Wonderland XIV  (9.5)
10 No Bounds  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 Irata  (9.7)
4 hedning  (9.7)
5 MWS  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.057 sec.