Re: A83: invert part of screen
[Prev][Next][Index][Thread]
Re: A83: invert part of screen
do you mean like text? If so it's very easy.
the command is:
set textInverse, (iy+textflags)
now all the text displayed will be white with a black
box around it. To stop all the text after that from
being inverted the command would be:
res textInverse, (iy+textflags)
Here is an example:
call _clrLCDFull
set textInverse, (iy+textflags) ; Sets inverse.
ld hl,0000h
ld (CURCOL),hl
ld hl,str1
call _vputs
res textInverse, (iy+textflags) ; Resets inverse.
ld hl,0100
ld (CURCOL),hl
ld hl,str2
call _puts
ret
str1:
.db "Inverse Text.",0
str2:
.db "Normal Text. ",0
.end
I hope I helped you.
--- "Fam. Engelen" <engelen@hotpop.com> wrote:
> What would be the fastest/best way to invert a
> (variable) part of the screen (a box with something
> in it, for making a menu)?
>
> Arnout
> arnout.engelen@beer.com
>
=====
- And the gods opened up the heavens, and only one stood forth. That one was Chris...
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Follow-Ups: