Re: A86: beginner Quesion
[Prev][Next][Index][Thread]
Re: A86: beginner Quesion
_puts will update _curCol and sometimes _curRow. you'll have to save
them someplace else and copy them over before calling _puts:
.org _asm_exec_ram
ld hl,(_curRow)
ld (savepos),hl
;....
up:
call _clrLCD
ld hl,(savepos)
dec l ; l=row h=col
ld (_curRow),hl
ld hl,string
call _puts
jr loop
;....
savepos:
.dw 0
-josh
On Thu, 24 Feb 2000 18:01:49 -0600 cws <cws@madison.tds.net> writes:
>
> Okay, here is the whole code. I just thought the problem was in
> that segment
> I didn't even think that it could have been in the other part. Also
> if you have
> any other comments on my code that would be appropriate for my
> experience level
> feel free to add them.
>
> up:
> call _clrLCD
> ld a,(_curRow)
> dec a
> ld (_curRow),a
> ld hl,string
> call _puts
> jr loop
>
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
Follow-Ups: