Author Topic: Asm for the TI84+  (Read 16053 times)

0 Members and 1 Guest are viewing this topic.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Asm for the TI84+
« Reply #15 on: February 01, 2012, 05:29:02 pm »
Well, to use an emulator you need a ROM. I'm not sure if WabbitEmu includes a ROM dumper or not. The ROM dumper is what you use to get a copy of your 84+'s ROM onto your computer. I'm pretty sure VTI came with one, though i'm not sure if it'll work for the 84. If not search ticalc, (i found this one: http://www.ticalc.org/archives/files/fileinfo/373/37341.html), and that should help you get started.

Offline DarkLechuga

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Asm for the TI84+
« Reply #16 on: February 01, 2012, 08:04:28 pm »
Got WabbitEmu up and running (it did indeed include a ROM dumper). Ran the text display program whose source code i posted earlier, results are in the attached screenshot.

Also, i modified the program to set the cursor in the bottom left of the screen right before the program finished, but when the program was done the cursor still reset itself to the position seen in the screenshot.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Asm for the TI84+
« Reply #17 on: February 01, 2012, 08:07:50 pm »
Hmm, I think I know what the problem is. On your calc, on the home screen, press MODE then scroll down to the option that says MathPrint or Classic. Change it to classic.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline DarkLechuga

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Asm for the TI84+
« Reply #18 on: February 02, 2012, 12:49:28 pm »
Seems to have fixed the problem. Many thanks! What exactly does changing that setting do?

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Asm for the TI84+
« Reply #19 on: February 02, 2012, 03:48:24 pm »
Well, in the newer operating systems, (the ones with the MP after them), when you type text, by default it keeps the text on the same line.

Meaning if you type something thats too big to fit on the screen, it won't move down a line, it will stay on the same line but it will have an arrow after it and you can see the rest of it.

When you change it to classic, and type something, the word "wraps" or moves to the next line by default.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Asm for the TI84+
« Reply #20 on: February 02, 2012, 11:15:39 pm »
DarkLechuga, the reason the code they gave you uses HL to store 0 to (CurRow)—and not (CurCol)—is exactly as chickendude said: HL stores two bytes, so by storing two bytes of zero to (CurRow), you're really storing one null byte to (CurRow) and another null byte to the byte right after it, which happens to be (CurCol), effectively setting the x- and y-coordinates of the cursor to zero at once.

So you shouldn't take another few instructions to store another two bytes of zero starting at (CurCol), because
  • you already zeroed it as I just said, and
  • you're also storing a byte to (CurOffset), whose function I don't know and which you probably don't want to change, as chickendude said.




Offline DarkLechuga

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Asm for the TI84+
« Reply #21 on: February 10, 2012, 07:37:03 am »
Where can i find a complete list of all b_calls, with descriptions of each?

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Asm for the TI84+
« Reply #22 on: February 10, 2012, 08:23:10 am »
You can download the TI-83+ SDK from education.ti to get a good number of bcalls and what they do. As well, you can use this site to get the details of a large number of otherwise undocumented bcalls:
http://wikiti.brandonw.net/index.php?title=Category:83Plus:BCALLs:By_Name

Offline DarkLechuga

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 10
  • Rating: +0/-0
    • View Profile
Re: Asm for the TI84+
« Reply #23 on: February 10, 2012, 04:45:33 pm »
Many thanks Xeda.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Asm for the TI84+
« Reply #24 on: February 10, 2012, 07:43:40 pm »
No problem :) I had similar troubles, too, and I could not find the documentation :/