[A83] Re: Displaying Characters
[Prev][Next][Index][Thread]
[A83] Re: Displaying Characters
I am trying to display numbers on the graph screen that are stored in in a
string 'A' and then decrement them. SOCCERK121 helped me with displaying
them on the graph screen by:
ld a,(a)
ld h,0
ld l,a
bcall(_Setxxxxop2)
bcall(_op2toop1)
ld a,5 ;<--- number of digits, 5 is a safe number
bcall(_dispop1a)
But whenever I dec the A like this:
ld hl,A
dec (hl)
A: .db 0h
It messes up and from then on displays the number 255 whenever i reuse
SOCCERK121's routine.
I don't know wether its because A is a hex number or if I am doing something wrong.
Follow-Ups:
References: