Search found 225 matches

by Halifax
Tue 04 Sep, 2007 4:14 pm
Forum: Programming Help
Topic: [C]Does anyone know a good timing library?<solved>
Replies: 18
Views: 19788

[C]Does anyone know a good timing library?<solved>

I need a fairly good timing library that can manipulate milliseconds and is cross-platform because timing.h just isn't doing the trick. So can anyone help me with a suggestion?
by Halifax
Fri 31 Aug, 2007 5:30 am
Forum: Off Topic
Topic: What programming language do you dream most in?
Replies: 19
Views: 19632

I had a dream about coding, but not in code. I couldn't find out for the life of me(in the dream) how I could get 4 into the variable x. :) I never finished the dream either :(
by Halifax
Tue 28 Aug, 2007 12:20 pm
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

Oh yeah I agree with you driesguldolf. That is true. Thanks for the clarity!
by Halifax
Mon 27 Aug, 2007 3:35 pm
Forum: General TI Discussion
Topic: Fix to (hopefully) make this forum active again
Replies: 33
Views: 51585

King Harold: Haha I totally agree with you. During school I always sleep and do my homework in study halls, so that I can just come home and stay on the computer until I have to go back to school. Or I go out with friends on the weekends. Either way that is the best way to live!
by Halifax
Mon 27 Aug, 2007 3:31 pm
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

I agree with King Harold.

Even Insomniac Games optimizes every thing down to the last cycle and byte. Just check all the source code for Resistance that they post up on their website!
by Halifax
Mon 27 Aug, 2007 10:23 am
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

I know when to optimize, and that is all the time. It does matter how many times it is called or not. Always optimize. Optimizing for size or speed does not matter.
by Halifax
Mon 27 Aug, 2007 10:20 am
Forum: Off Topic
Topic: Should GCC optimize this?
Replies: 12
Views: 11053

Yeah that was a nice trick King_Harold. I am surprised.

driesguldol: No problem.
by Halifax
Sat 25 Aug, 2007 5:46 pm
Forum: Off Topic
Topic: Should GCC optimize this?
Replies: 12
Views: 11053

King_Harold: I think your eyes are going bad because there are addl's in each one ;) Look closer around the jae L4 And yes it appears that your routine above works. Although I would like to see your translation for the original routine. Also the problem with your code above is that it only goes up t...
by Halifax
Sat 25 Aug, 2007 12:44 pm
Forum: Off Topic
Topic: Should GCC optimize this?
Replies: 12
Views: 11053

Nah that code above is i486 assembly or more well known as x86 assembly. Yes I do know 68K assembly, and I learned it from multiple sources that can be found on ticalc.org and technoplaza.net, but most experimentation with the code that GCC generates. Here is the 68K code generated by TIGCC 0.96 bet...
by Halifax
Sat 25 Aug, 2007 11:56 am
Forum: Off Topic
Topic: Should GCC optimize this?
Replies: 12
Views: 11053

Should GCC optimize this?

GCC 3.4.2 was used in this example. int conv_binary(const char *str, const char *end) { int result = 0; while (str < end { result *= 2; if (*str == '1') result++; str++; } return result; } to this int conv_binary(const char *str, const char *end) { int result; while (str < end) { if (*str++ == '1') ...
by Halifax
Sat 25 Aug, 2007 11:37 am
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

Hmm I don't know I thought he was talking to me.

Generally I only use local labels for if-then type stuff and nothing else that deserves a real label.
by Halifax
Sat 25 Aug, 2007 5:14 am
Forum: Desolate
Topic: help?
Replies: 15
Views: 27854

I really don't think it was that much of an ambitious announcement by tr1p1ea as we all know what he can do. And probably don't know everything that he can do. Either way cut-scene animations are not just eye-candy. That add to the storyline and push the feeling and mood much more than simple text. ...
by Halifax
Sat 25 Aug, 2007 12:41 am
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

I wasn't trying to. I was just keep it concurrent with his code considering I really didn't know what he was doing.
by Halifax
Thu 23 Aug, 2007 9:05 pm
Forum: Programming Help
Topic: [TI-ASM] key scanner with low values
Replies: 19
Views: 13635

Just in case. SPASM compatible version ld bc,$0701 ld de,$FEFF ld hl,$0800 _ out (c),e push hl ;delay out (c),d sll d pop hl ;delay in a,(1) xor $FF jr nz,+_ ld a,l add a,h ld l,a djnz -_ ld l,0 jr ++_ _ inc l rra jr nc,-_ _ ret
by Halifax
Tue 21 Aug, 2007 8:02 pm
Forum: Off Topic
Topic: topic content deleted
Replies: 14
Views: 13291

The way you said it presented an oxymoron. Also that post was anything, but uncalled for, unnecessary, and counterproductive because I was simply clearing up what I thought was a wrong, and unjust attack for me. This was later cleared up by your post above, and now I consider the discussion over. Th...