Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: FinaleTI on November 16, 2010, 07:20:45 pm

Title: Issues with compiling
Post by: FinaleTI on November 16, 2010, 07:20:45 pm
I hope this is the right section... If not, sorry.

I downloaded Hot_Dog's ASM Tutorials and compiled the example in Lesson 4 successfully.
However, when I tried to recompile penguin77's AboutFix program, spasm threw several errors.
I'm pretty sure the problem is I don't have the correct ti83plus.inc, but I'm not sure where to get the correct one, or if the program is even with the ti83plus.inc.
Here are the errors I get:
(http://img.removedfromgame.com/imgs/spasm errors.png)
The program I was trying to recompile is attached, and the setup is the Windows Files folder in Hot_Dog's tutorials.

If someone could point me in the right direction, I'd really appreciate it. ;)
Title: Re: Issues with compiling
Post by: calcdude84se on November 16, 2010, 07:43:07 pm
http://www.brandonw.net/calcstuff/ti83plus.txt (http://www.brandonw.net/calcstuff/ti83plus.txt) should contain all the equates you need :)
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 07:46:07 pm
http://www.brandonw.net/calcstuff/ti83plus.txt (http://www.brandonw.net/calcstuff/ti83plus.txt) should contain all the equates you need :)
Kay. Should I save it as ti83plus.inc?
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 07:46:44 pm
God, when I saw those errors I was like, "Omg, he's going to destroy his calc." I thought you were compiling something from my write flash template. But then I noticed that it's for aboutFix. So all good.

Those are all equates I got from wikiTi, as you can tell by their nature, Ti doesn't want us to know about them.

Edit:
   Yes, replace your current one.
Title: Re: Issues with compiling
Post by: SirCmpwn on November 16, 2010, 07:48:29 pm
God, when I saw those errors I was like, "Omg, he's going to destroy his calc." I thought you were compiling something from my write flash template. But then I noticed that it's for aboutFix. So all good.
I totally thought the same thing :P People shouldn't be touching flash unless they are completely sure of what they are doing.
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 07:53:56 pm
Okay. The example still compiles right, and aboutfix compiles, but it crashes whenever I run it. (I'm testing it in Wabbit, cuz I was sure something would go wrong).
It also spits out about every line in the new ti83plus.inc in red when I compile.
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 07:56:50 pm
If it's giving you errors, then it's not compiling right. What kind of errors are you getting?
Title: Re: Issues with compiling
Post by: calcdude84se on November 16, 2010, 07:57:24 pm
:( What is it saying about the lines?
Edit: ninja'd
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 08:00:24 pm
I can't entirely tell, as it spits out all the items in the ti83plus.inc I downloaded, which cuts off the beginning of the dialog in cmd.
But when I try to run it in Wabbit, it just crashes.
I used the exact same source as above.
The screwed up executable is attached.
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 08:03:25 pm
All of your bcalls are bcall(0000). What are the errors it is giving you?
Title: Re: Issues with compiling
Post by: calcdude84se on November 16, 2010, 08:07:29 pm
SPASM's done this for someone else too. Equates just became 0.
Edit: 1 15 1337 |-|4><><0|2!!1!11!11!!!
Title: Re: Issues with compiling
Post by: Deep Toaster on November 16, 2010, 08:09:30 pm
Weird, same thing happened to me, even with the Ultimate Include file. There are three b_calls that don't work (Find, Copy, and Div in his shot).
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 08:13:28 pm
All of your bcalls are bcall(0000). What are the errors it is giving you?
I can't tell, because after where the errors would be, spasm spits out my ti83plus.inc file in red. And cmd won't let me scroll up all the way to see the initial errors.
Video of problems here (http://www.mediafire.com/?1a2h60hh18tch04).
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 08:22:07 pm
Yep, I just did the same thing you did with the file. There's a line where wabbit emu doesn't know what do do, then it glitches and spits out the rest of the file. We need to figure out how to log the error then fix the problem in brandon's include file.
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 08:31:21 pm
In the meantime, is there anything you recommend I do?
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 08:31:53 pm
Line 1238 has a colon instead of a semicolon... problem solved.
Title: Re: Issues with compiling
Post by: FinaleTI on November 16, 2010, 08:48:16 pm
That somewhat worked.
Now I get this:
(http://img.removedfromgame.com/imgs/spasm errors2.png)
Title: Re: Issues with compiling
Post by: thepenguin77 on November 16, 2010, 09:04:30 pm
Comment out lines, 1662, 1836, and add

_DivHLbyDE   EQU 804Bh