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

Doors CS :: RE: Doors CS 7 and SDCC

$
0
0
Author: elfprince13
Posted: 11 Dec 2012 07:53:41 pm (GMT -5)

Quote:
I wonder if such a program could be compiled as a multi-page App - in that case, I think that C might even overtake ASM as the weapon of choice.

Yes, it can, if you know what you're doing.
Quote:
I've tried looking at the tutorials and resources for these things, and I'm just really confused at the process involved, with what I need to do and how I need to run and build things - especially since I'm a Windows user, and this seems suited to Linux use. Is there a coherent, updated set of resources somewhere that I can get to for building TIOS programs in C?

Works the same anywhere.

* Write code
* Compile code to (typically relocatable) object files
* Link object files into machine code
* Put machine code into a TI file format.

For a simple compiling test on Windows (assuming you have all of the necessary tools):

Code:
sdcc -mz80 --no-std-crt0 --code-loc 0x9DAE --data-loc 0x9872 -L ../lib -I ../include -DTI83P -DION -Wl../startup/ti83p_dcs.rel ti83p.lib test_dcs.c
makebin -p -s 65536 test_dcs.ihx test_dcs.bin
cutbin test_dcs.bin 0x9d93 test_dcs_small.bin
wabbit test_dcs_small.bin TESTDCS.8xp

_________________
StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative




Viewing all articles
Browse latest Browse all 75829

Latest Images

Trending Articles



Latest Images