|
| |
Azeman
|
The Magic Number |
|
For a while now, I've been seeing the number 255 appearing in lots of places in D/P. any stat can only have 255 evs. any pokemon can only have 510 evs (255 x 2), the highest base stat, blissey's HP, is 255, 2 eggs will always hatch at an interval which is a multiple of 255. ------------------- ![]() want a cool banner like mine? PM me! | |
quote quick quote edit quick edit del report
| |
| Members, log in or register to remove these ads. | |
Trixster99
|
re: The Magic Number |
|
i think there was a thread about this a long time ago and alot of games have 255 in them as well. i think it's got somthing to do with programing or memory or somthing ------------------- ![]() Thanks Phenomena for Avvie
| |
quote quick quote edit quick edit del report
| |
PureStealth
|
re: The Magic Number |
|
A bit is the smallest piece of data (either 0 or 1), and game data on the smaller machines is typically stored as a single word (a word being a group of 8 bits). With this system, a single word stores 2^8 (256) possible values. ------------------- FSF Supporter These 4 Freedoms are REQUIRED for the users of all software:
| |
quote quick quote edit quick edit del report
| |
AKTKWNG
|
re: The Magic Number |
quote PureStealththat was nicely put, but i always thought 8 bits made up a byte (as in megabyte, gigabyte etc.), or am i wrong? ------------------- ![]() MKDS FC: 193404-175273 | |
quote quick quote edit quick edit del report
| |
Luigi Panache
|
re: The Magic Number |
|
You are wrong or right depending on the framework of the machine. As programmers and engineers create better systems, the definition of a byte will change. I'm sure you've heard of 32-bit systems, and 64-bit frameworks. These systems use different ways to 'map' the bits in memory and ram, thus warping the bit system from 8. A word has 8 bits. A Dword has 16. A Qword has 32. I forget the term for 64-bit words. ------------------- Luigi's Back, Baby! | |
quote quick quote edit quick edit del report
| |
PureStealth
|
re: The Magic Number |
|
As i said, we are talking about smaller memory systems for things like pokemon. I am fully aware of modern 32 and 64 bit systems, being both a programmer and an engineer myself (at least in training ------------------- FSF Supporter These 4 Freedoms are REQUIRED for the users of all software:
| |
quote quick quote edit quick edit del report
| |
Luigi Panache
|
re: The Magic Number |
|
Actually, the original GameBoy was 8 bit with a black and white LCD for battery and manufacturing purposes. A better framework was not desired, therefore the memory was not as much 'constricted' as it was 'ignored.' ------------------- Luigi's Back, Baby! | |
quote quick quote edit quick edit del report
| |
PureStealth
|
re: The Magic Number |
|
Fair enough, though the reasoning behind how and why the GB memory was designed/manufactured does not change the fact that the environment each game has to work with is a tight memory one. ------------------- FSF Supporter These 4 Freedoms are REQUIRED for the users of all software:
| |
quote quick quote edit quick edit del report
| |
AKTKWNG
|
re: The Magic Number |
|
well, i apologise for my outdated IT knowledge. the rest was well-put, btw ------------------- ![]() MKDS FC: 193404-175273 | |
quote quick quote edit quick edit del report
| |
| [All dates in (PT) time] | Threads List « Next Newest Next Oldest » |
Powered by neoforums v0.9.4 (equilibrium)
Copyright Neo Era Media, Inc. 1999-2008