Author Topic: [83+/84+ ASM] Various homescreen/parser hook questions  (Read 2405 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
[83+/84+ ASM] Various homescreen/parser hook questions
« on: October 31, 2013, 10:25:49 pm »
I wanted to see how simple it would be to make a nice tool to improve the homescreen math capabilities slightly. This thread will be designated for me asking how to do things!

First hurdle: displaying custom answers using the a=0 case of the homescreen hook.
  • How do I "properly" return an answer such that it acts just like any other homescreen result? Simply pointing OP1 to the new answer makes it display correctly originally, but you can't interact with it at all like scrolling it left/right if it's wider than the screen.
    • EDIT: Testing seems to reveal that storing the custom answer to Ans allows for scrolling to work. However, I'm not sure if this is the ideal solution, or if it is, if it's the full ideal solution. Another interesting thing of note is that the scrolling works fine with MathPrint enabled, even without saving the custom answer to Ans.
  • Is it possible to return something that's not a number (a string, basically) and have it display right-aligned?


Thanks in advance for any help!
« Last Edit: October 31, 2013, 10:58:14 pm by Runer112 »

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: [83+/84+ ASM] Various homescreen/parser hook questions
« Reply #1 on: November 01, 2013, 10:17:26 am »
If I remember correctly, returning anything will cause the homescreen to not accept your answer as a valid answer. My guess is that you're going to have to go into the unexplored territory of "how does the homescreen actually work now?".

This is obviously going to be OS disassembling, I can send you my current progress on the grand scheme of OS disassembly if you want.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112