Show Posts

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 - jacobly

Pages: 1 ... 11 12 [13] 14
181
Cool, it works. I created an RSS parser that uses SAX, then I uncommented your code and made a few minor changes, and it works!
Anyway, I'll edit when I get it uploaded.

Edit: http://jacob.heliohost.org/Omnimaga.zip

182
SAX as in Simple API for XML. :)

183
Actually, list.item(i) is not returning null, but list.item(i).getNodeValue() is. According to the table at the top of this page, the nodeValue of an instance of Element is always null. Anyway, I will try to see if I can get SAX to work.

184
TI Z80 / Re: Online TI Token to Unicode Converter
« on: November 06, 2011, 01:12:34 am »
Another one of those times when firefox ignores my mistakes, causing me to miss them. :P
Anyway, it's fixed.

185
Axe / Re: Array help
« on: November 03, 2011, 02:15:49 pm »
Well in that case...
Code: [Select]
:For(H,1,L)
:Pxl-On({H∗2+L₁−2}ʳ,/256)
:End
or even
Code: [Select]
:For(H,1,L)
:Pxl-On({H∗2+L₁−2}ʳ,Asm(6C))
:End

186
Axe / Re: Array help
« on: November 03, 2011, 01:38:54 am »
Also remember that For loops loop up to and including the value of the last parameter, meaning that if L is 0, then For(H,0,L) loops from 0 to 0, or one time. This is incorrect because if the length is zero, it should not loop at all. For(H,0,L−1) doesn't work either, because if L is 0, then it loops from 0 to -1 (or 65535), which is not good. In the end you should do something like the following:
Code: [Select]
:For(H,1,L)
:Pxl-On({H−1∗2+L₁},{H−1∗2+L₁+1})
:End
or slightly more optimized:
Code: [Select]
:For(H,1,L)
:Pxl-On({H∗2+L₁−2},{H∗2+L₁+1−2})
:End

187
TI Z80 / Re: Fullrene
« on: October 31, 2011, 11:03:32 pm »
By the way, if you need absolute addressing in the $0000 to $3FFF range, I can add a new prefix to ignore the automatic replacements if that's convenient.  I didn't think anyone would ever need to jump or call addresses there, but I guess for hacks like this that could be important.
That would be much better than what I currently do!
Code: [Select]
BJump:
 ld   hl,50h
 push hl
 ret

188
TI Z80 / Re: Online TI Token to Unicode Converter
« on: October 30, 2011, 10:52:21 pm »
Yeah, the server can be slow at times, but it is also free. :P

189
TI Z80 / Online TI Token to Unicode Converter
« on: October 30, 2011, 10:46:53 pm »
I created a webpage here that converts 8xp files to unicode. The output was designed to be able to be copy-and-pasted directly into code tags in a post. It currently supports both TIBasic and Axe tokens.

190
Axe / Re: Some questions: Toggle button, Buffers, Appvars
« on: October 30, 2011, 06:19:24 pm »
Code: [Select]
For(A,L₃,L₃+767)
 {A} or {A−L₃+L₆}➔{A}
End

This is much faster!
Edit: even faster!

191
Axe / Re: Some questions: Toggle button, Buffers, Appvars
« on: October 30, 2011, 03:41:03 pm »
The easiest way would be to use another variable.
Code: [Select]
0➔D+1➔E .this stores 0 to D and 1 to E
Repeat getKey(15)
 If getKey(9) and E
  D xor 1➔D .this toggles D
  0➔E
 Else
  1➔E
 End
...
End

192
Axe / Re: Axe Q&A
« on: October 30, 2011, 03:18:57 pm »
I decided to use seq( since it has two letters in common with sqrt(. :P

Axiom SQRT:
  seq(a): returns the square root of the 8.8 number a in 8.8 format.
  seq(a)ʳ: returns the square root of the unsigned integer a in 8.8 format.

193
Axe / Re: Axe Q&A
« on: October 30, 2011, 02:49:28 pm »
If you don't care too much about accuracy, you can do √(A)∗16.
Alternatively, I wrote an 8.8 square root routine in asm... If you can give me a token to use (not √( since Axe has dibs) I could make an Axiom.

194
Axe / Re: Trying to get this to work
« on: October 28, 2011, 08:44:11 pm »
It looks like you were drawing the background over the arrows in the first post, which is why they are not showing up.

195
Bug fix! (See first post)
Also, I started creating a tutorial, so I included that too.

Pages: 1 ... 11 12 [13] 14