MathewWi / genplus-gx

Automatically exported from code.google.com/p/genplus-gx
Other
0 stars 1 forks source link

Genesis/MD SRAM files size #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure why, and I noticed it a while back and have been wanting to say 
something about it but it kept slipping my mind. 

The SRAM file sizes are all 64KB in size, may I ask why? 

Sonic 3K's file size on Fusion is only 2 KB's. Is it that this emulator can't 
detect the actual SRAM size? I haven't had any save problems or anything. I was 
just curious as to why they are all 64KB's.

Original issue reported on code.google.com by 47isc...@gmail.com on 28 Jul 2014 at 4:29

GoogleCodeExporter commented 9 years ago
Nothing special, it's just the max supported size for cartridge saves and it is 
used by default for each game because there is no 100% sure way of knowing the 
original chip side beside having an internal database for all existing 
cartridges.

Some emulators (like Fusion) only write back the amount of data that was 
actually modified by the game (by starting from the end of 64K internal save 
until it reaches non-zero data) but that's not accurate either as most games do 
not use the full chip size.

All emulators also save SRAM as 16-bit while most cartridge back then used 
8-bit chip so half of the data saved is useless and srm files size twice than 
necessary, yet nobody ever complained about those few kB.

That's why I consider this to be a non-issue, as there is no harm with saving a 
few kB more than necessary.

Original comment by ekeeke31@gmail.com on 28 Jul 2014 at 7:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I agree, not a problem. I was just wondering about it, thanks for the info.

Original comment by 47isc...@gmail.com on 28 Jul 2014 at 4:23