Hugo Villeneuve
fc904031c8
Allow EM command to be specified without arguments
...
In this case, program will run from the current PC address until a breakpoint
is reached.
2014-01-26 17:50:52 -05:00
Hugo Villeneuve
c2ac9fc48f
Move macro definition to top of file
2014-01-26 15:38:55 -05:00
Hugo Villeneuve
cc6633f78b
Use log functions to display errors
2014-01-26 15:38:46 -05:00
Hugo Villeneuve
310d829f65
Fix error when specifying start address in CLI version
...
Start address was specified as "0x0000", but need to be "0000".
2014-01-26 15:09:23 -05:00
Hugo Villeneuve
e8c456321e
Add square root regression test
2014-01-26 00:25:48 -05:00
Hugo Villeneuve
b470088f1c
Return error for test files without any validation condition
2014-01-25 23:39:27 -05:00
Hugo Villeneuve
d74a41311f
Do not display eror message when simply pressing return in CLI version
...
Before was displaying message "Syntax error".
2014-01-25 18:56:10 -05:00
Hugo Villeneuve
a6ccc722bd
Add general-purpose timer to GUI
...
This timer is not part of the 8051 hardware. It is a free running
timer/counter added as a mean to quickly measure delays in instruction
cyles.
For now, it is implemented only in GUI version.
2014-01-25 17:38:50 -05:00
Hugo Villeneuve
656993ee5e
Add documentation about regression testing
2014-01-23 20:01:33 -05:00
Hugo Villeneuve
ff643bede1
Remove display of command line options in GUI mode
...
The information message was manually edited, which creates synchronization
problems now that we are using argp to manage our options.
2014-01-23 19:45:14 -05:00
Hugo Villeneuve
d230e5df59
Simplify options parsing code
2014-01-23 19:40:40 -05:00
Hugo Villeneuve
30f7307f61
emu8051 2.0.0
v2.0.0
2014-01-23 00:18:36 -05:00
Hugo Villeneuve
5e7b849e7d
Remove dynamic update of GUI layout
...
The application must restarted for the changes to take effect.
Added a message for telling this to the user.
2014-01-23 00:18:35 -05:00
Hugo Villeneuve
8f1773713c
Improve view/hide of memory windows
...
Do not restart whole GUI, just update vpaned containing
the two memory scroll windows.
2014-01-23 00:18:35 -05:00
Hugo Villeneuve
cc7dd9b04f
Remove deprecated view->sfr-window option
2014-01-22 23:32:10 -05:00
Hugo Villeneuve
9417a6bc0b
Fix error when toggling memory display viewing on/off
...
Only the first two rows were displayed. The crc_init variable
was not handled correctly.
2014-01-22 23:32:10 -05:00
Hugo Villeneuve
cec5fe02c3
Remove autogen.sh from distribution tarball
2014-01-14 22:57:45 -05:00
Hugo Villeneuve
6281db4c82
ChangeLog is now automatically generated from git log output
2014-01-14 22:57:45 -05:00
Hugo Villeneuve
34513fc19f
Fix compilation warning
2014-01-14 00:23:10 -05:00
Hugo Villeneuve
71c48441ed
Refactor memwin.c for internal and external memories
2014-01-14 00:19:59 -05:00
Hugo Villeneuve
877e908e7b
Change confusing variable name bits_per_row to bytes_per_row
2014-01-13 23:43:46 -05:00
Hugo Villeneuve
84a325ac72
Improve performance of GUI step operations
...
Use CRC to detect which memory rows have changed.
This is only to improve GUI performance when using stepping mode, as we then
only update rows which have been modified.
2014-01-13 23:36:37 -05:00
Hugo Villeneuve
b58acccaf0
Set external memory size default to 256
2014-01-13 22:40:56 -05:00
Hugo Villeneuve
0027047772
Set program memory size default to 65536
...
Before was set to 8192.
To make sure to not cause problems with bigger programs, or with small
programs that are split accross large memory regions.
2014-01-11 17:26:25 -05:00
Hugo Villeneuve
7f72e34564
Create common function for running instructions
2014-01-11 17:24:23 -05:00
Hugo Villeneuve
290e4eb58e
Fix warning for ignored return value for getline()
2014-01-03 03:19:32 -05:00
Hugo Villeneuve
3a89081827
Fix [-Wsign-compare] warnings
...
Original warning message:
emuconsole.c:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2014-01-03 03:18:02 -05:00
Hugo Villeneuve
dd7540145e
Merge ADD and ADDC operations into common function
2014-01-03 02:57:16 -05:00
Hugo Villeneuve
30d141860a
Fix code indentation
2014-01-03 02:37:18 -05:00
Hugo Villeneuve
4055176e86
Fix error with ADDC instruction
...
The carry flag was not added to the result.
2014-01-03 02:36:17 -05:00
Hugo Villeneuve
670bbd59fa
Add tests for ADD and ADDC instructions
2014-01-03 02:33:32 -05:00
Hugo Villeneuve
57f6d79aa0
Fix [-Wformat-security] warning
...
Original warning message:
emuconsole.c:316:3: warning: format not a string literal and no format arguments [-Wformat-security]
2014-01-03 01:58:18 -05:00
Hugo Villeneuve
702da8f531
Fix warnings about unused function parameters
2014-01-03 01:58:18 -05:00
Hugo Villeneuve
fa97a074e5
Fix [-Wmissing-field-initializers] warnings
2014-01-03 01:58:18 -05:00
Hugo Villeneuve
1590b0711f
Fix regression with ADDC instruction
...
Introduced when refactoring code with psw_set_ov() function.
2014-01-03 01:58:18 -05:00
Hugo Villeneuve
bd7be8da77
Add additional compile warning flags
...
Also changed way that warning flags are defined in autoconf files.
2014-01-03 01:58:18 -05:00
Hugo Villeneuve
5194d331cd
Move git ignore file list to build-aux
2013-12-10 23:05:32 -05:00
Hugo Villeneuve
955a5eaa95
Remove configure cache directory after running autoreconf
2013-12-10 22:34:09 -05:00
Hugo Villeneuve
1eb382f725
Separate cli and gtk sources into separate directories
...
Also added a common directory to hold common files to both interfaces,
and compiled into a static library.
2013-12-07 18:50:45 -05:00
Hugo Villeneuve
b8e00ae8a1
Remove obsolescent macro AM_PROG_CC_C_O
2013-12-07 18:50:39 -05:00
Anthony Liu
429bc0270f
Improve interrupt trigger code readability
2013-12-06 00:07:22 -05:00
Anthony Liu
2407d4a9a8
Fix bug when processing interrupts
...
Push current PC onto stack and take vector address from parameter.
2013-12-05 23:41:24 -05:00
Hugo Villeneuve
b95c4f897b
Add support for as504 assembler, with output file option
...
Patch is available here:
http://www.hugovil.com/repository/hvlinux/patches/as504-add-output-file-option.patch
This patch is usefull because it fixes a bug when testing the distribution
in a separate build directory like when using:
make distcheck
configure.ac automatically detects if as504 supports the option.
2013-12-02 21:59:30 -05:00
Hugo Villeneuve
cca33e1d25
Add support for as504 assembler
2013-12-02 21:18:44 -05:00
Hugo Villeneuve
187e9a2c6c
Fix bug when using separate build directory to create symbolic link
2013-12-01 23:33:18 -05:00
Hugo Villeneuve
96a44157eb
Replace CALL by LCALL for compatibility with AS31 and AS504 assemblers
2013-12-01 23:31:51 -05:00
Hugo Villeneuve
091899a37a
Remove CSEG directive for compatibility with AS31 and AS504 assemblers
2013-12-01 23:02:09 -05:00
Hugo Villeneuve
7977d9426b
Remove currently unsupported option to set iram size
2013-12-01 21:20:49 -05:00
Hugo Villeneuve
fb189bd5ce
Fix CPPFLAGS for each target (CLI and GTK)
2013-12-01 21:00:08 -05:00
Hugo Villeneuve
5088955838
Change way tests are enabled/disabled by asem presence
2013-12-01 21:00:08 -05:00