Greg King
44c82eb1c3
Made da65 disassemble branch instructions with relative address expression operands if there's no label.
2020-07-21 18:43:32 -04:00
Greg King
2fc24847ac
Fixed an error message printer.
...
The disassembler can be built and won't crash if it sees duplicate labels, and one of them is an unnamed label.
2020-03-11 18:07:08 -04:00
Greg King
a6b04f6e97
Changed most "backticks" (grave accents) into apostrophes.
...
Quotations that are embraced by tick marks now look better, in most fonts.
2019-01-05 14:57:12 -05:00
Greg King
cd6e167982
Fixed a duplicate-label test.
...
Don't call strcmp() if either argument is NULL.
2019-01-04 02:29:17 -05:00
Egor
0149de4da7
da65: properly scan empty strings
...
Previously, doing something like `LABEL { NAME ""; ADDR $1000; };` would
result in $1000 being labeled as NAME: instead of being unnamed.
2018-10-06 21:55:42 +03:00
AIDA Shinra
31fdec2e2e
Style fix
2018-06-25 23:50:46 +09:00
AIDA Shinra
fd67284b4d
Followed the discussions in the Pull request #682 .
...
* Fixed a misspelling
* Fixed styles
* Added sample codes
2018-06-14 02:02:16 +09:00
AIDA Shinra
2b25329423
Support for preprocessing info file via cpp or m4.
2018-06-14 02:02:16 +09:00
AIDA Shinra
75c4972021
Style and alignment fixes.
2018-06-13 21:24:34 +09:00
AIDA Shinra
03bb2f6a48
Followed discussions in the Pull reequest #681 .
...
In particular, renamed "virtual operands" to "inline parameters".
2018-06-12 00:18:11 +09:00
AIDA Shinra
9283e9ca98
Support for "virtual operands" of subroutines like this:
...
jsr SomeProc
.byte $00, $01 ; argument to SomeProc
; return here from SomeProc
bit $3F
2018-06-10 18:09:11 +09:00
Oliver Schmidt
8b3e12d632
Added missing ror absolute override.
...
Fixes https://github.com/cc65/cc65/issues/489 as suggested by EtchedPixels.
2018-03-12 12:14:25 +01:00
Greg King
de1f80571a
Fixed the way that the disassembler looks for the end of a segment.
...
It checks only the bytes that actually were printed. It won't show a bad error message when disassembling address $0000. Fixes #506 on cc65's Github project.
2017-10-31 00:47:07 -04:00
Piotr Fusik
b31ae57be1
Make some arrays const.
2017-06-28 20:43:31 +02:00
Sven Oliver Moll
2d76d0a657
da65: 4510 support
...
- cleaned up unnecessary static function
- adjusted table formatting
2016-09-23 13:10:38 +02:00
Sven Oliver Moll
d0ed84c2d0
da65: adding support for 4510 cpu of c65
2016-09-20 17:37:10 +02:00
Greg King
4b2e3be2fc
Fixed some bugs in da65's HuC6280 section.
2016-09-02 14:24:29 -04:00
Chris Cacciatore
bad8412131
All programs print version and exit successfully.
...
* All programs are now using the ProgName variable as well.
2016-08-12 08:54:41 -07:00
Greg King
33b1d82791
Added the WDC65c02S WAI and STP mnemonics to the disassembler.
2016-08-02 16:38:39 -04:00
Oliver Schmidt
83549e2321
Merge pull request #142 from greg-king5/disassemble-segment
...
da65's segments feature
2014-12-03 14:07:12 +01:00
Greg King
1446d99b14
Clarified a segment error message.
2014-11-30 00:51:09 -05:00
Greg King
155f00f25e
Fixed the detection of where to start and stop segments.
2014-11-30 00:40:45 -05:00
Greg King
0ee891c106
Completed the coding of da65's SEGMENT feature.
...
Before this commit, we could define segment ranges; but, the disassembler wouldn't do anything with those definitions. Now, da65 will put ".segment" directives into its output.
Fixed da65's document.
2014-11-23 15:29:16 -05:00
mrdudz
cf82bfaf37
renamed KIL to the more common JAM, which is also accepted by ca65
2014-11-19 22:54:33 +01:00
Greg King
0390c34e88
Changed multi-line C comments into another style.
...
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
4185caf855
Normalized code.
2014-03-04 01:11:19 +01:00
Oliver Schmidt
85885001b1
Removed (pretty inconsistently used) tab chars from source code base.
2013-05-09 13:57:12 +02:00
Oliver Schmidt
f2f3c8addf
No copyright message here.
2013-04-27 17:39:52 +02:00
Oliver Schmidt
052b229f86
Replaced whole bunch for Makefiles with a single generic Makefile.
...
- Targeting GNU toolchain.
- Modern dependency handling.
- Warning-free build.
- GCC option -Werror set.
- Dynamic search paths.
- Don't write into source directories.
- Easy cleanup by just removing 'wrk'.
2013-04-27 17:20:36 +02:00
Oliver Schmidt
b45b6789a4
In general "\%s" doesn't seem to be a valid printf format specifier. Given where it originally came from and how OneLine() is used elsewhere I'm pretty sure that it should rather read "%s".
2013-04-27 17:20:30 +02:00
uz
45f7cc1403
Support for the Mitsubishi 740 CPU for da65. Written and contributed by
...
Chris Baird, cjb@brushtail.apana.org.au .
git-svn-id: svn://svn.cc65.org/cc65/trunk@5350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-31 13:09:55 +00:00
uz
3b9032a7c4
Added disassembler support for the NMOS 6502 with illegal opcodes.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-06 16:04:46 +00:00
uz
7c1cd6c8d8
Added two new global options, NewlineAfterJMP and NewlineAfterRTS.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-05 16:03:06 +00:00
uz
338844cb2e
Patch by Gary Wong: The smbx and rmbx instructions are two byte insns (not one
...
byte).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-30 19:35:10 +00:00
uz
6c0a9c0438
Patch to correct the linkorder in the make files to make the --as-needed
...
ldflag work. By Mario Fetka.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-07 11:34:51 +00:00
uz
327c989d8b
Support for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 20:04:27 +00:00
uz
0b4c486a49
Replace tabs by spaces in file lists.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:32:09 +00:00
uz
3d1ee0f974
Fixes for the watcom makefiles:
...
* Increase the stack size to 64K (instead of 4096). This solves a
memory overwrite problem with the DOS version.
* Generate a mapfile, but set it to "ignored" in svn.
* Be somewhat more specific in zap.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:08:23 +00:00
uz
4056e97587
Use "override" when appending to CFLAGS, so this works even when CFLAGS is
...
specified on the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:06:35 +00:00
uz
7b847321a8
Move the version numbers from the interface of the version module into a new
...
implementation. Allow for release candidates to be specified and disinguished.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 20:10:01 +00:00
uz
85f96a7d6f
Fixed warnings generated by clang (run by Per Olofsson).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 15:59:18 +00:00
uz
2cc68784cc
Make the watcom makefiles a bit more openwatcom compatible.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 18:40:00 +00:00
uz
b8e665e837
Change the makefiles so that CFLAGS that are special for the application are
...
appended after assigning the base value to CFLAGS. This allows to change
CFLAGS on the command line without too much hassle.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 15:07:11 +00:00
uz
5b0323771a
Add some code that avoids outputing a forward label in the same line as a
...
normal label. It works but looks bad.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3971 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-06 20:33:06 +00:00
uz
823d0b7636
Makefile cleanup. Among other things, allow use of the --as-needed linker flag
...
by rearranging arguments for the linker.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3922 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-08 17:19:45 +00:00
uz
4812feb44b
git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-02 22:02:54 +00:00
cuz
b5511acf6f
Fixed an error
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-26 22:19:01 +00:00
cuz
9174f65e54
Make much more usage of dynamic strings (StrBufs) instead of char* and
...
friends. Since names and other strings are now StrBufs in many places, code
for output had to be changed.
Added support for string literals to StrBuf.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-31 20:54:45 +00:00
cuz
a4b43370e7
More segment support stuff.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3806 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-09-02 19:49:12 +00:00
cuz
8db6dcd414
Started to add support for segments.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-31 20:27:53 +00:00