pxt-common-packages 13.1.1 → 13.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/accelerometer/built/debug/binary.js +9 -10
- package/libs/azureiot/built/debug/binary.js +462 -497
- package/libs/cable/_locales/cable-strings.json +1 -0
- package/libs/color/built/debug/binary.js +9 -10
- package/libs/color-sensor/built/debug/binary.js +9 -10
- package/libs/controller/built/debug/binary.js +7414 -7952
- package/libs/controller---none/built/debug/binary.js +7394 -7930
- package/libs/core/built/debug/binary.js +1 -2
- package/libs/core---samd/built/debug/binary.js +9 -10
- package/libs/datalogger/built/debug/binary.js +64 -72
- package/libs/edge-connector/built/debug/binary.js +9 -10
- package/libs/esp32/built/debug/binary.js +463 -498
- package/libs/game/_locales/game-strings.json +8 -0
- package/libs/game/built/debug/binary.js +7333 -7866
- package/libs/game/physics.ts +1 -0
- package/libs/game/sprite.d.ts +1 -0
- package/libs/game/sprite.ts +34 -0
- package/libs/game/tilemap.ts +8 -8
- package/libs/gamepad/built/debug/binary.js +9 -10
- package/libs/infrared/_locales/infrared-strings.json +1 -0
- package/libs/keyboard/built/debug/binary.js +9 -10
- package/libs/lcd/built/debug/binary.js +9 -10
- package/libs/light/built/debug/binary.js +9 -10
- package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
- package/libs/lora/built/debug/binary.js +9 -10
- package/libs/matrix-keypad/built/debug/binary.js +9 -10
- package/libs/microphone/built/debug/binary.js +9 -10
- package/libs/mouse/built/debug/binary.js +9 -10
- package/libs/mqtt/built/debug/binary.js +177 -193
- package/libs/music/built/debug/binary.js +9 -10
- package/libs/net/built/debug/binary.js +177 -193
- package/libs/net-game/built/debug/binary.js +9050 -9696
- package/libs/palette/built/debug/binary.js +7332 -7865
- package/libs/pixel/built/debug/binary.js +9 -10
- package/libs/power/built/debug/binary.js +9 -10
- package/libs/proximity/built/debug/binary.js +9 -10
- package/libs/pulse/built/debug/binary.js +9 -10
- package/libs/radio/_locales/radio-strings.json +5 -0
- package/libs/radio/built/debug/binary.js +9 -10
- package/libs/radio-broadcast/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/built/debug/binary.js +9 -10
- package/libs/screen/built/debug/binary.js +51 -58
- package/libs/servo/built/debug/binary.js +9 -10
- package/libs/sprite-scaling/built/debug/binary.js +7332 -7865
- package/libs/storyboard/built/debug/binary.js +7332 -7865
- package/libs/tests/built/debug/binary.js +16 -17
- package/libs/thermometer/built/debug/binary.js +9 -10
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2916 new=27.64% cached=0.00% other=72.36%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P56980(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___57224 = (undefined);
|
|
70
|
+
globals._pollEventQueue___57237 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P56980.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/light/neopixel.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P56980.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P56980_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P56980, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P56980
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2895 new=27.12% cached=0.00% other=72.88%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P63834(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___64078 = (undefined);
|
|
70
|
+
globals._pollEventQueue___64091 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P63834.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"power.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P63834.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P63834_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P63834, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P63834
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2909 new=27.29% cached=0.00% other=72.71%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P104840(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___105084 = (undefined);
|
|
70
|
+
globals._pollEventQueue___105097 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P104840.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"vl53l0x.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P104840.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P104840_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P104840, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P104840
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2909 new=27.47% cached=0.00% other=72.53%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P19412(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___19656 = (undefined);
|
|
70
|
+
globals._pollEventQueue___19669 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P19412.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P19412.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P19412_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P19412, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P19412
|
|
92
91
|
})
|
|
@@ -5,9 +5,14 @@
|
|
|
5
5
|
"radio._packetProperty|block": "%note",
|
|
6
6
|
"radio.onDataReceived|block": "radio on data received",
|
|
7
7
|
"radio.onReceivedBuffer|block": "on radio received",
|
|
8
|
+
"radio.onReceivedBuffer|handlerParam|receivedBuffer": "receivedBuffer",
|
|
8
9
|
"radio.onReceivedNumber|block": "on radio received",
|
|
10
|
+
"radio.onReceivedNumber|handlerParam|receivedNumber": "receivedNumber",
|
|
9
11
|
"radio.onReceivedString|block": "on radio received",
|
|
12
|
+
"radio.onReceivedString|handlerParam|receivedString": "receivedString",
|
|
10
13
|
"radio.onReceivedValue|block": "on radio received",
|
|
14
|
+
"radio.onReceivedValue|handlerParam|name": "name",
|
|
15
|
+
"radio.onReceivedValue|handlerParam|value": "value",
|
|
11
16
|
"radio.raiseEvent|block": "radio raise event|from source %src=control_event_source_id|with value %value=control_event_value_id",
|
|
12
17
|
"radio.receivedPacket|block": "received packet %type=radio_packet_property",
|
|
13
18
|
"radio.sendNumber|block": "radio send number %value",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2913 new=27.53% cached=0.00% other=72.47%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P193688(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___193932 = (undefined);
|
|
70
|
+
globals._pollEventQueue___193945 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P193688.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P193688.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P193688_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P193688, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P193688
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2923 new=27.44% cached=0.00% other=72.56%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P195514(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___195758 = (undefined);
|
|
70
|
+
globals._pollEventQueue___195771 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P195514.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"radio-broadcast.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P195514.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P195514_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P195514, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P195514
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2922 new=27.45% cached=0.00% other=72.55%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P175672(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___175916 = (undefined);
|
|
70
|
+
globals._pollEventQueue___175929 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P175672.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P175672.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P175672_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P175672, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P175672
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=10102 new=75.21% cached=0.00% other=24.79%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P51576(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,29 +66,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
71
|
-
globals.
|
|
72
|
-
r0 = pxsim.control.runInParallel(
|
|
69
|
+
globals._intervals___51820 = (undefined);
|
|
70
|
+
globals._pollEventQueue___51833 = (undefined);
|
|
71
|
+
globals.__updated___52073 = (false);
|
|
72
|
+
r0 = pxsim.control.runInParallel(control___screen_inline__P52078);
|
|
73
73
|
r0 = pxsim.image.create(178, 128);
|
|
74
|
-
globals.
|
|
75
|
-
s.tmp_0 =
|
|
76
|
-
s.tmp_0.arg0 =
|
|
74
|
+
globals.screen___52101 = (r0);
|
|
75
|
+
s.tmp_0 = control___screen_setupUpdate__P52075_mk(s);
|
|
76
|
+
s.tmp_0.arg0 = _screen_internal_inline__P52106;
|
|
77
77
|
s.callLocIdx = 4; s.pc = 1; return s.tmp_0;
|
|
78
78
|
case 1:
|
|
79
79
|
r0 = s.retval;
|
|
80
|
-
globals.
|
|
80
|
+
globals.control_EventContext_onStats___51888 = (_screen_internal_inline__P52111);
|
|
81
81
|
r0 = undefined;
|
|
82
82
|
return leave(s, r0)
|
|
83
83
|
default: oops()
|
|
84
84
|
} } }
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
_main___P51576.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"imagesoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
86
|
+
_main___P51576.continuations = [ ]
|
|
87
87
|
|
|
88
|
-
function
|
|
88
|
+
function _main___P51576_mk(s) {
|
|
89
89
|
checkStack(s.depth);
|
|
90
90
|
return {
|
|
91
|
-
parent: s, fn:
|
|
91
|
+
parent: s, fn: _main___P51576, depth: s.depth + 1,
|
|
92
92
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
93
93
|
tmp_0: undefined,
|
|
94
94
|
} }
|
|
@@ -96,8 +96,7 @@ function _main___P51551_mk(s) {
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
function control___screen_inline__P52053(s) {
|
|
99
|
+
function control___screen_inline__P52078(s) {
|
|
101
100
|
let r0 = s.r0, step = s.pc;
|
|
102
101
|
s.pc = -1;
|
|
103
102
|
|
|
@@ -110,23 +109,23 @@ switch (step) {
|
|
|
110
109
|
case 1:
|
|
111
110
|
r0 = pxsim_numops_toBoolDecr(true);
|
|
112
111
|
if (!r0) { step = 4; continue; }
|
|
113
|
-
globals.
|
|
114
|
-
s.tmp_0 =
|
|
112
|
+
globals.__updated___52073 = (false);
|
|
113
|
+
s.tmp_0 = pause__P51897_mk(s);
|
|
115
114
|
s.tmp_0.arg0 = 200;
|
|
116
115
|
s.callLocIdx = 2; s.pc = 5; return s.tmp_0;
|
|
117
116
|
case 5:
|
|
118
117
|
r0 = s.retval;
|
|
119
|
-
r0 = pxsim_numops_toBoolDecr(globals.
|
|
118
|
+
r0 = pxsim_numops_toBoolDecr(globals.__updated___52073);
|
|
120
119
|
s.tmp_1 = r0;
|
|
121
120
|
r0 = pxsim_Boolean__bang(s.tmp_1);
|
|
122
121
|
s.tmp_0 = r0;
|
|
123
122
|
r0 = pxsim_numops_toBoolDecr(s.tmp_0);
|
|
124
123
|
if (!r0) { step = 2; continue; }
|
|
125
|
-
s.tmp_2 =
|
|
124
|
+
s.tmp_2 = control___screen_update__P52074_mk(s);
|
|
126
125
|
s.callLocIdx = 3; s.pc = 6; return s.tmp_2;
|
|
127
126
|
case 6:
|
|
128
127
|
r0 = s.retval;
|
|
129
|
-
globals.
|
|
128
|
+
globals.__updated___52073 = (true);
|
|
130
129
|
case 2:
|
|
131
130
|
case 3:
|
|
132
131
|
{ step = 1; continue; }
|
|
@@ -135,12 +134,12 @@ switch (step) {
|
|
|
135
134
|
return leave(s, r0)
|
|
136
135
|
default: oops()
|
|
137
136
|
} } }
|
|
138
|
-
|
|
137
|
+
control___screen_inline__P52078.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"frame.ts","functionName":"inline","argumentNames":[]}
|
|
139
138
|
|
|
140
|
-
function
|
|
139
|
+
function control___screen_inline__P52078_mk(s) {
|
|
141
140
|
checkStack(s.depth);
|
|
142
141
|
return {
|
|
143
|
-
parent: s, fn:
|
|
142
|
+
parent: s, fn: control___screen_inline__P52078, depth: s.depth + 1,
|
|
144
143
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
145
144
|
tmp_0: undefined,
|
|
146
145
|
tmp_1: undefined,
|
|
@@ -150,8 +149,7 @@ function control___screen_inline__P52053_mk(s) {
|
|
|
150
149
|
|
|
151
150
|
|
|
152
151
|
|
|
153
|
-
|
|
154
|
-
function _screen_internal_inline__P52081(s) {
|
|
152
|
+
function _screen_internal_inline__P52106(s) {
|
|
155
153
|
let r0 = s.r0, step = s.pc;
|
|
156
154
|
s.pc = -1;
|
|
157
155
|
|
|
@@ -161,25 +159,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
161
159
|
switch (step) {
|
|
162
160
|
case 0:
|
|
163
161
|
|
|
164
|
-
r0 = pxsim_pxtcore.updateScreen(globals.
|
|
162
|
+
r0 = pxsim_pxtcore.updateScreen(globals.screen___52101);
|
|
165
163
|
r0 = undefined;
|
|
166
164
|
return leave(s, r0)
|
|
167
165
|
default: oops()
|
|
168
166
|
} } }
|
|
169
|
-
|
|
167
|
+
_screen_internal_inline__P52106.info = {"start":327,"length":26,"line":8,"column":33,"endLine":8,"endColumn":59,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":[]}
|
|
170
168
|
|
|
171
|
-
function
|
|
169
|
+
function _screen_internal_inline__P52106_mk(s) {
|
|
172
170
|
checkStack(s.depth);
|
|
173
171
|
return {
|
|
174
|
-
parent: s, fn:
|
|
172
|
+
parent: s, fn: _screen_internal_inline__P52106, depth: s.depth + 1,
|
|
175
173
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
176
174
|
} }
|
|
177
175
|
|
|
178
176
|
|
|
179
177
|
|
|
180
178
|
|
|
181
|
-
|
|
182
|
-
function _screen_internal_inline__P52086(s) {
|
|
179
|
+
function _screen_internal_inline__P52111(s) {
|
|
183
180
|
let r0 = s.r0, step = s.pc;
|
|
184
181
|
s.pc = -1;
|
|
185
182
|
|
|
@@ -198,12 +195,12 @@ switch (step) {
|
|
|
198
195
|
return leave(s, r0)
|
|
199
196
|
default: oops()
|
|
200
197
|
} } }
|
|
201
|
-
|
|
198
|
+
_screen_internal_inline__P52111.info = {"start":390,"length":56,"line":9,"column":35,"endLine":11,"endColumn":5,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":["msg"]}
|
|
202
199
|
|
|
203
|
-
function
|
|
200
|
+
function _screen_internal_inline__P52111_mk(s) {
|
|
204
201
|
checkStack(s.depth);
|
|
205
202
|
return {
|
|
206
|
-
parent: s, fn:
|
|
203
|
+
parent: s, fn: _screen_internal_inline__P52111, depth: s.depth + 1,
|
|
207
204
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
208
205
|
arg0: undefined,
|
|
209
206
|
} }
|
|
@@ -211,8 +208,7 @@ function _screen_internal_inline__P52086_mk(s) {
|
|
|
211
208
|
|
|
212
209
|
|
|
213
210
|
|
|
214
|
-
|
|
215
|
-
function control___screen_setupUpdate__P52050(s) {
|
|
211
|
+
function control___screen_setupUpdate__P52075(s) {
|
|
216
212
|
let r0 = s.r0, step = s.pc;
|
|
217
213
|
s.pc = -1;
|
|
218
214
|
|
|
@@ -226,8 +222,8 @@ switch (step) {
|
|
|
226
222
|
s.arg0 = (s.lambdaArgs[0]);
|
|
227
223
|
s.lambdaArgs = null;
|
|
228
224
|
}
|
|
229
|
-
globals.
|
|
230
|
-
globals.
|
|
225
|
+
globals.__updated___52073 = (true);
|
|
226
|
+
globals.__update___52071 = (s.arg0);
|
|
231
227
|
s.tmp_0 = lambda_1_mk(s);
|
|
232
228
|
s.tmp_0.argL = s.arg0;
|
|
233
229
|
setupLambda(s.tmp_0, s.tmp_0.argL);
|
|
@@ -238,12 +234,12 @@ switch (step) {
|
|
|
238
234
|
return leave(s, r0)
|
|
239
235
|
default: oops()
|
|
240
236
|
} } }
|
|
241
|
-
|
|
237
|
+
control___screen_setupUpdate__P52075.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"frame.ts","functionName":"setupUpdate","argumentNames":["update"]}
|
|
242
238
|
|
|
243
|
-
function
|
|
239
|
+
function control___screen_setupUpdate__P52075_mk(s) {
|
|
244
240
|
checkStack(s.depth);
|
|
245
241
|
return {
|
|
246
|
-
parent: s, fn:
|
|
242
|
+
parent: s, fn: control___screen_setupUpdate__P52075, depth: s.depth + 1,
|
|
247
243
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
248
244
|
tmp_0: undefined,
|
|
249
245
|
arg0: undefined,
|
|
@@ -252,8 +248,7 @@ function control___screen_setupUpdate__P52050_mk(s) {
|
|
|
252
248
|
|
|
253
249
|
|
|
254
250
|
|
|
255
|
-
|
|
256
|
-
function control___screen_update__P52049(s) {
|
|
251
|
+
function control___screen_update__P52074(s) {
|
|
257
252
|
let r0 = s.r0, step = s.pc;
|
|
258
253
|
s.pc = -1;
|
|
259
254
|
|
|
@@ -263,27 +258,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
263
258
|
switch (step) {
|
|
264
259
|
case 0:
|
|
265
260
|
|
|
266
|
-
r0 = pxsim_numops_toBoolDecr(globals.
|
|
261
|
+
r0 = pxsim_numops_toBoolDecr(globals.__update___52071);
|
|
267
262
|
if (!r0) { step = 1; continue; }
|
|
268
263
|
s.tmp_0 = lambda_1_mk(s);
|
|
269
|
-
s.tmp_0.argL = globals.
|
|
264
|
+
s.tmp_0.argL = globals.__update___52071;
|
|
270
265
|
setupLambda(s.tmp_0, s.tmp_0.argL);
|
|
271
266
|
s.callLocIdx = 0; s.pc = 3; return s.tmp_0;
|
|
272
267
|
case 3:
|
|
273
268
|
r0 = s.retval;
|
|
274
269
|
case 1:
|
|
275
270
|
case 2:
|
|
276
|
-
globals.
|
|
271
|
+
globals.__updated___52073 = (true);
|
|
277
272
|
r0 = undefined;
|
|
278
273
|
return leave(s, r0)
|
|
279
274
|
default: oops()
|
|
280
275
|
} } }
|
|
281
|
-
|
|
276
|
+
control___screen_update__P52074.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"frame.ts","functionName":"update","argumentNames":[]}
|
|
282
277
|
|
|
283
|
-
function
|
|
278
|
+
function control___screen_update__P52074_mk(s) {
|
|
284
279
|
checkStack(s.depth);
|
|
285
280
|
return {
|
|
286
|
-
parent: s, fn:
|
|
281
|
+
parent: s, fn: control___screen_update__P52074, depth: s.depth + 1,
|
|
287
282
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
288
283
|
tmp_0: undefined,
|
|
289
284
|
} }
|
|
@@ -291,8 +286,7 @@ function control___screen_update__P52049_mk(s) {
|
|
|
291
286
|
|
|
292
287
|
|
|
293
288
|
|
|
294
|
-
|
|
295
|
-
function pause__P51872(s) {
|
|
289
|
+
function pause__P51897(s) {
|
|
296
290
|
let r0 = s.r0, step = s.pc;
|
|
297
291
|
s.pc = -1;
|
|
298
292
|
|
|
@@ -316,19 +310,18 @@ switch (step) {
|
|
|
316
310
|
return leave(s, r0)
|
|
317
311
|
default: oops()
|
|
318
312
|
} } }
|
|
319
|
-
|
|
313
|
+
pause__P51897.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
|
|
320
314
|
|
|
321
|
-
function
|
|
315
|
+
function pause__P51897_mk(s) {
|
|
322
316
|
checkStack(s.depth);
|
|
323
317
|
return {
|
|
324
|
-
parent: s, fn:
|
|
318
|
+
parent: s, fn: pause__P51897, depth: s.depth + 1,
|
|
325
319
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
326
320
|
arg0: undefined,
|
|
327
321
|
} }
|
|
328
322
|
|
|
329
323
|
|
|
330
324
|
|
|
331
|
-
|
|
332
325
|
function lambda_1_mk(s) {
|
|
333
326
|
checkStack(s.depth);
|
|
334
327
|
return {
|
|
@@ -343,7 +336,7 @@ function lambda_1_mk(s) {
|
|
|
343
336
|
} }
|
|
344
337
|
|
|
345
338
|
|
|
346
|
-
const breakpoints = setupDebugger(1, ["
|
|
339
|
+
const breakpoints = setupDebugger(1, ["__updated___52073","screen___52101","__update___52071"])
|
|
347
340
|
|
|
348
|
-
return
|
|
341
|
+
return _main___P51576
|
|
349
342
|
})
|