Object slot: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Rewrote somewhat. Still needs a lot of work.)
(Rephrase that unimportant objects are replaced if the object limit is reached)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
An '''object slot''' is a location in memory that may or may not contain an [[object]]. There are 240 object slots that may either be occupied or unoccupied. The slots that are occupied by objects are stored first, and the slots that are unoccupied (empty) are stored second. If all the object slots are filled up and an object tries to load, the game will [[crash]], unless the object is an '''unimportant object''' such as a [[dust]] particle.
An '''object slot''' is a location in the console memory that stores an [[object]]. There are 240 object slots in total that may either be occupied or unoccupied by an object. The slots that are occupied are arranged before the slots that are unoccupied. If all the object slots are occupied when an object tries to load, the game will try to unload '''unimportant objects''' such as [[dust]] particles. If all objects are important, the game will [[crash]] regardless of whether the object that is trying to load is important.
==Effect of Cloning==
==Effect of Cloning==
''Main article: [[Cloning]]''
{{main|Cloning}}
 
Cloning occurs when [[Mario]] holds an empty object slot. This can happen if Mario continues to hold an object slot after the object has unloaded. When a new object loads into this slot, Mario will hold a reference to this new object.
Cloning occurs when [[Mario]] holds an empty object slot.

Latest revision as of 21:09, 3 May 2022

An object slot is a location in the console memory that stores an object. There are 240 object slots in total that may either be occupied or unoccupied by an object. The slots that are occupied are arranged before the slots that are unoccupied. If all the object slots are occupied when an object tries to load, the game will try to unload unimportant objects such as dust particles. If all objects are important, the game will crash regardless of whether the object that is trying to load is important.

Effect of Cloning

Main article: Cloning

Cloning occurs when Mario holds an empty object slot. This can happen if Mario continues to hold an object slot after the object has unloaded. When a new object loads into this slot, Mario will hold a reference to this new object.