Jump to content

Use OoT debug as a text terminal with ootter!


Twili
 Share

Recommended Posts

Going to make a better topic with ALL of my modding notes, etc. in the next few days. This was rushed, and not explained as best as it could be. Also, there was still the issue of not terminating the strings with 00, which is fixed now. Nothing to see here.

  • Like 1
Link to comment
Share on other sites

The reason for the garbage text, by the way, is because we aren't terminating any of the strings with 00. The space we're writing them to is filled with 00 bytes, but we're recycling 8 lines and rotating their pointers, so the first 8 strings will print fine no matter what, but we don't clear the lines, so what's left of the previous string on one will remain if the new string that it's being overwritten with is shorter.

Link to comment
Share on other sites

The reason for the garbage text, by the way, is because we aren't terminating any of the strings with 00. The space we're writing them to is filled with 00 bytes, but we're recycling 8 lines and rotating their pointers, so the first 8 strings will print fine no matter what, but we don't clear the lines, so what's left of the previous string on one will remain if the new string that it's being overwritten with is shorter.

Er... ok? I never said anything about it being garbage text.

/rude

Link to comment
Share on other sites

  • 4 weeks later...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.