A85: Count
[Prev][Next][Index][Thread]
A85: Count
Great. Now, Count doesn't lock up the calculator (whoo hoo!) but it
doesn't count past one, either. Here's my new code:
#include "ti-85.h"
.org 0
.db "Count II: Test Prog",0
ROM_CALL(CLEARLCD)
ld hl,0
StartLoop:
ld d,h
ld e,l
ld hl,0
ld (CURSOR_ROW),hl
ld h,d
ld l,e
inc hl
ld d,h
ld e,l
ROM_CALL(D_HL_DECI)
ld h,d
ld l,e
ld a,h
or l
jr nz,StartLoop
WaitKey:
call GET_KEY
cp K_EXIT
jr nz,WaitKey
ret
.end
Aiiieee!
Scottish Bob
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: