Search found 1598 matches

by CoBB
Wed 22 Dec, 2004 12:55 pm
Forum: Programming Help
Topic: [TI ASM] Asm Help
Replies: 19
Views: 9859

You're wrong, Vincent, and tr1p is right. Also, referring to your previous post, LD (ArbitraryAddress), HL is also possible. Check out my LD table if you don't believe me. ;) BTW you have some endianness problem there, the high byte comes after the low byte in the Z80.
by CoBB
Tue 21 Dec, 2004 6:12 pm
Forum: Programming Help
Topic: [TI ASM] negating HL
Replies: 3
Views: 4652

I'd advise against using NEG at any time. CPL \ INC A is equivalent (both in size and time), and it opens more possibilities for optimisation.

As for the HX/LY notation, I also mention it in my guide. ;) (At the beginning, where registers are explained.)
by CoBB
Tue 21 Dec, 2004 2:31 pm
Forum: Programming Help
Topic: [General Algorithme] Shuffling Cards
Replies: 9
Views: 6114

Instead of the real data you can also shuffle an array of indices (initialised by id=i for each i) and use them to address the items. In that case you retain the original order as well.
by CoBB
Tue 21 Dec, 2004 10:38 am
Forum: Programming Help
Topic: [General Algorithme] Shuffling Cards
Replies: 9
Views: 6114

This is fine. I'd probably not generate a new random number if the slot chosen is already taken, but I'd rather start going in either direction (with wraparound at the borders) until I find the first free slot. The direction doesn't have to be always the same, you can decide it e. g. according to th...
by CoBB
Mon 20 Dec, 2004 8:39 pm
Forum: General TI Discussion
Topic: POTY
Replies: 16
Views: 18188

Oddly enough, more people seem to be able to write Acelgoyobis's name as it is supposed to be than that of Death Rally. Maybe because it's such an unusual word?

As for votes, everyone should know mine. :)
by CoBB
Mon 20 Dec, 2004 3:57 pm
Forum: General TI Discussion
Topic: POTY
Replies: 16
Views: 18188

I should also come up with something new. ;)
by CoBB
Mon 20 Dec, 2004 3:55 pm
Forum: Off Topic
Topic: Six and Chaos
Replies: 22
Views: 22791

Haskell is the beautiful queen of programming languages without doubt. :)
by CoBB
Mon 20 Dec, 2004 8:56 am
Forum: Off Topic
Topic: Six and Chaos
Replies: 22
Views: 22791

Let's see:

recently: C, C++, Prolog/CLPFD, Haskell, Java, Z80 asm, Scheme
formerly: x86 asm, Pascal, 8085 asm, PHP, SML
known but never used: Mercury, WAM 'asm'

HTML is not a programming language... I have some experience with XML, XSLT, XHTML+CSS though, if that counts.