Changeset 3578


Ignore:
Timestamp:
Mar 1, 2013, 8:54:33 PM (2 years ago)
Author:
wmb
Message:

OLPC ARM - trac #12592 - MMC2/3 display driver - when sleeping, save the hardware cursor mode info in addition to the bitmap, thus preventing the cursor from disappearing after invoking the display selftest from the GUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/lcd.fth

    r3435 r3578  
    266266d# 256 constant /cursor
    267267/cursor buffer: cursor
     2680 0 2value saved-cursor-wh
     2690 0 2value saved-cursor-fgbg
     270
    268271: sleep  ( -- )
    269272   cursor /cursor 0  cursor-sram-read
     273   cursor-wh@ to saved-cursor-wh
     274   cursor-fgbg@ to saved-cursor-fgbg
    270275   0 h# 190 lcd!
    271276   lcd-clocks-off
     
    273278: wake  ( -- )
    274279   init-lcd
     280   enable-cursor-writes
     281   cursor-2bpp-mode
     282   saved-cursor-fgbg cursor-fgbg!
     283   saved-cursor-wh cursor-wh!
    275284   cursor /cursor 0  cursor-sram-write
    276285;
Note: See TracChangeset for help on using the changeset viewer.