Skip to content

Commit 80a1af3

Browse files
committed
2.3.6: minor updates
1 parent b90406e commit 80a1af3

File tree

9 files changed

+26
-17
lines changed

9 files changed

+26
-17
lines changed

sim_core/sim_core_sound.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232

3333
function simcore_sound_canPlay ( )
3434
{
35+
if (typeof Tone == "undefined") {
36+
return false ;
37+
}
3538
if (typeof Tone.context == "undefined") {
3639
return false ;
3740
}

sim_hw/hw_items/cpu_ep.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,10 +2628,12 @@ function cpu_ep_register ( sim_p )
26282628
// 5.- Finally, 'fire' the (High) Level signals
26292629
if (mcelto.is_native)
26302630
{
2631-
if (typeof mcelto.NATIVE_JIT != "undefined")
2632-
mcelto.NATIVE_JIT() ;
2633-
else if (typeof mcelto.NATIVE != "undefined")
2634-
eval(mcelto.NATIVE) ;
2631+
compute_behavior("FIRE IO_IE") ; // check pending IO (TODO: IOC -> IO_IE, "future IO", ...)
2632+
2633+
if (typeof mcelto.NATIVE_JIT != "undefined")
2634+
mcelto.NATIVE_JIT() ;
2635+
else if (typeof mcelto.NATIVE != "undefined")
2636+
eval(mcelto.NATIVE) ;
26352637
}
26362638
else
26372639
{

sim_hw/hw_items/cpu_poc.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,10 +2187,12 @@ function cpu_poc_register ( sim_p )
21872187
// 5.- Finally, 'fire' the (High) Level signals
21882188
if (mcelto.is_native)
21892189
{
2190-
if (typeof mcelto.NATIVE_JIT != "undefined")
2191-
mcelto.NATIVE_JIT() ;
2192-
else if (typeof mcelto.NATIVE != "undefined")
2193-
eval(mcelto.NATIVE) ;
2190+
compute_behavior("FIRE IO_IE") ; // check pending IO (TODO: IOC -> IO_IE, "future IO", ...)
2191+
2192+
if (typeof mcelto.NATIVE_JIT != "undefined")
2193+
mcelto.NATIVE_JIT() ;
2194+
else if (typeof mcelto.NATIVE != "undefined")
2195+
eval(mcelto.NATIVE) ;
21942196
}
21952197
else
21962198
{

sim_hw/hw_items/cpu_rv.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,10 +2698,12 @@ function cpu_rv_register ( sim_p )
26982698
// 5.- Finally, 'fire' the (High) Level signals
26992699
if (mcelto.is_native)
27002700
{
2701-
if (typeof mcelto.NATIVE_JIT != "undefined")
2702-
mcelto.NATIVE_JIT() ;
2703-
else if (typeof mcelto.NATIVE != "undefined")
2704-
eval(mcelto.NATIVE) ;
2701+
compute_behavior("FIRE IO_IE") ; // check pending IO (TODO: IOC -> IO_IE, "future IO", ...)
2702+
2703+
if (typeof mcelto.NATIVE_JIT != "undefined")
2704+
mcelto.NATIVE_JIT() ;
2705+
else if (typeof mcelto.NATIVE != "undefined")
2706+
eval(mcelto.NATIVE) ;
27052707
}
27062708
else
27072709
{

ws_dist/min.sim_all.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ws_dist/min.wepsim_node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ws_dist/min.wepsim_web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ws_dist/repo/hardware/ep/hw_def.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

ws_dist/repo/hardware/poc/hw_def.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)