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 - Xeda112358
Pages: 1 ... 169 170 [171] 172 173 ... 317
2551
« on: January 15, 2012, 06:58:51 pm »
Oh, wow, I see what you mean, now Yeah, there won't be a need for calculator stuff, but on the computer end, yes. That would be an excellent endeavor!
2552
« on: January 15, 2012, 05:03:17 pm »
I am curious, too, and my initial reaction is to say you probably won't have to do any special programming if you want to use it as a serial cable.
2553
« on: January 15, 2012, 09:23:02 am »
I finally PMed him He was waiting for me to PM him so that he knew where to make calls where the parser started and whatnot.
2554
« on: January 14, 2012, 11:06:01 pm »
Howdy! Parser asks the same question I was wondering and offers what I have to offer: Also do you program for the calcs and if so, what do you program?
2555
« on: January 14, 2012, 05:53:34 pm »
But unfortunatly it doesn't work far to good with zstart, as they are killed (the hooks) everytime you press on+clear...
Ah, I didn't expect that to work I can try to see if I can get token hooks to work with other apps, but that might cause some lag with tokens. @iVenom: Wait, do you have some kind of emulator?
2556
« on: January 14, 2012, 10:26:19 am »
Hmm, well it did work for me... And I will try to add code so you can see the version (it won't be difficult).
You will need to be editing a program that starts with .0: in order for the tokens to change. On the homescreen or in a regular program, the tokens are not changed.
2557
« on: January 14, 2012, 10:16:58 am »
OKay, to change the ] as well as the and token, you should use this code:
.dw 14 \ .db 2,"]]" .dw 80h \ .db 7," AND?! "
The last db statement is the "end" of the table, so your table needs to end with it.
2558
« on: January 13, 2012, 08:14:38 pm »
In that case, you can play with CPI >.>
2559
« on: January 13, 2012, 08:10:26 pm »
You can use cpir to determine the length of a string or name. For example, if you want the length of a program name in OP1 with a maximum limit of 9: ld bc,9 ld hl,OP1 xor a cpir jr nz,$+3 ;This means the string ended at maximal length ccf ld a,9 \ sbc a,c ld c,a
In fact, you can turn that into a general code where you can find the length of a zero-terminated string pointed to by HL with a maximum size: push bc xor a cpir pop hl jr nz,$+3 ;This means the string ended at maximal length ccf sbc hl,bc ;the c flag was reset by 'xor a', so hl is the length ret
There are other ways that I have used it, too, I just need a moment to think of some more uses I was actually hoping some other coders had neat hacks. EDIT: Another use for this is when you want to display a string, but only up to x digits.
2560
« on: January 13, 2012, 07:45:12 pm »
If you have any other questions, feel free to ask us! There are lots of experienced coders here that can help out
2561
« on: January 13, 2012, 06:56:57 pm »
Cool! Also, I have noticed that my version of Wabbit has stopped recognising equates and the bcall macro. Is there some way for me to fix that?
2562
« on: January 13, 2012, 05:45:32 pm »
The token hook or Grammer itself doesn't work with zStart?
2563
« on: January 13, 2012, 12:12:43 pm »
Thanks! I will try that and that is probably the reason. In any event, I got it to send to my other calculator (after I got the batteries out of my 89), so I can use it EDIT: Okay, so I have a few questions: 1) Is there any way to use calls in a macro? That could be very helpful! 2) Would you be able to add these as math operations: *, /, and, or, xor, not( ? I ask these two because I wanted to make this macro: Pxl-On(?,?{ LD BC,?0+?1*256 CALL GETPXLLOC OR (HL) LD (HL),a }
Also, I made the outline of a snake game using Asmdream!
2564
« on: January 13, 2012, 12:06:48 pm »
One of my USB ports has not worked for about a year (it still supplies power, so I can charge things), but TI-Connect has always been notorious for not being reliable.
2565
« on: January 13, 2012, 12:03:34 pm »
Oh, it recognises my calc, it just doesn't seem to want to send anything
Pages: 1 ... 169 170 [171] 172 173 ... 317
|