PDA

View Full Version : Help! Z80 asm on ti-83


Tarkus
11-23-2002, 01:56 AM
Well, I've been tinkering around with the assembly on the TI-83+ for the last day or so and I've run into a problem...


ld b,0ffh
loopy:
B_CALL PutS
B_CALL NewLine
djnz loopy


It's a fairly small program but this seems to cause a problem. When I put an already exisiting string out with a djnz loop, I get a bunch of garbled text and all of the ram is used up. however when I don't use the loop and simply cut and paste the command over and over again, it works just fine with no ill effects.

Correct me if I'm wrong, but djnz is decrement jump non zero, it's not a call so it shouldn't be storing any sort of reference to itself. Am I right?

if not, what sort of loop could I use?

Halide
11-27-2002, 11:29 AM
:wtf:

I can't remember anything from z80 asm now... :)

I wonder if the ti-calc or mirageos IRC channel still exists.. I bet you could find help there

Are you using MirageOS? or just a plain ASM program which you run through Asm(prgmName) if I remember correctly...

Tarkus
11-30-2002, 02:43 AM
Actually, I'm making apps for the TI-83 via the Zilog IDE... I'll try to find the IRC channel you're talking about, thanks :D

Schizo89
02-19-2004, 11:18 PM
I know how to use TIBASIC, but i don't know how to write asm... I downloaded EZASM, and I know a little C++, but I don't quite get EZASM yet...

Whiteknight
02-20-2004, 03:07 PM
man, i've written tons of software for the ti-83, and i didnt know you could write it out in assembly. that would have been useful to know.

Schizo89
02-24-2004, 08:10 PM
yea... my friend told me about it... that's how they make those mirageOS graphic games...