Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calculators
»
Small C Compiler for TI-83+
« previous
next »
Print
Pages:
1
[
2
]
3
4
Go Down
Author
Topic: Small C Compiler for TI-83+ (Read 16444 times)
0 Members and 2 Guests are viewing this topic.
Ranman
LV10
31337 u53r (Next: 2000)
Posts: 1354
Rating: +83/-0
Small C Compiler for TI-83+
«
Reply #15 on:
November 29, 2005, 03:32:00 pm »
ASM - in general, is the fastest and smallest code size.
C - in general, is the next best thing to ASM in terms of speed and size. Depending on how the C compiler is implemented, it can produce large bloated code, or decent code, or somewhere in between. Small C compilers are designed with hardware limited devices in mind, like our calcs. Small C compilers "should" be highly optimized for the platforms they are developed for.
So, I can't tell you how good or bad this new compiler is. You will have to weigh the benefits. C, in general, is easier and faster to code and easier to debug than ASM. But, it is almost guaranteed to be somewhat slower and larger than ASM.
You will have to ask yourself what you are willing to work with. The good thing about C, is that is still a very "used" language today.
Logged
Ranman
Bringing Randy Glover's
Jumpman
to the TI-89 calculator. Download available at
Ticalc
.
Ranman
LV10
31337 u53r (Next: 2000)
Posts: 1354
Rating: +83/-0
Small C Compiler for TI-83+
«
Reply #16 on:
November 29, 2005, 03:46:00 pm »
Sorry for the double post :?
QuoteBegin-Ranman+29 November 2005, 21:05-->
QUOTE
(Ranman @ 29 November 2005, 21:05)
QuoteBegin-dragon__lance+29 November 2005, 16:33-->
QUOTE
(dragon__lance @ 29 November 2005, 16:33)
k, it saids that i need to:
- add C:\tisdcc to PATH
Logged
Ranman
Bringing Randy Glover's
Jumpman
to the TI-89 calculator. Download available at
Ticalc
.
dragon__lance
Guest
Small C Compiler for TI-83+
«
Reply #17 on:
November 30, 2005, 10:30:00 am »
thx ranman, i have the path set now, but when i run it, it still saids i need to set enviornmental variable for TISDCC dir
Logged
Ranman
LV10
31337 u53r (Next: 2000)
Posts: 1354
Rating: +83/-0
Small C Compiler for TI-83+
«
Reply #18 on:
November 30, 2005, 04:36:00 pm »
QuoteBegin-dragon__lance+30 November 2005, 16:3-->
QUOTE
(dragon__lance @ 30 November 2005, 16:30)
thx ranman, i have the path set now, but when i run it, it still saids i need to set enviornmental variable for TISDCC dir
Try this Dragon_Lance,
Start -> Control Panel -> System
- Click on the Advanced tab
- Click on Environment variables
- Click on New, the following window will come up
- Type in the Variable Name - TISDCC_DIR
- Type in the Variable Value - c:\tisdcc
- Click Ok
- Click on New
- Type in the Variable Name - TISDCC_CC
- Type in the Variable Value - cl (for Microsoft C Compiler)
- or Type in the Variable Value - gcc (for GNU C Compiler)
- Click Ok, Ok, Ok
Note: the variable value is the path, this can be any directory where tisdcc is installed. This readme file is a little confusing.
Hope this helps!
Logged
Ranman
Bringing Randy Glover's
Jumpman
to the TI-89 calculator. Download available at
Ticalc
.
dragon__lance
Guest
Small C Compiler for TI-83+
«
Reply #19 on:
December 01, 2005, 02:20:00 pm »
thx so much, now its working perfectly,yay
Logged
MathStuf
Guest
Small C Compiler for TI-83+
«
Reply #20 on:
December 04, 2005, 03:29:00 am »
C runs just as fast as ASM until the ASM is super-optimized, in which case, the difference is minute. The people on MaxCoderz obviously have not programmed in it and compared it to an ASM program that does the same thing.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Small C Compiler for TI-83+
«
Reply #21 on:
December 04, 2005, 02:51:00 pm »
yeah, I assume they want to compare with a C fps, and a ASM fps game with grayscale polygon 3D graphics :S
Logged
+ZERO+
Guest
Small C Compiler for TI-83+
«
Reply #22 on:
December 12, 2005, 05:34:00 am »
@Dragon Lance: I home you make some awesome games in C... Maybe you could make like tutorial programs for n00bs, like with EZAsm. >D
Logged
necro
LV9
Veteran (Next: 1337)
Posts: 1295
Rating: +17/-2
+3 vaporal mustache
Small C Compiler for TI-83+
«
Reply #23 on:
December 12, 2005, 07:04:00 am »
So, DL...how hard is C to code, and what functions oes it support?
Logged
I'm like a woot burger with awesome fries
VB.Net, C#, C++, Java, Game Maker
dragon__lance
Guest
Small C Compiler for TI-83+
«
Reply #24 on:
December 12, 2005, 10:21:00 am »
ummm, haven't really started yet, gonna start after zelda. I read some of the tutorial that Ranman recommended, i get C for the comp. But wat are the specifics once u translate to CAlc? btw, i looked at the test demo included with demo in C, it actually looks understandable %)
Logged
+ZERO+
Guest
Small C Compiler for TI-83+
«
Reply #25 on:
December 13, 2005, 01:45:00 am »
I dont mean to be spammy
SPAM SPAM SPAM!!!
But I think another program is worth considering, EZAsm. I have programmed a pong game in it, in which will be the basis of my next project
GO
TI84Silver!!
SPAM!!
Logged
Ranman
LV10
31337 u53r (Next: 2000)
Posts: 1354
Rating: +83/-0
Small C Compiler for TI-83+
«
Reply #26 on:
December 13, 2005, 02:50:00 am »
QuoteBegin-dragon__lance+12 December 2005, 16:21-->
QUOTE
(dragon__lance @ 12 December 2005, 16:21)
ummm, haven't really started yet, gonna start after zelda. I read some of the tutorial that Ranman recommended, i get C for the comp. But wat are the specifics once u translate to CAlc? btw, i looked at the test demo included with demo in C, it actually looks understandable %)
I'm glad to see you are looking into this.
Logged
Ranman
Bringing Randy Glover's
Jumpman
to the TI-89 calculator. Download available at
Ticalc
.
saubue
Guest
Small C Compiler for TI-83+
«
Reply #27 on:
December 13, 2005, 06:30:00 am »
If you can program C for a computer, it should be easy to do it for a calc (as long as the differences are explained in the documentation of the compiler, like in TIGCC).
Anyway, you will have to program more carfully. A computer won't claim about a lot of unused variables, arrays that are way bigger than they are needed... the calculator will because of its strongly limited RAM.
Logged
dragon__lance
Guest
Small C Compiler for TI-83+
«
Reply #28 on:
December 13, 2005, 10:25:00 am »
no expanation is given, all it saids is it uses SDCC's z80 compiler
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Small C Compiler for TI-83+
«
Reply #29 on:
December 13, 2005, 10:27:00 am »
maybe there is doc about this compiler somewhere
Logged
Print
Pages:
1
[
2
]
3
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calculators
»
Small C Compiler for TI-83+