This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - Runer112
Pages: 1 ... 141 142 [143] 144 145 ... 153
2131
« on: July 01, 2010, 11:24:18 pm »
That's sort of how I'm doing it too:
If {Q}sub(2T) Disp {Q}*256+{Q+1}▸DMS Q+2→Q Else Disp {Q}▸DMS Q+1→Q End Subroutine 2T checks if the first byte is a two-byte token initializer. But is there an easier way to go about reading and displaying tokens sequentially like this?
EDIT: And on the topic of tokens and reading from programs, can anyone answer this: How can one tell where the end of a program is?
2132
« on: July 01, 2010, 11:15:38 pm »
I'm having a bit of trouble displaying two-byte tokens. Does Axe use little-endian, but the operating system does not? Because I'm trying to read from program data, and to correctly read a two-byte token with the first byte (according to it's location in memory) at A, I cannot use {A}r but have to use {A}*256+{A+1}.
2133
« on: July 01, 2010, 04:47:38 pm »
nemo, I believe both in Axe are bitwise. The plot-style ones are just 16-bit whereas the normal ones are 8-bit.
2134
« on: July 01, 2010, 04:40:30 pm »
Oh, xor is bitwise? Not like a TI-OS xor?
2135
« on: July 01, 2010, 04:35:51 pm »
I'm confused, why does 1 xor 2 = 3
2136
« on: July 01, 2010, 04:17:19 pm »
Because then you wouldn't be able to use it with logical operators. Good luck trying to do A=5 xor (B=3)
This wouldn't work? If A-5 xor (B-3)
2137
« on: July 01, 2010, 04:11:49 pm »
Can someone reset the votes and remove geometry drawing from the poll? It looks like Quigibo has selected geometry drawing as the next feature he will work on already.
2138
« on: July 01, 2010, 04:08:33 pm »
And why is it that equalities like that aren't optimized into statements like the first example? It's always smaller and, unless I'm missing something, it works the same way.
2139
« on: July 01, 2010, 03:05:04 pm »
i believe it said that between 68 and 70
2140
« on: July 01, 2010, 03:04:22 pm »
Did it say "LOL" at one point?
Maybe
2141
« on: July 01, 2010, 02:53:56 pm »
What if, instead of two different programs, there was a feature to select the number of ants?
Dang, you beat me to announcing the idea. But I beat you to implementing it. EDIT: I forgot to mention, don't use more than 237 ants. Bad things might* happen. EDIT 2: 1 free Internet to the first one to spot the easter egg. (Don't look at the source to find it, cheaters!) Hint: Watch the GIF *will
2142
« on: July 01, 2010, 01:27:57 pm »
I'm not sure if this is a bug or if this like this for a reason, but the following program:
.TEST !If -1→A+1 Disp "HI" Pause 5000 End Compiles to 58 bytes, while the following program:
.TEST If -1→A=-1 Disp "HI" Pause 5000 End Compiles to 70 bytes? The only logical conclusion from this is that the =-1 comparison consumes 13 bytes, although it's documented as only consuming 9.
And why don't comparisons like this work in the first manner anyways if it's smaller?
EDIT: Hold on, just realized I was using Axe 0.3.0, let me check that this happens in 0.3.1.
EDIT 2: Yes, this occurs with Axe 0.3.1 as well.
2143
« on: June 29, 2010, 11:15:30 pm »
EDIT: @DJ Yes, faster horizontal and vertical lines would be part of geometry drawing.
Shit, didn't see that till after I voted for port I/O... If it happens to be a tie between geometry drawing and something else, let geometry drawing win? LolI made the poll so you can change your vote now
Oh yay
2144
« on: June 28, 2010, 01:02:33 am »
The Bitmap() command uses a TI-OS bcall, it's not an actual Axe routine.
2145
« on: June 28, 2010, 01:01:05 am »
I still haven't figured out what the plot style tokens do. What does the bitwise AND, OR, and XOR mean? Are they different from the logic tokens?
plot style tokens? What are those?
EXP1·EXP2 EXP1+EXP2 EXP1☐EXP2 Returns respectively the bitwise "and", "or", and "xor" of the two expressions. These are the plot style tokens.
Pages: 1 ... 141 142 [143] 144 145 ... 153
|