Re: A86: simple code I can't figure out


[Prev][Next][Index][Thread]

Re: A86: simple code I can't figure out




In a message dated 7/7/99 6:22:21 AM !!!First Boot!!!, 
LaineW@technologist.com writes:

> >   call _clrLCD
>  > >   call _homeup
>  You need to tell tell _puts where to put it by loading the adderess on the
>  screen (similar to the BASIC Disp) into the memory locations _curRow and
>  _curCol they are ajecent to each other in memory so you can do a 16-bit 
load
>  to _curCol and it write to _curCol and _curRow

well actually  call _homeup  move the cursor to 0,0
and if you never initalize it and the second line of code is call _puts, 
assuming the first is ld hl,sometext then the string will come out at the 
current locations

>  ex:
>   ld hl, _curRow
>   ld (hl), $0101  ;prints the text at 01 01
>   ld hl, String
>   call _puts
>  > >   ld hl,String