It is currently Thu Dec 14, 2017 9:39 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Mon Mar 12, 2012 10:15 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10164
Location: Rio de Janeiro - Brazil
Bisqwit wrote:
Is reading the RAM after poweron a bad idea on electronic basis

No, it's not electronically bad, if the initial value of a variable doesn't matter you can skip the initialization.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2012 10:32 am 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1058
Location: Minneapolis, MN
MottZilla wrote:
I mean you could just write the word CAT or DOG to ram and check for it on reset to detect a powerup versus just a reset. There is basically no chance ram will contain those values on powerup, only on reset after your program writes it.


I'm sure a million engineers in a room with a million NES could produce the word CAT or DOG in the RAM of one of them in precisely the right location in a finite amount of power-cycles' time.

:shock:

Now...if that NES also contained the 9 billion names of God in its RAM...well...then the end of the Universe is near anyway so it won't matter.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2012 6:14 pm 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2806
I'm talking about practically speaking judging from what I've heard, Static RAM doesn't power up to totally random values, that there is a pattern.

It's not about what someone could cook up now.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2012 7:11 pm 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1058
Location: Minneapolis, MN
MottZilla wrote:
I'm talking about practically speaking judging from what I've heard, Static RAM doesn't power up to totally random values, that there is a pattern.

It's not about what someone could cook up now.


My post...needs more sarcasm! :D


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 14, 2012 9:42 pm 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2806
Indeed, it doesn't always translate well in text.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group