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


Forums > C64 Coding > $D016 bit 5
2023-08-05 18:22
Krill

Registered: Apr 2002
Posts: 2940
$D016 bit 5

There is this mysterious bit early on in the KERNAL reset routine:
FCEF: 8E 16 D0  STX $D016     ; VIC: Control Register 2
with X being anything in [0..5].

Now, some people [who?] claim that without this store to $d016, some [which?] cartridges won't start [citation needed].

However, $D016 apparently used to have a mysterious "reset bit" in supposedly early VIC-II revisions (those with only 5 not 9 luma steps, and then the early ones of those).
   | Bit  5   |    Reset-Bit: 1 = Stop VIC (no Video Out, no RAM  |
   |          |                   refresh, no bus access)         |
Could this be the reason why some things on some machines (?) won't start without that store to $D016?
Do any machines still exist where setting $D016 to, say, $f8 would crash them (when running code from RAM)?
Or did this "reset bit" never exist? =)
 
... 66 posts hidden. Click here to view all posts....
 
2023-08-06 16:23
Martin Piper

Registered: Nov 2007
Posts: 699
Quote: The DRAM refresh happens in the refresh cycles. There is no problem there.

You can write "incorrect" once more.


From the article you cited: "In short, one memory cell **gets refreshed** with the bit value of a different memory cell."

It refutes what you claim and agrees with what I wrote "badly refreshed DRAM due to signals flickering unexpectedly".


How do you not understand that "one memory cell **gets refreshed** with the bit value of a different memory cell" is synonymous with "badly refreshed DRAM"? It's not like the DRAM is correctly refreshed, the signal are flickering basically changing unexpectedly, when they shouldn't be with relation to the RAS signal.
2023-08-06 18:22
chatGPZ

Registered: Dec 2001
Posts: 11290
I understand exactly what your problem is, but i wont give another hint. It's ok.
2023-08-06 18:44
Monte Carlos

Registered: Jun 2004
Posts: 355
Groepaz's bot active again ;⁠-⁠)
2023-08-06 21:38
Martin Piper

Registered: Nov 2007
Posts: 699
Quote: I understand exactly what your problem is, but i wont give another hint. It's ok.

You fail to understand the article. That's what.
2023-08-06 22:20
chatGPZ

Registered: Dec 2001
Posts: 11290
Your lack of knowledge and imagination to grasp factually accurate information about specific topics is appreciated.
2023-08-06 22:52
Martin Piper

Registered: Nov 2007
Posts: 699
Quote: Your lack of knowledge and imagination to grasp factually accurate information about specific topics is appreciated.

The fact is you're wrong and you're refusing to admit it.
2023-08-06 22:54
iAN CooG

Registered: May 2002
Posts: 3170
Can we have an actual explanation or all we can read here is "you're wrong and an idiot"? That's not useful for anyone, get a room and beat each other out until one remains alive, else please stop.
2023-08-06 22:56
Martin Piper

Registered: Nov 2007
Posts: 699
Quote: Can we have an actual explanation or all we can read here is "you're wrong and an idiot"? That's not useful for anyone, get a room and beat each other out until one remains alive, else please stop.

One memory cell gets refreshed with the bit value of a different memory cell.
Basically.
2023-08-07 01:55
chatGPZ

Registered: Dec 2001
Posts: 11290
Just read the article :)
2023-08-07 02:15
Bansai

Registered: Feb 2023
Posts: 40
Quoting Groepaz
Quote:
Incorrect, see "In short, one memory cell gets refreshed with the bit value of a different memory cell."

You didn't understand the article. Its a ras/cas timing violation. Also see the first paragraph.
I agree with Groepaz. Root cause is VSP triggers a timing violation. Downstream this causes a metastability condition in the refresh logic as some number of RAS bits can't drop to zero quickly enough before they're latched so the readout in downstream logic will flicker unpredictably. Depending on process variations in the VIC-II silicon lottery coupled with temperature/phase/whatever conditions, congratulations, you may experience the VSP bug.

If someone cuts the brake lines on your car and you crash into a tree, the prosecuting attorney (and insurance agency!) doesn't point fingers at the tree. :-)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - 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
Acidchild/Padua
Fred/Channel 4
Hydrogen/Glance
Didi/Laxity
Chrx/Design/Chaos
theK/ATL
stephan-a
Guests online: 81
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 Wonderland XIV  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
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.043 sec.