Émilie Feral
4f3290514f
[ion] Simulator/Emscripten/Blackbox: correct random implementation
2018-02-02 16:09:37 +01:00
Romain Goyet
5ef24d304d
Move debug scripts in the build folder
2018-02-02 14:30:35 +01:00
Romain Goyet
7a8f439603
Clean the memory-map Make script
2018-02-02 14:30:35 +01:00
Romain Goyet
489b26e813
Re-organize and re-prefix the Makefile variables
2018-02-02 14:30:35 +01:00
Romain Goyet
67f082f4e8
[emscripten] Use emterpreter
...
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Émilie Feral
7aca44812e
[ion] Correct random() implementation in simulator, blackbox and
...
emscripten
2018-01-23 10:24:52 +01:00
Émilie Feral
a8dc17a6cf
[ion] Add TODO on implementations of usleep msleep
2018-01-22 15:32:59 +01:00
Émilie Feral
7993f7e906
[ion] Re-calibrate the delay methods (msleep and usleep) following the
...
increase of performance due to the instruction and data cache
2018-01-22 15:32:59 +01:00
Jacob Young
adc41fc240
I hate to do this, but a better solution will have to wait for a different PR.
2018-01-16 09:59:49 +01:00
Jacob Young
115f75c06a
Fix #8 with a custom getEvent for the simulator.
2018-01-16 09:59:49 +01:00
Jacob Young
e5868aaeab
Add extra keyboard shortcuts to the emscripten platform.
2017-12-12 14:05:58 +01:00
Jacob Young
b5bf6002f9
Remove unnecessary namespace qualifiers.
2017-12-12 14:05:58 +01:00
Jacob Young
94e18f90e0
Add missing static.
2017-12-12 14:05:58 +01:00
Romain Goyet
1e538600e3
Add the ability to take a screenshot in the packaged web simulator
2017-12-12 09:43:06 +01:00
Émilie Feral
d8963e33e3
[ion] Enable flash instructions fetching
2017-12-07 09:26:23 +01:00
Damien Nicolet
845337a042
Enable instruction and data cache
2017-12-06 18:39:09 +01:00
ydupas
8741e4d116
Fix: invalid characters on windows simulator #240
2017-12-06 13:36:54 +01:00
Émilie Feral
db35fc1d72
Merge branch 'cas_with_python' into python_console
...
Change-Id: I06e3e07b9fd8d52818d90110ed7517777b35b9f1
2017-12-01 17:29:55 +01:00
Léa Saviot
1ce6f36651
[code] Fixed the wait for user input after drawing using Python.
...
A SandboxController is now pushed on the StackViewController and sets the
KDIonContext::sharedContext before drawing, sets a white background and handles
user input after the Python computation to dismiss the drawing screen.
Change-Id: I51b0474365a85e845227379a16d090541fa8ded7
2017-12-01 13:19:28 +01:00
Émilie Feral
3f0328f5b5
Add assertions for dangerous bit shift that could trigger undefined
...
behaviour
Change-Id: I051ed229d407eafcae1ea4b5fc745176a751e036
2017-12-01 11:53:55 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Léa Saviot
2aa1cb0256
[emscripten] Fixed Python computation interruption.
...
A dummy scan() was used, which stopped the computation with
shouldInterrupt().
Change-Id: I661a630bd1a83c6036513fb9a086c58ba542f25b
2017-11-17 16:42:39 +01:00
Romain Goyet
9a41ee8ad9
Add the ability to package the web simulator
2017-11-06 21:54:18 +01:00
Émilie Feral
e3057d5c2b
[poincare] Change multiplication sign
...
Change-Id: If58f62fa181ce7aac441d42d44ea65d68f0d6421
2017-10-25 18:19:01 +02:00
Romain Goyet
e5010b1621
Work around a GCC bug
2017-10-19 17:31:40 +02:00
Damien Nicolet
1bf5386f8a
Corrects wrong RCC QSPIEN register definition
2017-10-16 09:21:10 +02:00
Ian Abbott
357d76515b
[ion][apps] Remove redundant AlphaLockShift state
...
Since the 'shift' key can now toggle between the AlphaLock and
ShiftAlphaLock states, there is no way to enter the AlphaLockShift
state, so remove it.
2017-09-26 17:44:25 +02:00
Ian Abbott
68eacca570
[ion] Toggle between AlphaLock and ShiftAlphaLock
...
Change the behaviour of the 'shift' key in the AlphaLock and
ShiftAlphaLock states to toggle between the two. This makes it easy to
switch between upper case and lower case letters in ALPHA-lock mode,
although the common case of entering words with isolated captital
letters in alpha-lock mode now involves additional presses of the
'shift' key.
With this change, it is impossible to enter the AlphaLockShift state.
2017-09-26 17:44:25 +02:00
Damien Nicolet
6392735e70
Add orgin/end keyboard shortcuts, by pressing shift left or shift right
2017-09-20 10:16:34 +02:00
Adrien Bertrand
f287148844
[ion] fix crc32 for loop variable type
2017-09-04 21:34:30 +02:00
Adrien Bertrand
4373bdeda4
[ion] [simulator] key chars: use unicode escapes
2017-09-01 14:15:37 +02:00
Adrien Bertrand
520775901b
[ion] [simulator] more realistic button labels
2017-09-01 14:15:37 +02:00
EmilieNumworks
6e1a00c786
Merge pull request #57 from jacobly0/feature/automated-testing
...
Automated testing on travis using the blackbox.
2017-09-01 02:39:49 -07:00
EmilieNumworks
5ecb7d57d6
Merge pull request #36 from boricj/fixup_keys_ion_simulator
...
[ion/simulator] Improve key mapping
2017-09-01 01:59:46 -07:00
Jacob Young
2e105036ff
Use the blackbox platform to run the tests on travis.
2017-09-01 04:00:28 -04:00
Jacob Young
4e6f673c03
Fix hex conversion for digits > 9.
2017-08-31 21:14:18 -04:00
Jean-Baptiste Boric
7d79a01ed2
[ion/simulator] Improve key mapping
2017-08-30 21:30:59 +02:00
EmilieNumworks
ea56a74955
Merge pull request #18 from jacobly0/fix-simulator-msleep
...
[ion] Fix simulator msleep
2017-08-30 10:34:37 +02:00
Jacob Young
d21d5594f9
Fix #7 fix #11 by using millisecond units in msleep (microseconds would be in usleep).
2017-08-30 03:42:14 -04:00
Jacob Young
67d4df5f59
Fix #9 by deactivating empty keys.
2017-08-30 03:39:23 -04:00
Romain Goyet
c451b56418
emscripten: set the language from command-line arguments
...
Change-Id: I8bac1670c4c01e974f6303c9aa392a12c5d2fac0
2017-08-28 14:16:10 +02:00
Émilie Feral
8fd329d167
[ion] Fix alpha and shift modifiers for emscripten
...
Change-Id: If8ae07048dddbcf77c18a7c9f06160359f6638ba
2017-08-25 11:20:49 +02:00
Émilie Feral
ca1494eef7
[ion] Include signal in blackbox boot
...
Change-Id: I69af8d0759caf38781475a7b245b5754bef6220a
2017-08-24 14:05:24 +02:00
Émilie Feral
68cd3f4574
[apps][ion] Discard shift alpha status when switching app or switch off
...
Change-Id: I955276168c9e31f7aebccbe0d57e8f15bb030e7e
2017-08-17 16:21:21 +02:00
Émilie Feral
e0676d9cfc
[ion] Fix dummy events modifier
...
Change-Id: If79f8e61c275189bc72ad2cbe035609e4c31d694
2017-08-17 09:31:59 +02:00
Émilie Feral
82e212e771
[poincare] Template for double
...
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
018013e323
Merge changes I4fcc116c,I2033a99f,I6dd667fb
...
* changes:
[apps/hardware_test] Clean plugging USB test
[escher] App can have timers that are ticked when the app is active
[ion] Clean alpha shift event modifiers
2017-07-28 10:19:15 +02:00
Romain Goyet
70174638df
[ion] Fix sending events to emscripten build
...
Change-Id: I9306554044a0b2fe2ee26769cc66a2684a05bebe
2017-07-21 15:12:38 +02:00
Romain Goyet
80c6d052f2
[ion] Emscripten display uses an internal framebuffer
...
We operate on a framebuffer (push/pull rect), and then copy it all to
the screen at once. This avoids reading back from video memory. All in
all, it goes *much* faster this way.
Change-Id: I472d35988fde876906a9be71e0666b2c238114b3
2017-07-21 14:02:12 +02:00
Émilie Feral
2900b901ba
[ion] Clean alpha shift event modifiers
...
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00