Level Script Commands
#1
This thread is dedicated to the discussion, notes, and tools about the Level script commands used in SM64.

You can view the wiki page for the list of commands: http://hack64.net/wiki/doku.php?id=super...l_commands



Related variables (Notes by shygoo)
8038BE20: Statuses?
8038BE24: Accumulator
8038BE28: Pointer to current command
8038B8A0: ?
8038B8AC: ?
8038B8B0: Primary stack pointer
8038B8B4: Secondary stack pointer?


Related functions (Notes by shygoo)
803805C8: Command interpreter
Arguments (A0 = pointer to command) ; uses the jump table at 8038B8B0
~~~~
80277F50: Uses the segments table to convert a given segment offset address to a RAM address
Arguments (A0 = segment offset address)
Returns (V0 = RAM address)
802783E8: () ?
80278498: () ?
802786F0: Load raw data to RAM address
Arguments (A0 = RAM address, A1 = ROM address start, A2 = ROM address end)




Level script commands that we currently don't know what they do:
  • 0x23 - Unused, unknown purpose.
  • 0x29 / 0x2A / 0x2C / 0x2D / 0x35 / 0x3A / 0x3C - Unknown purpose.


Reply


Messages In This Thread
Level Script Commands - by David - 03-09-2018, 06:35 PM
RE: Level Script Commands - by David - 03-09-2018, 09:25 PM



Users browsing this thread: 1 Guest(s)