Changeset 2679
- Timestamp:
- Nov 10, 2011 5:32:25 AM (19 months ago)
- Files:
-
- 5 edited
-
cpu/x86/pc/olpc/banner.fth (modified) (1 diff)
-
cpu/x86/pc/olpc/fw.bth (modified) (2 diffs)
-
cpu/x86/pc/olpc/via/banner.fth (modified) (2 diffs)
-
cpu/x86/pc/olpc/via/fw.bth (modified) (2 diffs)
-
dev/ds1385r.fth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpu/x86/pc/olpc/banner.fth
r2603 r2679 28 28 ?spaces cpu-model type ." , " .memory 29 29 ." , S/N " " SN" find-tag if type else ." Unknown" then cr 30 ?spaces .rom ." " .ec cr30 ?spaces .rom ." " .ec ." " .clock 31 31 ; 32 32 ' (xbanner-basics) to banner-basics -
cpu/x86/pc/olpc/fw.bth
r2666 r2679 301 301 true value user-mode? 302 302 303 : .clock ( -- ) 304 time&date .date space .time ." UTC" cr 305 ; 303 306 fload ${BP}/cpu/x86/pc/olpc/banner.fth 304 307 … … 453 456 ntp-timestamp abort" Can't contact NTP server" 454 457 ntp>time&date 455 ;456 : .clock ( -- )457 time&date .date space .time ." UTC" cr458 458 ; 459 459 : ntp-set-clock ( -- ) -
cpu/x86/pc/olpc/via/banner.fth
r2026 r2679 66 66 67 67 : .storage ( -- ) 68 get-internal-disk-info ( ) 68 internal-disk-present? 0= if ( ) 69 get-internal-disk-info ( ) 70 then 69 71 internal-disk-present? if ( ) 70 72 internal-disk-size ( d.size ) … … 121 123 ." , " .storage 122 124 ." , S/N " " SN" find-tag if type else ." Unknown" then cr 123 ?spaces .rom ." " .ec cr125 ?spaces .rom ." " .ec ." " .clock 124 126 check-internal-partitions 125 127 ; -
cpu/x86/pc/olpc/via/fw.bth
r2666 r2679 312 312 true value user-mode? 313 313 314 : .clock ( -- ) 315 time&date .date space .time ." UTC" cr 316 ; 314 317 fload ${BP}/cpu/x86/pc/olpc/via/banner.fth 315 318 … … 525 528 ntp-timestamp abort" Can't contact NTP server" 526 529 ntp>time&date 527 ;528 : .clock ( -- )529 time&date .date space .time ." UTC" cr530 530 ; 531 531 : ntp-set-clock ( -- ) -
dev/ds1385r.fth
r2448 r2679 158 158 check-battery \ Don't display the message here because "open" will do it 159 159 check-tick or 160 get-time .date space .time cr 161 get-time 2nip 2nip nip 162 d# 2011 < dup if ." Date in RTC is too early" cr then 160 163 close 161 164 ;
Note: See TracChangeset
for help on using the changeset viewer.
