Skip to content

questions about loading mods #1267

Answered by phoddie
tve asked this question in Q&A
Dec 13, 2023 · 1 comments · 26 replies
Discussion options

You must be logged in to vote

That's a lot of questions. I won't try answering all of them completely at once.

I believe that before installing a new mod into flash a reset is required to ensure that no code/data from the old mod is in-use in any VM? And it appears that if one zeroes the first 16 bytes of the flash area this prevents the mod from being recognized & loaded after the reset?

Correct.

After the mod is installed in flash it appears that only a reset can load it, there is no call to tell the VM to load it now? I.e. in total two resets are required, one before installing the mod and one after?

The default mod loader needs to run early because of symbol mapping.

I gather that if the mod is in-use there i…

Replies: 1 comment 26 replies

Comment options

You must be logged in to vote
26 replies
@phoddie
Comment options

@tve
Comment options

@phoddie
Comment options

@tve
Comment options

@phoddie
Comment options

Answer selected by tve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants