log for 007e4182116067841871fe166414ad1c9adf8ae0
Commit 007e4182116067841871fe166414ad1c9adf8ae0
author: ga [Tue, 3 May 2022 08:19:48 +0000 (09:19 +0100)]
Message:
Fix error in PR #482 that breaks build when tracing is enabled.
Commit 06b379bfb61b9ba9c31c5b9774605bdbee054b29
committer: ga [Tue, 3 May 2022 08:03:50 +0000 (09:03 +0100)]
author: ga [Tue, 3 May 2022 07:55:48 +0000 (08:55 +0100)]
Message:
Fix upstream #421 -
"attiny13 doesn't work after f421abbabc712ad058f917c8e78d89122e8cd181".
Commit 7c4afd1bf574fb914f1dcc193d28e90cf6ccb375
committer: GitHub [Mon, 11 Apr 2022 07:05:57 +0000 (08:05 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 07:05:57 +0000 (08:05 +0100)]
Message:
Merge pull request #406 from akosthekiss/fix-hd44780-memory

Fixes to HD44780
Commit 4d1750be7f430dec8a6c4ab06242d225a6a4250c
committer: GitHub [Mon, 11 Apr 2022 06:57:54 +0000 (07:57 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:57:54 +0000 (07:57 +0100)]
Message:
Merge pull request #440 from gatk555/firmware

Fix run-avr's --output and --add-trace options.
Commit c96ea61f77f1609ddd231a572a8e7a942c42b63b
committer: GitHub [Mon, 11 Apr 2022 06:54:00 +0000 (07:54 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:54:00 +0000 (07:54 +0100)]
Message:
Merge pull request #479 from gatk555/vcd

Fix #478 and improve VCD input.
Commit 1379eedfd396a64183a5e2cc9bc18583d5c96257
committer: GitHub [Mon, 11 Apr 2022 06:52:32 +0000 (07:52 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:52:32 +0000 (07:52 +0100)]
Message:
Merge pull request #475 from adbancroft/vscode

Ignore Visual Studio Code folder
Commit 13363d55a66aed9cf8140277b13c20e1132945a6
committer: GitHub [Mon, 11 Apr 2022 06:50:42 +0000 (07:50 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:50:42 +0000 (07:50 +0100)]
Message:
Merge pull request #472 from gatk555/run_avr_help

Show whether instruction tracing is enabled in the usage message.
Commit f24a7875b23c5f2b9d32ec4a028c048285867bd7
committer: GitHub [Mon, 11 Apr 2022 06:50:24 +0000 (07:50 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:50:24 +0000 (07:50 +0100)]
Message:
Merge pull request #471 from gatk555/attinyx5_adc

 Fix attinyx5 ADC multiplexer values.
Commit d2292395ae652c345ddf8d5563238961f025ada9
committer: GitHub [Mon, 11 Apr 2022 06:49:40 +0000 (07:49 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:49:40 +0000 (07:49 +0100)]
Message:
Merge pull request #470 from WGH-/fix-wdie-autoclearing

Fix WDIE being wrongly cleared in Interrupt Mode
Commit a54cae5b5ed4b9173a0a090252aa64d6520bb169
committer: GitHub [Mon, 11 Apr 2022 06:49:02 +0000 (07:49 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:49:02 +0000 (07:49 +0100)]
Message:
Merge pull request #469 from couchand/2021-12/example-bug

simduino: wait to init avr until we pick a core
Commit 97ec5a4c8f80ae67bbe093876b2ec57af7bedfcb
committer: GitHub [Mon, 11 Apr 2022 06:47:39 +0000 (07:47 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:47:39 +0000 (07:47 +0100)]
Message:
Merge pull request #468 from taylorconor/intr_fifo_swap

Fix interrupt servicing with multiple pending interrupts
Commit fe9fea9a781bbc4bf48886b2e84cd97f782cfe82
committer: GitHub [Mon, 11 Apr 2022 06:46:03 +0000 (07:46 +0100)]
author: Michel Pollet [Mon, 11 Apr 2022 06:46:03 +0000 (07:46 +0100)]
Message:
Merge pull request #482 from gatk555/gdb

Gdb: add support for "load" and "info_registers" and fix bugs.
Commit a5634af63899454b5c7a85aae7b5c547a06f43d8
committer: ga [Thu, 17 Mar 2022 09:49:38 +0000 (09:49 +0000)]
author: ga [Wed, 16 Mar 2022 15:49:39 +0000 (15:49 +0000)]
Message:
Really fix handling of 'break' (testing blunder) and include
a helpful message when it is executed.  Also add help message
response for gdb's "monitor" command.
Commit 0fe7429065be9d583a89fc880da55e80eb9c65b8
author: ga [Thu, 17 Mar 2022 08:02:22 +0000 (08:02 +0000)]
Message:
Fix bugs in handling vFlashWrite in sim_gdb.c and reset the
cycle counter on reset so that there is no crash on restart.
Commit ee7434d5f74210dda9615629dcb6f40ffc943783
author: ga [Wed, 16 Mar 2022 22:05:49 +0000 (22:05 +0000)]
Message:
Make the break instruction useful.  The previous implementation
could never move past it, as gdb knows it is in ROM and will
not replace it.  Distinguish hard and soft breaks.
Commit 3723282bab35432adb1824339c719ac0fbcb346d
author: ga [Wed, 16 Mar 2022 21:42:34 +0000 (21:42 +0000)]
Message:
Fix access (read/write) watchpoints and incorrect reporting of watchpoint
stops (always reported as "awatch").  Fix the kill command and allow
the simulator to continue running on detach.
Add "monitor say" for debugging.
Commit 4eb0e42896fde15b3f6e6f34a2d3dce3c025217a
committer: ga [Wed, 16 Mar 2022 19:25:40 +0000 (19:25 +0000)]
author: ga [Wed, 16 Mar 2022 19:20:43 +0000 (19:20 +0000)]
Message:
Fix three problems with gdb support:
1. Do not report a TRAP signal on every stop, as it confuses gdb.
   Initial symptom was failure to step into an ISR.
2. AVR was running after reset command.
3. Excessive processor activity (buzzing) while AVR stopped.
Commit 25b69b25a0050a0f83d1ff8e39b6696be0827028
author: ga [Wed, 16 Mar 2022 18:56:13 +0000 (18:56 +0000)]
Message:
Support for gdb's "load" command, based on
https://github.com/msquirogac/simavr/tree/fix-371
This implements the vFlashxxxx remote protocol commands and should fix
issue #371 - "GDB Error on OS X: Remote target does not support flash erase".
Commit 2415a52afbf350f33915225b4c87cb89ed6c95ac
committer: ga [Wed, 16 Mar 2022 17:55:04 +0000 (17:55 +0000)]
author: ga [Wed, 16 Mar 2022 16:56:41 +0000 (16:56 +0000)]
Message:
Add support for avr-gdb's "info io_registers" command and also
"monitor ior <base> <count>" to select only some registers for output.
Selective cherry-pick of 6923a0ac705c773e663358c7231e36a10e453d19
and 05b6803d390ac87c1b4deb9f296f7e39a20a6633.
Commit 2f136762ea1e9d7fdd84413c09503ae9920b42cc
author: ga [Fri, 4 Mar 2022 14:09:57 +0000 (14:09 +0000)]
Message:
Fix issue #478 - input changes not reflected in VCD output file.
Change the way I/O register IRQs are called so that they report
changes made by peripheral code as well as the core.
Also, do not call them for reads.  Add some test code.
Commit f1e81c0588517ffcc043846f456249f6b0de041f
author: ga [Fri, 4 Mar 2022 14:00:17 +0000 (14:00 +0000)]
Message:
Minor improvements to VCD file input.
avr_adc.h: Remove space from ioctl name as it would break VCD parsing.
sim_vcd_file.*: Allow nano-second input timing, compatible with output.
                Extend VCD parsing.
                Fix bug in short-form parsing where variable alias is a digit.
                Fix input bug with slow clock.
Commit ce6738be1b8866eefd5000a6880adc5c85ddf47e
author: tx_haggis [Tue, 1 Feb 2022 12:50:59 +0000 (06:50 -0600)]
Message:
Ignore Visual Studio Code files.
Commit d6ba83c1acf1b3c7ecabf83bf95cd7b1ceaeb35c
author: WGH [Fri, 10 Dec 2021 01:49:55 +0000 (04:49 +0300)]
Message:
Fix WDIE being wrongly cleared in Interrupt Mode

WDIE must be automatically cleared only in "Interrupt and System
Reset Mode" (where it's used to transition to "System Reset Mode").

In other modes, watchdog interrupt must not clear WDIE.

Strictly speaking, the modified condition also clears it in
"System Reset Mode" as well, but the system is reset on
interrupt anyway, so it doesn't matter.

See #456
Commit d232f0fdad9a14f259c3aa6d47bbd27f599c1361
author: Andrew Dona-Couch [Thu, 9 Dec 2021 18:06:17 +0000 (13:06 -0500)]
Message:
simduino: wat to init avr until we pick a core
Commit 09d35e08d00d462bbd2685370817f5e879674b2a
author: ga [Fri, 12 Nov 2021 18:27:03 +0000 (18:27 +0000)]
Message:
Show whether instruction tracing is enabled in the usage message.
Commit c2bb8af7cc93452e7e420a9f405cf095a8a7cd07
committer: ga [Tue, 26 Oct 2021 12:56:14 +0000 (13:56 +0100)]
author: ga [Tue, 26 Oct 2021 12:53:59 +0000 (13:53 +0100)]
Message:
 Fix attinyx5 ADC multiplexor values.
Commit d5de8850b93f578644c14f396105ee881259df54
committer: Conor Taylor [Sun, 3 Oct 2021 21:40:01 +0000 (23:40 +0200)]
author: Conor Taylor [Sun, 3 Oct 2021 21:38:22 +0000 (23:38 +0200)]
Message:
Fix interrupt servicing with multiple pending interrupts
Commit ea4c4504d15117223a23e2dd6edb745fea61ceae
committer: GitHub [Mon, 9 Aug 2021 10:40:14 +0000 (11:40 +0100)]
author: Michel Pollet [Mon, 9 Aug 2021 10:40:14 +0000 (11:40 +0100)]
Message:
Merge pull request #441 from gatk555/timer

Fix TOV/ICR handling, SEI delay - updated version
Commit d2aaebdece6011b650f4dd59a831e151ab0bf6d8
committer: GitHub [Mon, 9 Aug 2021 10:37:19 +0000 (11:37 +0100)]
author: Michel Pollet [Mon, 9 Aug 2021 10:37:19 +0000 (11:37 +0100)]
Message:
Merge pull request #427 from gatk555/ioport

Ioport
Commit b653a13f427ca2213906be2f13c8e958a3a253ef
author: ga [Wed, 28 Jul 2021 08:49:01 +0000 (09:49 +0100)]
Message:
Merge branch 'upstream' into timer
Commit 9ed8eb6a20806545eb8052ebbca85b0c5972a942
author: ga [Wed, 28 Jul 2021 08:37:49 +0000 (09:37 +0100)]
Message:
Merge branch 'upstream' into firmware
Commit e65143f6f2451625f2877acddaa0827251923028
author: ga [Wed, 28 Jul 2021 08:25:14 +0000 (09:25 +0100)]
Message:
Merge branch 'upstream' into ioport
Commit 43058ff5ce6505ccfe471e1ab6e6af30cff2acdb
committer: ga [Wed, 28 Jul 2021 08:17:58 +0000 (09:17 +0100)]
author: ga [Wed, 28 Jul 2021 08:15:38 +0000 (09:15 +0100)]
Message:
Accept review comments on PR #427 - data type and tabs/spaces.
Commit a9d5a1fee6874851c02074f710be438ca60b02fa
committer: GitHub [Wed, 21 Jul 2021 12:15:23 +0000 (13:15 +0100)]
author: Michel Pollet [Wed, 21 Jul 2021 12:15:23 +0000 (13:15 +0100)]
Message:
Merge pull request #454 from dxxb/arduboy

ssd1306: fully implement horizontal and vertical addressing modes
Commit c6d5375c668ccac3bb67ac285bb8041da8b92c79
committer: Delio Brignoli [Wed, 7 Jul 2021 07:51:06 +0000 (09:51 +0200)]
author: Delio Brignoli [Wed, 7 Jul 2021 07:20:26 +0000 (09:20 +0200)]
Message:
ssd1306: fully implement horizontal and vertical addressing modes
Commit a56b550872906a971ac128002772d90c9e30377d
committer: GitHub [Thu, 3 Jun 2021 17:12:00 +0000 (18:12 +0100)]
author: Michel Pollet [Thu, 3 Jun 2021 17:12:00 +0000 (18:12 +0100)]
Message:
Merge pull request #430 from gin66/master

fix timer foc behavior
Commit 8d660ced528a8dc6316a02f5b19615f454dd06be
author: Jochen Kiemes [Thu, 3 Jun 2021 16:22:48 +0000 (18:22 +0200)]
Message:
fix identation error while space to tab conversion
Commit fc26b41280b3b2fc5875a7e33cf345306ef62fa9
author: Jochen Kiemes [Thu, 3 Jun 2021 16:18:50 +0000 (18:18 +0200)]
Message:
change spaces to tab
Commit 302145666326c7f98468a73187c54dfe5a3ddfcc
committer: GitHub [Thu, 3 Jun 2021 08:10:34 +0000 (09:10 +0100)]
author: Michel Pollet [Thu, 3 Jun 2021 08:10:34 +0000 (09:10 +0100)]
Message:
Merge pull request #387 from purdeaandrei/patch-1

Fix error message
Commit ba904316a0742d41ea033cc8ee5ffcb493c72b15
committer: GitHub [Thu, 3 Jun 2021 07:52:22 +0000 (08:52 +0100)]
author: Michel Pollet [Thu, 3 Jun 2021 07:52:22 +0000 (08:52 +0100)]
Message:
Merge pull request #450 from taylorconor/macos_build

Fix macos build with versioned avr-gcc
Commit 2d1045e514758ff3e5b53b5c8249d06b57750807
committer: GitHub [Thu, 3 Jun 2021 07:49:12 +0000 (08:49 +0100)]
author: Michel Pollet [Thu, 3 Jun 2021 07:49:12 +0000 (08:49 +0100)]
Message:
Merge pull request #447 from vintagepc/446-fix-multipart-ihex

Fix #446 - bug in multipart ihex
Commit 0739d9f6e19414fdeec187bc00c140fea49cc648
committer: GitHub [Thu, 3 Jun 2021 07:48:37 +0000 (08:48 +0100)]
author: Michel Pollet [Thu, 3 Jun 2021 07:48:37 +0000 (08:48 +0100)]
Message:
Merge pull request #449 from taylorconor/sym_size

Add size property to avr_symbol_t
Commit 9f1014a7ae80a0338d10a6152f2fee0e5a6e410d
author: Conor Taylor [Mon, 31 May 2021 18:45:38 +0000 (20:45 +0200)]
Message:
Fix macos build with versioned avr-gcc
Commit 9950e8b7a170c61647aceef32b71b9d09c4dcbea
author: Conor Taylor [Mon, 31 May 2021 18:00:40 +0000 (20:00 +0200)]
Message:
Add size property to avr_symbol_t
Commit 3a422e89092006bd82fc1982bd0fdea50a5ac512
author: vintagepc [Sun, 18 Apr 2021 21:46:57 +0000 (17:46 -0400)]
Message:
Fix #446 - bug in multipart ihex
Commit 1d6bfe721dca859750edccd3ecd8d243b56df72a
committer: ga [Sat, 17 Apr 2021 08:54:53 +0000 (09:54 +0100)]
author: ga [Sat, 17 Apr 2021 08:15:49 +0000 (09:15 +0100)]
Message:
Add "clear interrupt on write 1 to flag" function to avr_ioport.c
and some code to test it in atmega168_ioport.c and friend.
Commit 4963a90268fb4b0fa8953cc60042784be51b7ea5
committer: ga [Fri, 2 Apr 2021 18:20:09 +0000 (19:20 +0100)]
author: ga [Mon, 22 Mar 2021 18:27:24 +0000 (18:27 +0000)]
Message:
Merge branch 'fix-irq-handling' of https://github.com/vintagepc/simavr
Upstream pull request #415: Fix TOV/ICR handling, SEI delay
with corrections to timer code and addition of minimal test code.
Commit b7b7cc512e8aa6eeb6fb486e29395f481efdbc15
committer: ga [Fri, 2 Apr 2021 18:01:26 +0000 (19:01 +0100)]
author: ga [Fri, 2 Apr 2021 17:56:26 +0000 (18:56 +0100)]
Message:
One file missed from previous change.
Commit 76666724ab05f8b0a1d2dbac9aa11b571810503c
committer: ga [Fri, 2 Apr 2021 18:00:28 +0000 (19:00 +0100)]
author: ga [Fri, 2 Apr 2021 17:19:02 +0000 (18:19 +0100)]
Message:
Fix run-avr's --output and --add-trace options (upstream issue #400).
Remove call to memset() in sim_elf.c that destroyed initialisations
and initialise the firmware structure everywhere.
Add comments to say initialisation is required.
Commit 1d227277b3d0039f9faef9ea62880ca3051b14f8 v1.7
author: Michel Pollet [Thu, 1 Apr 2021 20:36:05 +0000 (21:36 +0100)]
Message:
ds1338L: Fix a logic bug

Used a boolean not instead of a binary one.

Signed-off-by: Michel Pollet <buserror@gmail.com>
Commit b631ebb06e53e152511b438f89db4ba511afa710
committer: GitHub [Thu, 1 Apr 2021 18:36:39 +0000 (19:36 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:36:39 +0000 (19:36 +0100)]
Message:
Merge pull request #439 from gatk555/hardware

Two "hardware" changes
Commit 49a0e5c11784d6eddcf2643ce9276dc92152b037
committer: GitHub [Thu, 1 Apr 2021 18:33:44 +0000 (19:33 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:33:44 +0000 (19:33 +0100)]
Message:
Merge pull request #431 from kittennbfive/patch-1

megax4: fix INT2 pin
Commit 42f87b43734909c6a6a5013b3a9c339f3dbd17f4
committer: GitHub [Thu, 1 Apr 2021 18:31:38 +0000 (19:31 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:31:38 +0000 (19:31 +0100)]
Message:
Merge pull request #428 from gatk555/build

Link libsimavr.so with needed libraries.
Commit 592f86fe80e128473bdf3d50b9cd785aa9b138b3
committer: GitHub [Thu, 1 Apr 2021 18:29:36 +0000 (19:29 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:29:36 +0000 (19:29 +0100)]
Message:
Merge pull request #425 from gatk555/warnings

Add casts to suppress warnings from gcc 8.3.0.
Commit 95eb3ec2fe34f10e7b8b58a2f5f367fcf02bb926
committer: GitHub [Thu, 1 Apr 2021 18:28:53 +0000 (19:28 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:28:53 +0000 (19:28 +0100)]
Message:
Merge pull request #424 from gatk555/adc

Implement the BIN and IPR bits for attinyX5 and change the ADC sample timing â€¦
Commit 89fc9f711370b295f4ee3524be061696516124f0
committer: GitHub [Thu, 1 Apr 2021 18:28:02 +0000 (19:28 +0100)]
author: Michel Pollet [Thu, 1 Apr 2021 18:28:02 +0000 (19:28 +0100)]
Message:
Merge pull request #418 from sanjaymsh/ppc64le

Travis-ci:added support for ppc64le
Commit 3c6de37f387e1d310007d2969977e0cda09113ff
committer: ga [Sat, 27 Mar 2021 12:48:45 +0000 (12:48 +0000)]
author: ga [Sat, 27 Mar 2021 12:29:51 +0000 (12:29 +0000)]
Message:
Make the 2560 PORTE/0 pin change interrupt visible as it mostly works.
Add the missing pin change interrupts for 1280 and 1281.

In avr_ioport.[ch], fix multiple causes (but not all) of
mis-triggering of pin change interrupts including upstream issue #343:
Pin change interrupts incorrectly fire when a timer compare event occurs.
Other causes are initial setting of DDR and the AVR_IOPORT_OUTPUT bit.

Move the mask and shift data for ATmega2560 into the ioport structure.

Add a test for pin change interrupts.
Commit d3c1b0fe32cae1cb537d253be62a4a3065e3c4e7
committer: ga [Sat, 27 Mar 2021 12:46:23 +0000 (12:46 +0000)]
author: ga [Tue, 23 Mar 2021 21:20:56 +0000 (21:20 +0000)]
Message:
Fixes for ATmega2560 and friend:
  enable pin change interrupts on PORTK;
  conditionally enable pin change interrupts on PORTE/0 - shared with PORTJ;
  run the ACOMP initialisation function;
  add close relative ATmega2561.
Commit f1aad44bce3aba57ba01083a46b79f4731e9dda9
committer: ga [Mon, 22 Mar 2021 21:29:48 +0000 (21:29 +0000)]
author: ga [Mon, 22 Mar 2021 18:55:43 +0000 (18:55 +0000)]
Message:
Merge branch 'master' of https://github.com/thelazt/simavr
Upstream pull request #353: Add support for ATmega328PB.
Commit cb2633893125be2087ca1876179ac2fc40d6e2c9
committer: ga [Mon, 22 Mar 2021 21:28:07 +0000 (21:28 +0000)]
author: ga [Mon, 22 Mar 2021 21:09:54 +0000 (21:09 +0000)]
Message:
Patch offered in upstream issue #339 (from djfd):
Wrong ADC definition at-tiny-24
Commit 5d7d782299f0f74a726aed77c1254cd094a7241f
committer: ga [Sat, 13 Feb 2021 19:29:56 +0000 (19:29 +0000)]
author: ga [Sat, 13 Feb 2021 14:34:28 +0000 (14:34 +0000)]
Message:
Correct test failue caused by previous change: Do not set filter flag
as handlers for IOPORT_IRQ_REG_PIN ...
(bad35c24b7456ad5a0e446cff7066680dfaff42e).
Commit 5d1d1f99ba10c8fd8f2c5f1d8eff32ae24eb4e81
committer: ga [Tue, 9 Feb 2021 21:34:20 +0000 (21:34 +0000)]
author: ga [Tue, 9 Feb 2021 21:26:36 +0000 (21:26 +0000)]
Message:
Do not set filter flag as handlers for IOPORT_IRQ_REG_PIN should be
called on every read of the port pins, so they can set new values.
Commit af6fea4b9358157ddcf784692e159808a01e37ce
author: Jochen Kiemes [Fri, 5 Feb 2021 23:38:06 +0000 (00:38 +0100)]
Message:
test to fix foc causing erroneous interrupt
Commit 6ef9fb11edb6881c3e405420789cb8a2d519895d
committer: GitHub [Fri, 5 Feb 2021 19:31:34 +0000 (19:31 +0000)]
author: kittennbfive [Fri, 5 Feb 2021 19:31:34 +0000 (19:31 +0000)]
Message:
also adjust needed alias / define
Commit c848b26fdf43f0bccb25dc7617c487616dd03814
committer: GitHub [Fri, 5 Feb 2021 19:23:28 +0000 (19:23 +0000)]
author: kittennbfive [Fri, 5 Feb 2021 19:23:28 +0000 (19:23 +0000)]
Message:
fix INT2 pin

according to datasheet, tested with some code that works on real device (1284P)
Commit 709ef4b9c1ee5b1f066561c08f728424083e084a
committer: ga [Tue, 26 Jan 2021 13:50:18 +0000 (13:50 +0000)]
author: ga [Mon, 25 Jan 2021 19:20:32 +0000 (19:20 +0000)]
Message:
Handle writing a one bit to the interrupt flag, ADIF.
Commit d617f6a50b41c489e96db986baf7cd1fdb8cd0a1
committer: ga [Mon, 25 Jan 2021 19:34:39 +0000 (19:34 +0000)]
author: ga [Mon, 25 Jan 2021 19:26:22 +0000 (19:26 +0000)]
Message:
Clarify comment.
Commit c9f28dbb45c8d1a3c72865272f4726a6c7bc442d
committer: ga [Mon, 25 Jan 2021 19:32:34 +0000 (19:32 +0000)]
author: ga [Mon, 25 Jan 2021 19:08:32 +0000 (19:08 +0000)]
Message:
Link libsimavr.so with needed libraries.  That is the usual way and allows
it to be easily loaded by dlopen().
Commit c0985c4fbfa66af4f1f25062bb59d023035d20a9
committer: ga [Sat, 23 Jan 2021 13:21:15 +0000 (13:21 +0000)]
author: ga [Sat, 23 Jan 2021 13:15:17 +0000 (13:15 +0000)]
Message:
Add a test for basic port functions and fix problems found.
avr_extint.c: prevent spurious interrupts.
avr_ioport.c: allow calling program to control value read from PIN.
Commit ebabf096ad173fea16f2cfa1789665a381f6417e
committer: ga [Fri, 22 Jan 2021 10:01:09 +0000 (10:01 +0000)]
author: ga [Thu, 21 Jan 2021 15:38:05 +0000 (15:38 +0000)]
Message:
Add casts to suppress warnings from gcc 8.3.0.
Commit eec2e5aae40d0831c385b6f8ff91fac466b4bb7b
author: ga [Thu, 21 Jan 2021 15:30:19 +0000 (15:30 +0000)]
Message:
Implement the BIN and IPR bits for attinyX5 and change the ADC sample timing
to roughly match the datasheet.  Add a test.  Those MCUs have no UART, so
test.c and test.h have changes to use an alternative method.
Commit e8f80e7e0bb9ecd4d253c63c7729b0a47b17001a
author: Jochen Kiemes [Mon, 11 Jan 2021 22:53:05 +0000 (23:53 +0100)]
Message:
fix compile error
Commit afdff9e92424c1336ce7297134ff084ce378ce35
author: Jochen Kiemes [Mon, 11 Jan 2021 16:32:27 +0000 (17:32 +0100)]
Message:
fix foc and interrupt clear for timer
Commit 8e924aea89dc44652a72b3bad8ee7691216c90a2
author: Jochen Kiemes [Mon, 11 Jan 2021 12:30:03 +0000 (13:30 +0100)]
Message:
Merge branch 'master' of github.com:MikePlayle/simavr
Commit 7b112708dee9dd21a20850c671e50a06998ee347
author: sanjay-cpu [Fri, 11 Dec 2020 14:56:55 +0000 (14:56 +0000)]
Message:
Travis-ci:added support for ppc64le
Commit 03a01c70dc1b001d06729a2ad42ad2310585d32e
committer: Akos Kiss [Tue, 13 Oct 2020 22:19:57 +0000 (00:19 +0200)]
author: Akos Kiss [Tue, 13 Oct 2020 22:11:03 +0000 (00:11 +0200)]
Message:
Fix typos in comments in HD44780
Commit ed0b5d4c6f4c363e67bb4ee246f428adcbf37077
committer: Akos Kiss [Tue, 13 Oct 2020 21:46:38 +0000 (23:46 +0200)]
author: Akos Kiss [Tue, 13 Oct 2020 21:38:43 +0000 (23:38 +0200)]
Message:
Handle the difference between 1 and 2-line displays in HD44780

If HD44780 is configured to have a single line of display, AC can
be in the range of 0x00..0x00+79, while with two lines, it can be
in the ranges 0x00..0x00+39 and 0x40..0x40+39.
Commit 0e03bc6f48b078606b9a970594ee0ef82ffa0117
committer: GitHub [Tue, 13 Oct 2020 19:05:39 +0000 (20:05 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 19:05:39 +0000 (20:05 +0100)]
Message:
Merge pull request #401 from vintagepc/Fix-TWI-status-delay

Fix high speed TWI delay calcs and ACK bug (#137)
Commit 753006e5a9fc3fbea5444088f9e962bcfb9d73e0
committer: GitHub [Tue, 13 Oct 2020 13:29:33 +0000 (14:29 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 13:29:33 +0000 (14:29 +0100)]
Message:
Merge pull request #413 from bsekisser/sim_regbit_clear_check_valid_reg

Remove kludge "avr_uart_regbit_clear" from uart
Commit 4dd8619a9c26b7094a10c08ee2d2d584fdb4cc84
committer: GitHub [Tue, 13 Oct 2020 13:28:28 +0000 (14:28 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 13:28:28 +0000 (14:28 +0100)]
Message:
Merge pull request #410 from akosthekiss/make-tests

Test-related maintenance
Commit 877842fef61e27d0cae3ce2bc8578a88b5429ee3
committer: GitHub [Tue, 13 Oct 2020 12:29:47 +0000 (13:29 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:29:47 +0000 (13:29 +0100)]
Message:
Merge pull request #412 from bsekisser/avr_regbit_h_file_format_corrections

Formatting and style corrections to avr_regbit.h
Commit 54a55cc2f0093103a9bd77d17cb285d198553fd0
committer: GitHub [Tue, 13 Oct 2020 12:26:51 +0000 (13:26 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:26:51 +0000 (13:26 +0100)]
Message:
Merge pull request #411 from bsekisser/uart_raise_udr_raised_with_tx_enable

Set udre flag when (re)enabling uart transmitter.
Commit 26ff19d215552acaf9545b3a6af7f02fdbf22392
committer: GitHub [Tue, 13 Oct 2020 12:24:31 +0000 (13:24 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:24:31 +0000 (13:24 +0100)]
Message:
Merge pull request #407 from akosthekiss/gitignore-maintenance

List git-ignored executables in one place
Commit 2bb4e6b6b38f1fe134db44539cc08698ab47acbb
committer: GitHub [Tue, 13 Oct 2020 12:19:51 +0000 (13:19 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:19:51 +0000 (13:19 +0100)]
Message:
Merge pull request #405 from akosthekiss/update-fix-manual

Update/fix manual
Commit 8eaeb516c2691b8b7a1c5b10015110c9db6c01ee
committer: GitHub [Tue, 13 Oct 2020 12:18:38 +0000 (13:18 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:18:38 +0000 (13:18 +0100)]
Message:
Merge pull request #396 from akosthekiss/makecommon-avrgcc-verbose

Ensure that verbosity is applied in avr-gcc recipes
Commit b88c1201026123a3416d36e033b73d88eb0b6dec
committer: GitHub [Tue, 13 Oct 2020 12:16:42 +0000 (13:16 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:16:42 +0000 (13:16 +0100)]
Message:
Merge pull request #397 from akosthekiss/remove-exec

Remove execute permission from source and header files
Commit a3eb6c9b00645595ce6307a8ea56279c185a36c4
committer: GitHub [Tue, 13 Oct 2020 12:15:41 +0000 (13:15 +0100)]
author: Michel Pollet [Tue, 13 Oct 2020 12:15:41 +0000 (13:15 +0100)]
Message:
Merge pull request #409 from akosthekiss/button-release

Add support for non-auto release to button
Commit 0d7783fe663723d3fb280435ecf5648afae78841
author: bsekisser [Mon, 12 Oct 2020 21:17:49 +0000 (17:17 -0400)]
Message:
fixup
Commit 8ae36e163028e8611b0c3d662129d54a59eebbed
committer: bsekisser [Mon, 12 Oct 2020 20:52:25 +0000 (16:52 -0400)]
author: bsekisser [Mon, 12 Oct 2020 19:07:42 +0000 (15:07 -0400)]
Message:
Remove kludge "avr_uart_regbit_clear" from uart

modified:   sim/avr_uart.c

Change use of kludge function avr_uart_regbit_clear to avr_regbit_clear.

modified:   sim/sim_regbit.h

Add check that avr_regbit_clear was passed a valid existing register.
Commit d8c91babc4016b239611b1b9da24f638abd10b10
committer: bsekisser [Mon, 12 Oct 2020 20:41:20 +0000 (16:41 -0400)]
author: bsekisser [Mon, 12 Oct 2020 20:39:08 +0000 (16:39 -0400)]
Message:
Formatting and style corrections to avr_regbit.h
Commit e479fb39412f9fb7b1110facd6867997ef839e5d
committer: bsekisser [Sat, 10 Oct 2020 22:18:53 +0000 (18:18 -0400)]
author: bsekisser [Sat, 10 Oct 2020 21:40:59 +0000 (17:40 -0400)]
Message:
Set udre flag when (re)enabling uart transmitter.

modified:   sim/avr_uart.c

Previously, disabling the uart transmitter cleared the udrc
interrupt and cleared the udre (udrc.raised) flag.  Upon
reenabling the transmitter, the udre flag is still clear
signifying the buffer is full, thus waiting for the udr to
clear via udre flag hangs.
Commit 82bc763e5e3939ce2ee376d2f66905ae63a1c8ba
author: Akos Kiss [Sat, 10 Oct 2020 20:54:36 +0000 (22:54 +0200)]
Message:
Test-related maintenance

- Ensure that make reports an error if any of the tests fail
- Don't duplicate compilation commands only for the sake of
  verbosity control
- Simplify recipe for .tst files
- Drop outdated and unnecessary .gitignore from tests directory
- Add the execution of tests to Travis CI
Commit 7c551e09d6e85045ec1433717f9f8c36a6906725
author: Akos Kiss [Sat, 10 Oct 2020 19:45:04 +0000 (21:45 +0200)]
Message:
Add support for non-auto release to button

This allows better control of key press length, if needed.

To minimize negative effect on existng code, if the duration
argument of button_press is non-zero, functionality is kept as is
(i.e., using auto-release). If duration is set to zero, then button
will have to be explicitly released using a new API function,
button_release.

If simulation uses GLUT, it may make use of glutKeyboardUpFunc and
glutIgnoreKeyRepeat (in addition to glutKeyboardFunc found in
existing examples) to have more exact control over button presses
and releases.
Commit 3e33b6fabf7b34f126e48a3dd54909cac1699cd6
committer: Akos Kiss [Thu, 8 Oct 2020 23:49:59 +0000 (01:49 +0200)]
author: Akos Kiss [Thu, 8 Oct 2020 23:42:15 +0000 (01:42 +0200)]
Message:
Fix Clear Screen implementation of HD44780

Datasheet mandates filling DDRAM with spaces, setting address
counter to DDRAM address 0, and setting entry mode I/D to 1
(increment mode).

The "filling with spaces" was implemented but the rest was missing.
Now added.
Commit f97e7f0ee0efe49f2adee55cf21e6ff179720d79
committer: Akos Kiss [Thu, 8 Oct 2020 21:32:39 +0000 (23:32 +0200)]
author: Akos Kiss [Thu, 8 Oct 2020 21:04:01 +0000 (23:04 +0200)]
Message:
Fix cursor handling in segmented DDRAM of HD44780

HD44780 has only 80 bytes of DDRAM, which consists of two 40 bytes
long segments. The segment starting at address 0x00 contains the
data for the first line of the display, while the segment starting
at address 0x40 contains the data for the second line of the
display. This means that there are invalid ranges in the 7-bit
address space of the DDRAM (0x00+40 .. 0x3f and 0x40+40 .. 0x7f).
The cursor (address counter) of the HD44780 automatically "jumps
over" these regions whenever auto-incremented/decremented. This
commit implements this behaviour.

Moreover, this commit also fixes the 4-lines mode. When in a
4-lines setup, the first 20 bytes of the first and the second
memory segments control what is displayed in the first two lines,
as usual. However, the second 20 bytes of the memory segments
contain the data for the third and fourth lines of the display.
This means that the starting addresses of lines 3 & 4 are 0x00+20
and 0x40+20.
Commit cb6fcbead0826fdbe54dc0b2218eb77d229c8248
committer: Akos Kiss [Thu, 8 Oct 2020 21:32:39 +0000 (23:32 +0200)]
author: Akos Kiss [Mon, 5 Oct 2020 16:01:40 +0000 (18:01 +0200)]
Message:
Fix the virtual memory of the HD44780 part

In HD44780, the DDRAM has an address space of 0x80 bytes, while
CGRAM has 0x40 bytes. To ensure their proper separation, the vram
should have 0x80+0x40 bytes with the CGRAM starting at 0x80.
Commit 40ceef5f6f868478cdf0fbf4aa34b8b52053c877
author: Akos Kiss [Tue, 6 Oct 2020 13:25:19 +0000 (15:25 +0200)]
Message:
List git-ignored executables in one place
Commit 2f136017314453ff9ce9a80b108e939e48a334d9
committer: Akos Kiss [Mon, 5 Oct 2020 14:33:35 +0000 (16:33 +0200)]
author: Akos Kiss [Mon, 5 Oct 2020 14:21:51 +0000 (16:21 +0200)]
Message:
Update/fix manual

- Updated GitHub repository links.
- Removed the requirement for a German babel language definition
  file.
- Commented out missing references (citations of external manual
  and references to non-existing sections).
- Added a .gitignore file to the directory of the manual to help
  git disregard temporary latex files.
Commit ecbd0e65585b4c509f41ebd99ed80c6cb86af6ab
author: vintagepc [Mon, 28 Sep 2020 22:04:10 +0000 (18:04 -0400)]
Message:
Partial for TWI fixes (#137)
Commit 2683b6a73a26a6dd3970a281f7bfcb220669696b
committer: Akos Kiss [Sat, 12 Sep 2020 22:00:10 +0000 (00:00 +0200)]
author: Akos Kiss [Sat, 12 Sep 2020 21:59:18 +0000 (23:59 +0200)]
Message:
Remove execute permission from source and header files