Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
clear ink from attr
#4
SETATTR only for paper needs BAND function to work. I myself use pokes, especialy for the whole screen (768 bytes), but SATATTR is fast too. You will need ATTR to read the Attribute at given coordinate, then binary AND it with a mask (BIN 11000111) to get a value without paper. Then you can use a new paper if it is different than zero by binary OR-ing (BOR) it with Paper shifted to left 3 times ( newpaper<<3 ).
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)