268 Commits

Author SHA1 Message Date
fd4e033818
添加说明 2025-03-09 19:45:37 +08:00
fba01e9ed4
修复编译错误 2025-03-09 19:31:22 +08:00
Hugo Villeneuve
73774e5974 Implement workaround for flex --header-file option
This is fixed in automake 1.12 and later.

The problem is that the ylwrap helper script creates a temporary directory
when running flex. Flex then correctly creates the scanner.h file inside this
temporary directory, but ylwrap does not copy it back to the build dir.
2014-11-06 22:32:08 -05:00
Hugo Villeneuve
c7eae29d2f Rename perl sources variable to avoid confusion
Variables ending with _SOURCES are specific to automake.
2014-11-06 20:59:22 -05:00
Hugo Villeneuve
b1c46135a4 Replace LEX macro with preferred one 2014-11-06 00:41:39 -05:00
Hugo Villeneuve
9cd867c94a Cleanup of autoconf files 2014-04-09 00:19:49 -04:00
Hugo Villeneuve
121bcb38f2 opcodes2c.pl: Add command line options
Argument 1 is opcodes list filename
Argument 2 is the output directory.

These arguments are necessary if we want to generate the C source
files and headers in a separate build directory.
2014-04-09 00:18:07 -04:00
Hugo Villeneuve
7d0bd87bf6 Save window position in configuration file 2014-04-08 22:39:50 -04:00
Hugo Villeneuve
9241cbf30e Allow to override window geometry on the command line 2014-04-08 22:39:50 -04:00
Hugo Villeneuve
3e3b891049 Change project's website URL 2014-04-08 14:31:07 -04:00
Hugo Villeneuve
486bd979e3 Add missing include file
There was no bug, code was compiling correctly. Just for clarity.
2014-04-08 14:29:29 -04:00
Hugo Villeneuve
2f8c619857 Remove unnecessary AM option parallel-tests 2014-04-07 00:10:00 -04:00
Hugo Villeneuve
3ca737ea38 Convert to automake gnits option 2014-04-06 23:46:40 -04:00
Hugo Villeneuve
972da42d11 Fix Makefile.am indentation 2014-04-06 23:10:23 -04:00
Hugo Villeneuve
d1392836d0 Convert to LIBTOOL 2014-04-06 23:03:24 -04:00
Hugo Villeneuve
acff1c38b1 Add option -Wno-extra-portability to AM_INIT_AUTOMAKE
To get rid of warning:
  linking libraries using a non-POSIX archiver requires 'AM_PROG_AR'...
2014-04-06 22:40:02 -04:00
Hugo Villeneuve
f7e3f1d8d0 Add option no-define to AM_INIT_AUTOMAKE
No need to define all variables on the compiler command line since
they are already defined in the config.h header file.
2014-04-06 22:36:16 -04:00
Hugo Villeneuve
b89d7661e7 Put automake macros together 2014-04-06 22:27:48 -04:00
Hugo Villeneuve
b5d52c94a7 emu8051 2.0.1 2014-03-22 14:24:24 -04:00
Hugo Villeneuve
e45e088e0d Convert manpage to UTF-8 2014-03-16 21:25:17 -04:00
Hugo Villeneuve
3edaa24acc Add tests for CLI version commands 2014-02-17 23:06:51 -05:00
Hugo Villeneuve
401c1d7060 Do not display registers at CLI version startup
This is to help testing the "dr" command, to be able to match
default register values.
2014-02-17 23:06:44 -05:00
Hugo Villeneuve
ab28e54867 Add proper error checking in asciihex2int functions 2014-02-16 01:51:47 -05:00
Hugo Villeneuve
4c4ca66c31 Dont exit in case of hexfile reading failure 2014-02-15 18:07:29 -05:00
Hugo Villeneuve
fbbb71d6d8 Replace disam.h with opcodes{h,c}
Also rename opcode2c.pl -> opcodes2c.pl
2014-02-15 01:43:32 -05:00
Hugo Villeneuve
7abd6d07ea Fix comment after cleanup 2014-02-15 00:45:16 -05:00
Hugo Villeneuve
c91e69d435 Fix splint warnings 2014-02-15 00:45:16 -05:00
Hugo Villeneuve
e417485aaf Fix C99 standard types uintN_t 2014-02-15 00:13:21 -05:00
Hugo Villeneuve
87daca654d Remove unused header file includes 2014-02-13 00:37:58 -05:00
Hugo Villeneuve
c69c15d65b Fix test script to work in external build directory 2014-02-13 00:25:19 -05:00
Hugo Villeneuve
00deadc94f Shorten memory_ functions prefix to mem_ in memory.c 2014-02-13 00:25:19 -05:00
Hugo Villeneuve
8bfc53036a Fix checkpatch warnings 2014-02-13 00:25:19 -05:00
Hugo Villeneuve
ba0e6b3b86 Move memory read functions to memory.c
Fix warnings given by checkpatch.pl
2014-02-13 00:25:19 -05:00
Hugo Villeneuve
4c9cf2f222 Fix auto-generated C source files indentation 2014-02-13 00:25:19 -05:00
Hugo Villeneuve
1d394c78b9 Remove unnecessary column in opcodes.lst
Begin to cleanup Perl code
2014-02-13 00:25:18 -05:00
Hugo Villeneuve
dc0e2b9353 Remove duplicate code for disassembly 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
5419d1bd9d Fix checkpatch warnings 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
3c838204cd Shorten GPLv2 licence text in header of each source file 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
75172f0ea5 Add up to 4 emulator timers 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
93c2708bee Rename DumpMem function -> memory_dump 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
888cea8f85 Add more error checking for CLI version arguments 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
8e5b455c12 Cleanup help menu 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
f2fba46bfe Add support for GNU readline
readline input is fed into Lex.

This adds commands history.

There is also a configure option to disable readline support.
2014-02-13 00:25:18 -05:00
Hugo Villeneuve
1466890269 Rename CLI and GUI versions main source files 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
f2f9b967b4 Allow hex numbers to begin with 0x or $ prefix in scanner 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
7c267c5882 Allow to set all SFR registers in CLI version 2014-02-13 00:25:18 -05:00
Hugo Villeneuve
a43a2e343e Add new value range check when writing register in CLI version
The GUI version also had this check, so the functionality has been merged.
2014-02-13 00:25:17 -05:00
Hugo Villeneuve
c7d14532b0 Convert CLI version input parsing to Lex/Yacc
Some error checking is still missing, but all commands seem to be
working correctly.

Update CLI help menu.
2014-02-13 00:25:17 -05:00
Hugo Villeneuve
fd418e0f87 Remove address parameter from RUN and TRACE CLI commands
Also automatically display register contents after each RUN operation.
2014-02-06 23:07:02 -05:00
Hugo Villeneuve
ce650967bd Add general-purpose timer to CLI
Also add command to reset it.
2014-01-26 18:33:53 -05:00