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 > what is your RAM init pattern?
2016-04-27 19:49
chatGPZ

Registered: Dec 2001
Posts: 11386
what is your RAM init pattern?

since i stumbled about yet another case of some ancient demo that relies on uninitialized RAM - and which would only work if you change the default VICE uses currently - i think its about time to collect some hard data about this phenomenon and perhaps at the end add proper configuration for it to VICE (or even choose a better default).

background: when you power on your C64, the RAM will not be zero, instead (about) half of the RAM cells will be 1, and the other half will be 0. this results in some kind of pattern (mostly) consisting of $00 and $ff. for example if you start VICE, then enter the monitor and look at a page of RAM it shows this:

(C:$e5d4) m c000 c0ff
>C:c000  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c010  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c020  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c030  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c040  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c050  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c060  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c070  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c080  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c090  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c0a0  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c0b0  00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
>C:c0c0  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c0d0  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c0e0  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................
>C:c0f0  ff ff ff ff  ff ff ff ff  ff ff ff ff  ff ff ff ff   ................


this is the default pattern, which could be shortened to "64 times $00, 64 times $ff, repeat"

now i'd like to know how it looks like on your (real) C64... if you have some cartridge with ML monitor, all you need to do is power on your c64, check some memory page, and post the pattern here (you can ignore that some values wont actually be 0 or $ff - what matters is the general trend). additionally it would be extra cool if you could look into your C64 and post the type of RAM chips that it uses as well (since the pattern most likely depends on them) - they are labelled 4164 or 4464 or 41464 (please post everything written on it, the exact type and manufacturer is interesting here). Also please post the ASSY NO of the board, as the way RAM is wired up matters as well.

thanks for your help!

PS: if you are curious, Typical is the demo in question... if you can name other examples ("works in CCS64 but not in VICE is often an indicator for it), please post them too!
 
... 47 posts hidden. Click here to view all posts....
 
2016-04-30 14:43
willymanilly
Account closed

Registered: Jan 2016
Posts: 27
My C64C PAL (ASSY 250466) with Action Replay VI connected has the following power on ram values:-

0000-3fff 128 times $ff, 128 times $00, repeat
4000-7fff 128 times $00, 128 times $ff, repeat
8000-bfff 128 times $00, 128 times $ff, repeat
c000-ffff 128 times $ff, 128 times $00, repeat

There are some random bytes in the above patterns, mainly with the 4 LSB's of those bytes.

I got the same results without AR connected.
2016-05-02 16:06
Pitcher

Registered: Aug 2006
Posts: 61
Cars in the garage tomorrow morning, I'll dig my 2 out and have a look, both breadbins but with completely different boards.
2016-05-02 16:10
chatGPZ

Registered: Dec 2001
Posts: 11386
willymanilly: could you check what type of RAM is on that board, please?
2016-05-03 07:11
willymanilly
Account closed

Registered: Jan 2016
Posts: 27
It has 2xMN41464-15 Japan 6D632 in U9 and U10
2016-05-03 07:29
willymanilly
Account closed

Registered: Jan 2016
Posts: 27
I don't use dropbox so I just emailed pictures to you. You might want to check your spam if you don't receive them.
2016-05-03 12:40
chatGPZ

Registered: Dec 2001
Posts: 11386
thanks!

so where are the rest? :)
2016-05-03 20:19
Fierman

Registered: Feb 2002
Posts: 85
too lazy to dump and xfer file

http://i.imgur.com/Xlc9IBu.jpg

assy 250407

and here the internals:

http://i.imgur.com/9dOVV9O.jpg
2016-05-04 18:42
Hypnosis

Registered: Mar 2015
Posts: 36
Mine looks like this:

ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
0000 0000 0000 00ff ff00 0000 bf00 0000
0000 0000 0000 0000 0000 0000 4000 4000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
0000 0000 0000 00ff ff00 0000 bf00 0000
0000 0000 0000 0000 0000 0000 4000 4000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
0000 0000 0000 00ff ff00 0000 bf00 0000
0000 0000 0000 0000 0000 0000 4000 4000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff


ASSY NO.250407
RAM M3764-20RS OKI Japan 3Y311
2016-05-06 09:22
Pitcher

Registered: Aug 2006
Posts: 61
Heres a sample, have photos if needed of full dumps, both from a cold start after being sat in the cuboard, last used 1 week+ ago.

Bread bin 1 - 1983 - assy 250407 - serial B1442003

has had some chips changed by the looks of things

C000 -

00 FF EE FF 00 00 00 EB
FF 00 FF 41 EE E2 FF 00
EE 00 FF FF FF 00 FF 00
EE 00 FF 00 FF 00 FF 00
00 FF FF FF EA A3 EF 40
EB EF FF 21 00 C0 FF E3
EF 00 FF A0 FF 00 FF 00



Bread bin 2 - 1984 - assy 250425 - serial B2399395

c000 -

FF 00 FF 00 FF 00 FF 00
FF 00 FF 00 FF 00 FF 00
FF 00 FF 00 77 00 FF 00
FF 88 75 00 FF 00 FF 00
FF 00 FF 00 FF 00 FF 00
FF 00 DF 00 FF 00 FF 00
FF 00 FF 00 FF 00 FF 00
2016-05-06 14:32
chatGPZ

Registered: Dec 2001
Posts: 11386
could you also check the type of RAM chips please?
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
DJ Gruby/TRiAD
Sulevi/Virtual Dreams
chancer
Guests online: 148
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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