Changeset 3194
- Timestamp:
- Aug 17, 2012 7:27:24 PM (9 months ago)
- Location:
- cpu
- Files:
-
- 5 edited
-
arm/mmp2/dramrecal.fth (modified) (2 diffs)
-
arm/olpc/build-fw.fth (modified) (3 diffs)
-
x86/pc/olpc/fw.bth (modified) (1 diff)
-
x86/pc/olpc/gui.fth (modified) (2 diffs)
-
x86/pc/olpc/via/fw.bth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/mmp2/dramrecal.fth
r3049 r3194 768 768 dcon-freeze 769 769 else 770 " dcon-suspend" $call- screen770 " dcon-suspend" $call-dcon 771 771 then 772 772 " sleep" $call-screen … … 794 794 dcon-unfreeze 795 795 else 796 " dcon-resume" $call- screen796 " dcon-resume" $call-dcon 797 797 then 798 798 ; -
cpu/arm/olpc/build-fw.fth
r3181 r3194 42 42 : install-abort ( -- ) ['] poll-tty d# 100 alarm ; 43 43 44 0 value dcon-ih 45 : $call-dcon ( ... -- ... ) dcon-ih $call-method ; 46 44 47 0 value keyboard-ih 45 48 … … 172 175 173 176 : olpc-reset-all ( -- ) 174 " screen" " dcon-off" ['] execute-device-method catch if 175 2drop 2drop 176 then 177 " dcon-off" $call-dcon 177 178 ec-power-cycle 178 179 begin wfi again … … 511 512 512 513 : console-start ( -- ) 514 " /dcon" open-dev to dcon-ih 513 515 install-mux-io 514 516 cursor-off -
cpu/x86/pc/olpc/fw.bth
r3021 r3194 305 305 time&date .date space .time ." UTC" cr 306 306 ; 307 308 \ The DCON methods are in the screen node on this system 309 : $call-dcon ( ... -- ... ) screen-ih $call-method ; 307 310 308 311 fload ${BP}/cpu/x86/pc/olpc/banner.fth -
cpu/x86/pc/olpc/gui.fth
r2752 r3194 356 356 ; 357 357 358 : frozen? ( -- flag ) " vga?" $call- screen 0= ;359 : dcon-freeze ( -- ) 0 " set-source" $call- screen d# 30 ms ;360 : dcon-unfreeze ( -- ) 1 " set-source" $call- screen d# 30 ms ;358 : frozen? ( -- flag ) " vga?" $call-dcon 0= ; 359 : dcon-freeze ( -- ) 0 " set-source" $call-dcon d# 30 ms ; 360 : dcon-unfreeze ( -- ) 1 " set-source" $call-dcon d# 30 ms ; 361 361 362 362 \ === Stuff moved from security.fth === … … 381 381 background-rgb rgb>565 progress-xy ?adjust d# 500 d# 100 " fill-rectangle" $call-screen 382 382 d# 588 d# 638 set-icon-xy " bigdot" show-icon 383 " vga?" $call-screen 0=if dcon-unfreeze dcon-freeze then383 frozen? if dcon-unfreeze dcon-freeze then 384 384 ; 385 385 -
cpu/x86/pc/olpc/via/fw.bth
r3052 r3194 359 359 360 360 fload ${BP}/cpu/x86/pc/olpc/setwp.fth 361 362 \ The DCON methods are in the screen node on this system 363 : $call-dcon ( ... -- ... ) screen-ih $call-method ; 361 364 362 365 fload ${BP}/cpu/x86/pc/olpc/via/help.fth \ Help for common user tasks
Note: See TracChangeset
for help on using the changeset viewer.
