pxt-common-packages 13.1.5 → 13.1.7
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/built/common-sim.d.ts +0 -6
- package/built/common-sim.js +0 -23
- package/libs/accelerometer/built/debug/binary.js +8 -8
- package/libs/animation/legacy.ts +2 -0
- package/libs/azureiot/built/debug/binary.js +461 -461
- package/libs/color/built/debug/binary.js +8 -8
- package/libs/color-sensor/built/debug/binary.js +8 -8
- package/libs/controller/built/debug/binary.js +7348 -7348
- package/libs/controller---none/built/debug/binary.js +7328 -7328
- package/libs/core/_locales/core-jsdoc-strings.json +0 -13
- package/libs/core/_locales/core-strings.json +0 -2
- package/libs/core/pxt.json +0 -2
- package/libs/core/shims.d.ts +0 -30
- package/libs/core---samd/_locales/core---samd-jsdoc-strings.json +0 -13
- package/libs/core---samd/_locales/core---samd-strings.json +0 -2
- package/libs/core---samd/built/debug/binary.js +8 -8
- package/libs/core---samd/shims.d.ts +0 -30
- package/libs/datalogger/built/debug/binary.js +63 -63
- package/libs/edge-connector/built/debug/binary.js +8 -8
- package/libs/esp32/built/debug/binary.js +462 -462
- package/libs/game/animation.ts +3 -0
- package/libs/game/built/debug/binary.js +7267 -7267
- package/libs/game/controller.ts +2 -0
- package/libs/game/particleeffects.ts +1 -0
- package/libs/game/scenes.ts +1 -0
- package/libs/game/sprite.ts +2 -0
- package/libs/game/sprites.ts +1 -0
- package/libs/game/tilemap.ts +2 -0
- package/libs/gamepad/built/debug/binary.js +8 -8
- package/libs/keyboard/built/debug/binary.js +8 -8
- package/libs/lcd/built/debug/binary.js +8 -8
- package/libs/light/built/debug/binary.js +8 -8
- package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
- package/libs/lora/built/debug/binary.js +8 -8
- package/libs/matrix-keypad/built/debug/binary.js +8 -8
- package/libs/microphone/built/debug/binary.js +8 -8
- package/libs/mouse/built/debug/binary.js +8 -8
- package/libs/mqtt/built/debug/binary.js +176 -176
- package/libs/music/built/debug/binary.js +8 -8
- package/libs/net/built/debug/binary.js +176 -176
- package/libs/net-game/built/debug/binary.js +8984 -8984
- package/libs/palette/built/debug/binary.js +7266 -7266
- package/libs/pixel/built/debug/binary.js +8 -8
- package/libs/power/built/debug/binary.js +8 -8
- package/libs/proximity/built/debug/binary.js +8 -8
- package/libs/pulse/built/debug/binary.js +8 -8
- package/libs/radio/built/debug/binary.js +8 -8
- package/libs/radio-broadcast/built/debug/binary.js +8 -8
- package/libs/rotary-encoder/built/debug/binary.js +8 -8
- package/libs/screen/built/debug/binary.js +50 -50
- package/libs/servo/built/debug/binary.js +8 -8
- package/libs/sprite-scaling/built/debug/binary.js +7266 -7266
- package/libs/sprite-scaling/scaling.ts +4 -0
- package/libs/storyboard/built/debug/binary.js +7266 -7266
- package/libs/tests/built/debug/binary.js +15 -15
- package/libs/thermometer/built/debug/binary.js +8 -8
- package/package.json +1 -1
- package/libs/core/keyvaluestorage.cpp +0 -109
- package/libs/core/keyvaluestorage.ts +0 -43
- package/libs/core/sim/keyvaluestorage.ts +0 -15
|
@@ -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___P56788(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___57032 = (undefined);
|
|
70
|
+
globals._pollEventQueue___57045 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P56788.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/light/neopixel.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P56788.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P56788_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P56788, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P56980_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P56788
|
|
91
91
|
})
|
|
@@ -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___P63618(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___63862 = (undefined);
|
|
70
|
+
globals._pollEventQueue___63875 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P63618.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"power.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P63618.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P63618_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P63618, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P63834_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P63618
|
|
91
91
|
})
|
|
@@ -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___P104576(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___104820 = (undefined);
|
|
70
|
+
globals._pollEventQueue___104833 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P104576.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"vl53l0x.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P104576.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P104576_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P104576, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P104840_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P104576
|
|
91
91
|
})
|
|
@@ -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___P19324(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___19568 = (undefined);
|
|
70
|
+
globals._pollEventQueue___19581 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P19324.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P19324.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P19324_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P19324, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P19412_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P19324
|
|
91
91
|
})
|
|
@@ -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___P193328(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___193572 = (undefined);
|
|
70
|
+
globals._pollEventQueue___193585 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P193328.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P193328.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P193328_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P193328, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P193688_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P193328
|
|
91
91
|
})
|
|
@@ -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___P195146(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___195390 = (undefined);
|
|
70
|
+
globals._pollEventQueue___195403 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P195146.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"radio-broadcast.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P195146.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P195146_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P195146, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P195514_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P195146
|
|
91
91
|
})
|
|
@@ -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___P175328(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___175572 = (undefined);
|
|
70
|
+
globals._pollEventQueue___175585 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P175328.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P175328.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P175328_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P175328, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P175672_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P175328
|
|
91
91
|
})
|
|
@@ -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___P51408(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___51652 = (undefined);
|
|
70
|
+
globals._pollEventQueue___51665 = (undefined);
|
|
71
|
+
globals.__updated___51899 = (false);
|
|
72
|
+
r0 = pxsim.control.runInParallel(control___screen_inline__P51904);
|
|
73
73
|
r0 = pxsim.image.create(178, 128);
|
|
74
|
-
globals.
|
|
75
|
-
s.tmp_0 =
|
|
76
|
-
s.tmp_0.arg0 =
|
|
74
|
+
globals.screen___51927 = (r0);
|
|
75
|
+
s.tmp_0 = control___screen_setupUpdate__P51901_mk(s);
|
|
76
|
+
s.tmp_0.arg0 = _screen_internal_inline__P51932;
|
|
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___51720 = (_screen_internal_inline__P51937);
|
|
81
81
|
r0 = undefined;
|
|
82
82
|
return leave(s, r0)
|
|
83
83
|
default: oops()
|
|
84
84
|
} } }
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
_main___P51408.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"imagesoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
86
|
+
_main___P51408.continuations = [ ]
|
|
87
87
|
|
|
88
|
-
function
|
|
88
|
+
function _main___P51408_mk(s) {
|
|
89
89
|
checkStack(s.depth);
|
|
90
90
|
return {
|
|
91
|
-
parent: s, fn:
|
|
91
|
+
parent: s, fn: _main___P51408, depth: s.depth + 1,
|
|
92
92
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
93
93
|
tmp_0: undefined,
|
|
94
94
|
} }
|
|
@@ -96,7 +96,7 @@ function _main___P51576_mk(s) {
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
function
|
|
99
|
+
function control___screen_inline__P51904(s) {
|
|
100
100
|
let r0 = s.r0, step = s.pc;
|
|
101
101
|
s.pc = -1;
|
|
102
102
|
|
|
@@ -109,23 +109,23 @@ switch (step) {
|
|
|
109
109
|
case 1:
|
|
110
110
|
r0 = pxsim_numops_toBoolDecr(true);
|
|
111
111
|
if (!r0) { step = 4; continue; }
|
|
112
|
-
globals.
|
|
113
|
-
s.tmp_0 =
|
|
112
|
+
globals.__updated___51899 = (false);
|
|
113
|
+
s.tmp_0 = pause__P51729_mk(s);
|
|
114
114
|
s.tmp_0.arg0 = 200;
|
|
115
115
|
s.callLocIdx = 2; s.pc = 5; return s.tmp_0;
|
|
116
116
|
case 5:
|
|
117
117
|
r0 = s.retval;
|
|
118
|
-
r0 = pxsim_numops_toBoolDecr(globals.
|
|
118
|
+
r0 = pxsim_numops_toBoolDecr(globals.__updated___51899);
|
|
119
119
|
s.tmp_1 = r0;
|
|
120
120
|
r0 = pxsim_Boolean__bang(s.tmp_1);
|
|
121
121
|
s.tmp_0 = r0;
|
|
122
122
|
r0 = pxsim_numops_toBoolDecr(s.tmp_0);
|
|
123
123
|
if (!r0) { step = 2; continue; }
|
|
124
|
-
s.tmp_2 =
|
|
124
|
+
s.tmp_2 = control___screen_update__P51900_mk(s);
|
|
125
125
|
s.callLocIdx = 3; s.pc = 6; return s.tmp_2;
|
|
126
126
|
case 6:
|
|
127
127
|
r0 = s.retval;
|
|
128
|
-
globals.
|
|
128
|
+
globals.__updated___51899 = (true);
|
|
129
129
|
case 2:
|
|
130
130
|
case 3:
|
|
131
131
|
{ step = 1; continue; }
|
|
@@ -134,12 +134,12 @@ switch (step) {
|
|
|
134
134
|
return leave(s, r0)
|
|
135
135
|
default: oops()
|
|
136
136
|
} } }
|
|
137
|
-
|
|
137
|
+
control___screen_inline__P51904.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"frame.ts","functionName":"inline","argumentNames":[]}
|
|
138
138
|
|
|
139
|
-
function
|
|
139
|
+
function control___screen_inline__P51904_mk(s) {
|
|
140
140
|
checkStack(s.depth);
|
|
141
141
|
return {
|
|
142
|
-
parent: s, fn:
|
|
142
|
+
parent: s, fn: control___screen_inline__P51904, depth: s.depth + 1,
|
|
143
143
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
144
144
|
tmp_0: undefined,
|
|
145
145
|
tmp_1: undefined,
|
|
@@ -149,7 +149,7 @@ function control___screen_inline__P52078_mk(s) {
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
function
|
|
152
|
+
function _screen_internal_inline__P51932(s) {
|
|
153
153
|
let r0 = s.r0, step = s.pc;
|
|
154
154
|
s.pc = -1;
|
|
155
155
|
|
|
@@ -159,24 +159,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
159
159
|
switch (step) {
|
|
160
160
|
case 0:
|
|
161
161
|
|
|
162
|
-
r0 = pxsim_pxtcore.updateScreen(globals.
|
|
162
|
+
r0 = pxsim_pxtcore.updateScreen(globals.screen___51927);
|
|
163
163
|
r0 = undefined;
|
|
164
164
|
return leave(s, r0)
|
|
165
165
|
default: oops()
|
|
166
166
|
} } }
|
|
167
|
-
|
|
167
|
+
_screen_internal_inline__P51932.info = {"start":327,"length":26,"line":8,"column":33,"endLine":8,"endColumn":59,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":[]}
|
|
168
168
|
|
|
169
|
-
function
|
|
169
|
+
function _screen_internal_inline__P51932_mk(s) {
|
|
170
170
|
checkStack(s.depth);
|
|
171
171
|
return {
|
|
172
|
-
parent: s, fn:
|
|
172
|
+
parent: s, fn: _screen_internal_inline__P51932, depth: s.depth + 1,
|
|
173
173
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
174
174
|
} }
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
function
|
|
179
|
+
function _screen_internal_inline__P51937(s) {
|
|
180
180
|
let r0 = s.r0, step = s.pc;
|
|
181
181
|
s.pc = -1;
|
|
182
182
|
|
|
@@ -195,12 +195,12 @@ switch (step) {
|
|
|
195
195
|
return leave(s, r0)
|
|
196
196
|
default: oops()
|
|
197
197
|
} } }
|
|
198
|
-
|
|
198
|
+
_screen_internal_inline__P51937.info = {"start":390,"length":56,"line":9,"column":35,"endLine":11,"endColumn":5,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":["msg"]}
|
|
199
199
|
|
|
200
|
-
function
|
|
200
|
+
function _screen_internal_inline__P51937_mk(s) {
|
|
201
201
|
checkStack(s.depth);
|
|
202
202
|
return {
|
|
203
|
-
parent: s, fn:
|
|
203
|
+
parent: s, fn: _screen_internal_inline__P51937, depth: s.depth + 1,
|
|
204
204
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
205
205
|
arg0: undefined,
|
|
206
206
|
} }
|
|
@@ -208,7 +208,7 @@ function _screen_internal_inline__P52111_mk(s) {
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
function
|
|
211
|
+
function control___screen_setupUpdate__P51901(s) {
|
|
212
212
|
let r0 = s.r0, step = s.pc;
|
|
213
213
|
s.pc = -1;
|
|
214
214
|
|
|
@@ -222,8 +222,8 @@ switch (step) {
|
|
|
222
222
|
s.arg0 = (s.lambdaArgs[0]);
|
|
223
223
|
s.lambdaArgs = null;
|
|
224
224
|
}
|
|
225
|
-
globals.
|
|
226
|
-
globals.
|
|
225
|
+
globals.__updated___51899 = (true);
|
|
226
|
+
globals.__update___51897 = (s.arg0);
|
|
227
227
|
s.tmp_0 = lambda_1_mk(s);
|
|
228
228
|
s.tmp_0.argL = s.arg0;
|
|
229
229
|
setupLambda(s.tmp_0, s.tmp_0.argL);
|
|
@@ -234,12 +234,12 @@ switch (step) {
|
|
|
234
234
|
return leave(s, r0)
|
|
235
235
|
default: oops()
|
|
236
236
|
} } }
|
|
237
|
-
|
|
237
|
+
control___screen_setupUpdate__P51901.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"frame.ts","functionName":"setupUpdate","argumentNames":["update"]}
|
|
238
238
|
|
|
239
|
-
function
|
|
239
|
+
function control___screen_setupUpdate__P51901_mk(s) {
|
|
240
240
|
checkStack(s.depth);
|
|
241
241
|
return {
|
|
242
|
-
parent: s, fn:
|
|
242
|
+
parent: s, fn: control___screen_setupUpdate__P51901, depth: s.depth + 1,
|
|
243
243
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
244
244
|
tmp_0: undefined,
|
|
245
245
|
arg0: undefined,
|
|
@@ -248,7 +248,7 @@ function control___screen_setupUpdate__P52075_mk(s) {
|
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
function
|
|
251
|
+
function control___screen_update__P51900(s) {
|
|
252
252
|
let r0 = s.r0, step = s.pc;
|
|
253
253
|
s.pc = -1;
|
|
254
254
|
|
|
@@ -258,27 +258,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
258
258
|
switch (step) {
|
|
259
259
|
case 0:
|
|
260
260
|
|
|
261
|
-
r0 = pxsim_numops_toBoolDecr(globals.
|
|
261
|
+
r0 = pxsim_numops_toBoolDecr(globals.__update___51897);
|
|
262
262
|
if (!r0) { step = 1; continue; }
|
|
263
263
|
s.tmp_0 = lambda_1_mk(s);
|
|
264
|
-
s.tmp_0.argL = globals.
|
|
264
|
+
s.tmp_0.argL = globals.__update___51897;
|
|
265
265
|
setupLambda(s.tmp_0, s.tmp_0.argL);
|
|
266
266
|
s.callLocIdx = 0; s.pc = 3; return s.tmp_0;
|
|
267
267
|
case 3:
|
|
268
268
|
r0 = s.retval;
|
|
269
269
|
case 1:
|
|
270
270
|
case 2:
|
|
271
|
-
globals.
|
|
271
|
+
globals.__updated___51899 = (true);
|
|
272
272
|
r0 = undefined;
|
|
273
273
|
return leave(s, r0)
|
|
274
274
|
default: oops()
|
|
275
275
|
} } }
|
|
276
|
-
|
|
276
|
+
control___screen_update__P51900.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"frame.ts","functionName":"update","argumentNames":[]}
|
|
277
277
|
|
|
278
|
-
function
|
|
278
|
+
function control___screen_update__P51900_mk(s) {
|
|
279
279
|
checkStack(s.depth);
|
|
280
280
|
return {
|
|
281
|
-
parent: s, fn:
|
|
281
|
+
parent: s, fn: control___screen_update__P51900, depth: s.depth + 1,
|
|
282
282
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
283
283
|
tmp_0: undefined,
|
|
284
284
|
} }
|
|
@@ -286,7 +286,7 @@ function control___screen_update__P52074_mk(s) {
|
|
|
286
286
|
|
|
287
287
|
|
|
288
288
|
|
|
289
|
-
function
|
|
289
|
+
function pause__P51729(s) {
|
|
290
290
|
let r0 = s.r0, step = s.pc;
|
|
291
291
|
s.pc = -1;
|
|
292
292
|
|
|
@@ -310,12 +310,12 @@ switch (step) {
|
|
|
310
310
|
return leave(s, r0)
|
|
311
311
|
default: oops()
|
|
312
312
|
} } }
|
|
313
|
-
|
|
313
|
+
pause__P51729.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
|
|
314
314
|
|
|
315
|
-
function
|
|
315
|
+
function pause__P51729_mk(s) {
|
|
316
316
|
checkStack(s.depth);
|
|
317
317
|
return {
|
|
318
|
-
parent: s, fn:
|
|
318
|
+
parent: s, fn: pause__P51729, depth: s.depth + 1,
|
|
319
319
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
320
320
|
arg0: undefined,
|
|
321
321
|
} }
|
|
@@ -336,7 +336,7 @@ function lambda_1_mk(s) {
|
|
|
336
336
|
} }
|
|
337
337
|
|
|
338
338
|
|
|
339
|
-
const breakpoints = setupDebugger(1, ["
|
|
339
|
+
const breakpoints = setupDebugger(1, ["__updated___51899","screen___51927","__update___51897"])
|
|
340
340
|
|
|
341
|
-
return
|
|
341
|
+
return _main___P51408
|
|
342
342
|
})
|
|
@@ -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___P53331(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___53575 = (undefined);
|
|
70
|
+
globals._pollEventQueue___53588 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P53331.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P53331.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P53331_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P53331, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P53507_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P53331
|
|
91
91
|
})
|