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


Forums > C64 Coding > Powerup RAM test pattern
2020-03-30 15:20
Rudi
Account closed

Registered: May 2010
Posts: 125
Powerup RAM test pattern

What are those patterns of sixty four trailing 0x00 and 0xff in RAM. Are those powerup test patterns to check wether the bits are working?

Reason I am asking is that I have just ignored figuring out what causes it in the past. Im not usually diging deep into the electronics. Also I am looking at some older computer than C64 which has the same pattern; though those are 128 bytes long instead of 64 but has the same amount of RAM. So whats the reason C64 has 64 bytes of these and not 128?

Two quick questions. Feel free to enlighten me :P
2020-03-30 15:26
Krill

Registered: Apr 2002
Posts: 2825
Short answer is, it's the "natural" state the memory bits fall back to after not being refreshed for a certain time. A hardware effect.

Why this is 0 for some ranges and 1 for others, and the size of those ranges, is part of the long answer.
2020-03-30 15:33
Rudi
Account closed

Registered: May 2010
Posts: 125
Very good
2020-03-30 16:39
Impetigo

Registered: Jun 2004
Posts: 30
A relevant discussion: what is your RAM init pattern?
2020-03-30 16:46
chatGPZ

Registered: Dec 2001
Posts: 11100
also see https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/C64..
2020-03-30 18:37
Rudi
Account closed

Registered: May 2010
Posts: 125
Thank you
2020-03-31 11:51
Oswald

Registered: Apr 2002
Posts: 5017
Quote: Short answer is, it's the "natural" state the memory bits fall back to after not being refreshed for a certain time. A hardware effect.

Why this is 0 for some ranges and 1 for others, and the size of those ranges, is part of the long answer.


that makes me remember, in the "days" we had no carts we just power cycled to reset the machines, at one of my friends once the c64 just didnt want to forget, the screen was still there after 3-5 power cycles altho more and more degraded, the program obviously not running. Then after waiting some minutes it was fine.
2020-03-31 12:08
chatGPZ

Registered: Dec 2001
Posts: 11100
yes, a certain type of (iirc) chinese RAMs had a crazy long retention time - long enough for some games with cbm80 startup to just start again after quick powercycle :)
2021-11-30 00:00
Repose

Registered: Oct 2010
Posts: 222
That happened to my machine too. I wonder if they are still powered at least by some capacitor, but I don't recall experimenting with unplugging it.
However, it's never a bug it's a feature - I wanted to write a simple error correcting code, using a large amount of memory to store a time string, so I could log brief power outs!
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
Soren/Camelot, MoN, ..
Guests online: 101
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 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (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 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

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