ols 7 SevenSegment

This commit is contained in:
kejaro committed 2026-10-05 00:34:52 +01:00
1 parent badede4b8f
commit f7bcbc53ef
131 files changed
+5624 -6412

No files matched your search

+63 -62
View File
@@ -63,30 +63,30 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc
symbol [ start ? 24 8 13 ];
putv self :start %tmp.3;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 25 8 ]
%tmp.4 = lgetv %dn;
symbol [ dn %tmp.4 25 19 21 ];
%tmp.5 = 60;
%tmp.6 = mul %tmp.4 %tmp.5;
symbol [ duration ? 25 8 16 ];
putv self :duration %tmp.6;
%tmp.4 = lgetv %pl;
symbol [ pl %tmp.4 25 19 21 ];
symbol [ player ? 25 8 14 ];
putv self :player %tmp.4;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 26 8 ]
symbol [ duration %tmp.8 26 20 28 ];
%tmp.8 = getv ? :duration;
symbol [ remaining ? 26 8 17 ];
putv self :remaining %tmp.8;
%tmp.5 = lgetv %dn;
symbol [ dn %tmp.5 26 19 21 ];
%tmp.6 = 60;
%tmp.7 = mul %tmp.5 %tmp.6;
symbol [ duration ? 26 8 16 ];
putv self :duration %tmp.7;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 27 8 ]
symbol [ start %tmp.10 27 19 24 ];
%tmp.10 = getv ? :start;
symbol [ duration %tmp.12 27 27 35 ];
%tmp.12 = getv ? :duration;
%tmp.13 = add %tmp.10 %tmp.12;
symbol [ end ? 27 8 11 ];
putv self :end %tmp.13;
symbol [ duration %tmp.9 27 20 28 ];
%tmp.9 = getv ? :duration;
symbol [ remaining ? 27 8 17 ];
putv self :remaining %tmp.9;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 28 8 ]
%tmp.14 = lgetv %pl;
symbol [ pl %tmp.14 28 19 21 ];
symbol [ player ? 28 8 14 ];
putv self :player %tmp.14;
symbol [ start %tmp.11 28 19 24 ];
%tmp.11 = getv ? :start;
symbol [ duration %tmp.13 28 27 35 ];
%tmp.13 = getv ? :duration;
%tmp.14 = add %tmp.11 %tmp.13;
symbol [ end ? 28 8 11 ];
putv self :end %tmp.14;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 29 8 ]
%tmp.15 = true;
symbol [ isActive ? 29 8 16 ];
@@ -108,44 +108,45 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc
public
function dummy(q as Boolean) as Void {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 42; @symbol_functiondef = [update,42,20,26]; @symbol_param<0> = [el,42,27,29]; @symbol_param<0>_type<0> = [Number,42,33,39]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 42; @symbol_functiondef = [update,42,20,26]; ]
public
function update(el as Number) as Void {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_48_50_4_start:
function update() as Void {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_36_49_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 43 8 ]
symbol [ end %tmp.2 43 20 23 ];
%tmp.2 = getv ? :end;
%tmp.3 = lgetv %el;
symbol [ el %tmp.3 43 26 28 ];
%tmp.4 = sub %tmp.2 %tmp.3;
symbol [ $ %tmp.3 43 26 27 ];
%tmp.3 = getm $;
symbol [ gMatch %tmp.4 43 28 34 ];
%tmp.4 = getv %tmp.3 :gMatch;
symbol [ elapsed %tmp.5 43 35 42 ];
%tmp.5 = getv %tmp.4 :elapsed;
%tmp.6 = sub %tmp.2 %tmp.5;
symbol [ remaining ? 43 8 17 ];
putv self :remaining %tmp.4;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 45 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_stmt:
symbol [ end %tmp.6 45 11 14 ];
%tmp.6 = getv ? :end;
%tmp.7 = lgetv %el;
symbol [ el %tmp.7 45 17 19 ];
%tmp.8 = sub %tmp.6 %tmp.7;
putv self :remaining %tmp.6;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 44 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_stmt:
symbol [ remaining %tmp.8 44 11 20 ];
%tmp.8 = getv ? :remaining;
%tmp.9 = 0;
%tmp.10 = eq %tmp.8 %tmp.9;
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_true:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_25_49_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 47 16 ]
symbol [ System %tmp.11 47 16 22 ];
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_true:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_26_48_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 46 12 ]
symbol [ System %tmp.11 46 12 18 ];
%tmp.11 = getm $.Toybox.System;
symbol [ println %tmp.12 47 23 30 ];
symbol [ println %tmp.12 46 19 26 ];
%tmp.12 = getv function %tmp.11 :println;
symbol [ Lang %tmp.13 47 31 35 ];
symbol [ Lang %tmp.13 46 27 31 ];
%tmp.13 = getm $.Toybox.Lang;
symbol [ format %tmp.14 47 36 42 ];
symbol [ format %tmp.14 46 32 38 ];
%tmp.14 = getv function %tmp.13 :format;
%tmp.15 = "Card: $1$ Over";
%tmp.16 = newa 1;
symbol [ player %tmp.18 47 61 67 ];
symbol [ player %tmp.18 46 57 63 ];
%tmp.18 = getv ? :player;
symbol [ format %tmp.19 47 68 74 ];
symbol [ format %tmp.19 46 64 70 ];
%tmp.19 = getv function %tmp.18 :format;
%tmp.20 = "%02d";
%tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20);
@@ -153,57 +154,57 @@ _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc
%tmp.23 = aputv %tmp.22 0 %tmp.21;
%tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23);
invoke %tmp.11 %tmp.12(%tmp.24);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 48 16 ]
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 47 12 ]
%tmp.25 = false;
symbol [ isActive ? 48 16 24 ];
symbol [ isActive ? 47 12 20 ];
putv self :isActive %tmp.25;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_25_49_8_stop:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_48_50_4_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_26_48_8_stop:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_44_8_48_8_if_end:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_36_49_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 52; @symbol_functiondef = [toDict,52,13,19]; @symbol_return<0> = [Dictionary,52,25,35]; ]
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 51; @symbol_functiondef = [toDict,51,13,19]; @symbol_return<0> = [Dictionary,51,25,35]; ]
function toDict() as Dictionary {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_52_36_62_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 53 8 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_51_36_61_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 52 8 ]
%tmp.1 = newd 7;
%tmp.2 = "team";
symbol [ team %tmp.4 54 26 30 ];
symbol [ team %tmp.4 53 26 30 ];
%tmp.4 = getv ? :team;
%tmp.5 = dup %tmp.1;
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
%tmp.7 = "start";
symbol [ start %tmp.9 55 26 31 ];
symbol [ start %tmp.9 54 26 31 ];
%tmp.9 = getv ? :start;
%tmp.10 = dup %tmp.6;
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
%tmp.12 = "end";
symbol [ end %tmp.14 56 26 29 ];
symbol [ end %tmp.14 55 26 29 ];
%tmp.14 = getv ? :end;
%tmp.15 = dup %tmp.11;
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
%tmp.17 = "card";
symbol [ card %tmp.19 57 26 30 ];
symbol [ card %tmp.19 56 26 30 ];
%tmp.19 = getv ? :card;
%tmp.20 = dup %tmp.16;
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
%tmp.22 = "player";
symbol [ player %tmp.24 58 26 32 ];
symbol [ player %tmp.24 57 26 32 ];
%tmp.24 = getv ? :player;
%tmp.25 = dup %tmp.21;
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
%tmp.27 = "duration";
symbol [ duration %tmp.29 59 26 34 ];
symbol [ duration %tmp.29 58 26 34 ];
%tmp.29 = getv ? :duration;
%tmp.30 = dup %tmp.26;
%tmp.31 = aputv %tmp.30 %tmp.27 %tmp.29;
%tmp.32 = "datetime";
symbol [ _datetime %tmp.34 60 26 35 ];
symbol [ _datetime %tmp.34 59 26 35 ];
%tmp.34 = getv ? :_datetime;
%tmp.35 = dup %tmp.31;
%tmp.36 = aputv %tmp.35 %tmp.32 %tmp.34;
ret %tmp.36;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_52_36_62_4_stop:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_51_36_61_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 1; ]