aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test(timer): extract constantsUri Shaked2020-05-301-133/+185
| | | | This makes the test code easier to follow
* 0.9.1Uri Shaked2020-05-292-2/+2
|
* fix(gpio): port state not updated on DDR writeUri Shaked2020-05-292-0/+15
| | | | | | Calling `pinState()` inside a GPIO port listener returns incorrect values after changing DDR close #47
* chore(deps): @wokwi/elements 0.16.1Uri Shaked2020-05-262-12/+12
|
* style: reformat jest.config.js with prettierUri Shaked2020-05-261-3/+3
|
* chore(demo): disable strict null checks in tsconfigUri Shaked2020-05-261-0/+1
|
* 0.9.0Uri Shaked2020-05-252-2/+2
|
* perf(timer): improve tick() performanceUri Shaked2020-05-251-3/+4
| | | | reduce the number of calls to TIFR/TIMSK getters
* feat(timer): Compare Match Output (#45)Uri Shaked2020-05-254-57/+342
| | | | | The Compare Match Output bits are used to generate hardware PWM signals on selected MCU pins. This is also the mechanism used by Arduino's analogWrite() method. See #32 for more details
* docs: walkthrough video linkUri Shaked2020-05-141-0/+6
|
* chore(deps): npm audit fixUri Shaked2020-05-101-3/+3
|
* feat(gpio): add setPin() functionUri Shaked2020-05-102-0/+43
| | | | close #26
* refactor(demo): use pinState() methodUri Shaked2020-05-071-6/+5
| | | | Use the `pinState()` method introducd in #8 instead of directly reading from MCU memory
* chore: release 0.8.5Uri Shaked2020-05-042-2/+2
|
* fix(timer): stop Timer 2 when all CS bits are 0Uri Shaked2020-05-041-1/+1
| | | | close #44
* chore: release 0.8.4Uri Shaked2020-04-302-2/+2
|
* chore(deps): npm updateUri Shaked2020-04-302-788/+1047
|
* feat(demo): add timer 2 to simulationUri Shaked2020-04-301-0/+4
|
* fix(timer): Reading TCNT in 2-cycle instructionsUri Shaked2020-04-293-16/+35
| | | | close #40
* chore: release 0.8.3Uri Shaked2020-04-292-2/+2
|
* fix(timer): incorrect high counter byte behaviorUri Shaked2020-04-283-46/+97
| | | | | | According to the datasheet, the value of the high byte of the counter for 16-bit timers (such as timer 1) is only updated when the low byte is being read/written. close #37
* chore: release 0.8.2Uri Shaked2020-04-282-2/+2
|
* fix(instruction): LD, ST instructions should take 2 clock cyclesUri Shaked2020-04-282-20/+33
| | | | close #39
* chore: release 0.8.1Uri Shaked2020-04-272-2/+2
|
* chore(ci): add node 14, remove node 8Uri Shaked2020-04-272-2/+2
|
* style: reformat code with prettier 2.xUri Shaked2020-04-2712-39/+39
| | | | prettier rules have changed since we upgraded to 2.x
* chore(deps): prettier 2.0Uri Shaked2020-04-273-13/+14
| | | | | | also update: - eslint-config-prettier - eslint-plugin-prettier
* fix(timer): Timer value should not increment on the same cycle as TCNTn writeUri Shaked2020-04-272-2/+48
| | | | close #36
* fix(benchmark): update to work with latest codeUri Shaked2020-04-162-13/+17
|
* chore: release 0.8.0Uri Shaked2020-04-162-2/+2
|
* Merge pull request #30 from wokwi/16bit-timer-fixUri Shaked2020-04-163-27/+198
|\ | | | | Implement 16-bit timers
| * test(timer): add more 16-bit timer testsUri Shaked2020-04-122-13/+56
| | | | | | | | also fix some issues found by @gfeun and the tests
| * feat(timer): implement 16-bit timersUri Shaked2020-04-122-24/+148
| | | | | | | | e.g. Timer/Counter1 on ATmega328
| * feat(demo): add 16-bit timer (timer1)Uri Shaked2020-04-121-3/+7
|/
* chore(deps): jest 25.3.0, ts-jest 25.3.1Uri Shaked2020-04-112-817/+3977
|
* chore(deps): npm audit fixUri Shaked2020-04-111-143/+77
|
* doc: add Contributing GuideUri Shaked2020-04-112-1/+86
| | | | close #23
* chore: release 0.7.0Uri Shaked2020-04-102-2/+2
|
* feat(instruction): 22-bit PC support #31Uri Shaked2020-04-094-20/+120
| | | | adapt CALL, ICALL, RCALL, RET, and RETI for MCUs with 22-bit PC
* style(demo): formatting, lint issueUri Shaked2020-04-091-4/+10
|
* feat(instruction): implement EICALL, EIJMP #31Uri Shaked2020-04-092-0/+38
|
* feat(instruction): implement ELPM #31Uri Shaked2020-04-082-0/+71
|
* feat(demo): make editor widerUri Shaked2020-04-021-3/+3
|
* chore: release 0.6.2Uri Shaked2020-04-022-2/+2
|
* fix: GPIO port listeners not invoked when writing to DDR registersUri Shaked2020-04-022-3/+17
| | | | close #28
* test(instruction): use assembly in testsUri Shaked2020-04-021-89/+91
| | | | | | | | | | | | Refactored the tests to use AVR assembly instead of hardcoded bytecode. This change should make the tests much easier to read and maintain. Before: loadProgram('659a'); Now: loadProgram('SBI 0x0c, 5');
* feat(demo): add LED labelsUri Shaked2020-04-021-2/+2
|
* chore(demo): upgrade monaco editor to 0.20.0Uri Shaked2020-04-022-2/+2
|
* chore: gitignore .historyUri Shaked2020-04-021-1/+2
|
* doc: add npm version badge to readmeUri Shaked2020-03-251-0/+1
|
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.