Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75417

General Open Topic :: SDCC compilation problems for Ti 84+

$
0
0
Author: GinDiamond
Subject: SDCC compilation problems for Ti 84+
Posted: 05 Mar 2013 10:48:54 am (GMT -5)

I finally got SDCC working! Hooray!

However, the compiled 8xp files don't actually run. They transferr correctly, show up right on the calc, but the LCD turns off and the calc seems to have entered a soft-brick state. I can only take out the batteries.

Correct me if I'm wrong, but it seems to me that the crt0 file tokenized the asm code in the format that the calculator takes as a legit asm file. Thats why I didn't have any problems transferring/viewing in DCS/TI OS.

Its just that the code is really screwy.

Here's the link to my ASM code for the hello world program generated by sdcc: (the DCS method):

https://dl.dropbox.com/u/109591486/test.asm

Here's the C file:

https://dl.dropbox.com/u/109591486/test.c
_________________
Do not muddle in the affairs of dragons, for thou art crunchy and taste good with ketchup!


Viewing all articles
Browse latest Browse all 75417