Greg King
9c55bd1c96
Fixed bugs in the interface for C-level interrupt handlers.
...
* Added an important ".code" directive.
* Import a linker-created zero-page symbol as an absolute address; then, convert it to zero-page when it is used.
Fixes bug report #198 .
2015-08-26 19:33:34 -04:00
Oliver Schmidt
a85ac88fca
Merge pull request #197 from greg-king5/static
...
Handle almost-duplicate C declarations that have different linkages.
2015-08-15 06:53:40 +02:00
Oliver Schmidt
819f3ff8f4
Merge pull request #196 from greg-king5/tests
...
Remove pointless rules from a regression test makefile.
2015-08-14 09:04:20 +02:00
Greg King
6ed3d055cb
Removed redundant attempts to build uncompilable files.
2015-08-13 17:47:02 -04:00
Greg King
1baecf4a15
Added regression tests of diagnostics for conflicts between extern/public and static declarations.
2015-08-13 03:39:35 -04:00
Greg King
6032849e60
Added warning diagnostics for conflicts between extern/public and static declarations.
2015-08-10 13:39:17 -04:00
Greg King
4e9842ef33
Stopped extern declarations from changing previous static, but otherwise identical, declarations.
2015-08-09 06:27:05 -04:00
Greg King
d36f31dcff
Improved the format of the global symbols' lists of flags, in cc65's debugging output.
2015-08-08 22:04:38 -04:00
Oliver Schmidt
6f24c07836
Merge pull request #190 from greg-king5/zeropage-doc
...
Fix an obsolete description of ca65's .ZEROPAGE directive.
2015-08-01 13:28:42 +02:00
Greg King
05df907114
Fixed the syntax in the shortcut expansion of ".ZEROPAGE".
...
Added a reference from ".SEGMENT" to ".ZEROPAGE".
2015-08-01 05:50:13 -04:00
Oliver Schmidt
03fcf1d9d5
Merge pull request #188 from greg-king5/docs
...
65816 assembler document fix.
2015-07-29 14:48:38 +02:00
Greg King
a55b6ef3db
Removed obsolete lines from a list of 65816 mnemonic aliases.
...
Described what the macroes in macro package "generic" do.
2015-07-29 06:55:50 -04:00
Oliver Schmidt
af5d097920
Merge pull request #183 from Movax12/linecont-bug
...
Fix bug #182
2015-07-25 17:52:49 +02:00
Oliver Schmidt
657cc003be
Merge pull request #184 from greg-king5/fastcall
...
Update some fastcall info.
2015-07-23 17:11:49 +02:00
Greg King
52eec1f236
Updated the fastcall information in a document and two Assembly files.
2015-07-22 13:31:14 -04:00
Oliver Schmidt
673b27cc1b
Added empty IRQ backend.
...
The driver kernels all require IRQ handling even if the actual drivers don't make use of it. So in order to successfully link a NES program using the joystick and/or TGI driver there has to be at least a "dummy" IRQ backend.
2015-07-22 11:36:54 +02:00
JT
cacc5e2ace
Style again
2015-07-20 19:16:48 -04:00
JT
10579d0421
Fix style
2015-07-20 19:12:30 -04:00
JT
c3d083fe33
Fix bug #182
2015-07-20 18:55:25 -04:00
Oliver Schmidt
db16a8eb24
Merge pull request #181 from Movax12/base10bug
...
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
2015-07-20 18:05:23 +02:00
Oliver Schmidt
384b6e27d1
Merge pull request #180 from greg-king5/sprintf
...
Make the sprintf() family of functions handle special argument conditions.
2015-07-20 18:02:14 +02:00
Oliver Schmidt
1d5ed2e2a7
Merge pull request #179 from greg-king5/overlay
...
Add overlay-samples make-rules.
2015-07-20 18:00:56 +02:00
Oliver Schmidt
1072f7d6f7
Made hello program compatible with joystick-only target(s).
2015-07-20 07:46:18 +02:00
JT
b79687da2b
Fix base 10 bug (ca65 allows 'a' or 'A' in base10 value)
2015-07-19 18:56:42 -04:00
Greg King
a9982de475
Added _directerrno() to the sim6502/sim65c02 libraries.
2015-07-18 18:23:08 -04:00
Greg King
0b6bcb565e
Fixed a hardware-stack leak.
2015-07-17 20:36:56 -04:00
Greg King
dd7e55820c
Added a test program for the special features of snprintf().
2015-07-17 20:34:05 -04:00
Greg King
25cf239d80
Added make rules that build the overlay sample programs.
...
Fixes half of bug issue 178 (on GitHub).
2015-07-16 15:31:35 -04:00
Oliver Schmidt
71530f3f5d
Merge branch 'mrdudz-pointer'
2015-07-16 16:05:50 +02:00
Oliver Schmidt
d3eebc8fcf
Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
2015-07-15 12:24:09 +02:00
Oliver Schmidt
a79b17515e
Merge pull request #158 from Movax12/definedmacro
...
Added .DEFINEDMACRO psuedo function
2015-07-12 13:32:03 +02:00
JT
55adf03bdf
Move FuncIsMnemonic
2015-07-11 19:09:42 -04:00
Oliver Schmidt
b7b77a75f8
Merge pull request #174 from mrdudz/testsuite
...
use rm -r instead of rmdir, and use -f for rm
2015-07-11 15:37:56 +02:00
mrdudz
5ceffa1f70
Merge remote-tracking branch 'upstream/master' into testsuite
2015-07-11 12:44:06 +02:00
Oliver Schmidt
50b0536222
Ignore return values only with CMD.EXE MkII.
...
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-11 00:01:39 +02:00
Oliver Schmidt
992f0f03c5
Ignore return values only with CMD.EXE.
...
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-10 22:39:53 +02:00
mrdudz
1380c68cf3
workaround for cmd.exe rmdir
2015-07-10 20:04:31 +02:00
mrdudz
12a3e6841c
tests for illegal pointer operations that must always fail
2015-07-10 18:38:54 +02:00
mrdudz
6ab197f364
patch from Uz that makes some illegal operations on pointers error out
2015-07-10 14:27:49 +02:00
mrdudz
ad97b1b08e
removed -f again, as that is the default. also removed "-" before the actual comments, which were the workaround previously
2015-07-10 11:11:41 +02:00
mrdudz
6970053023
use rm -r instead of rmdir, and use -f for rm, that makes subsequent runs of "make clean" not fail
2015-07-10 10:43:00 +02:00
Greg King
146daa1d0a
Made some string output functions reject an invalid NULL buffer pointer.
2015-07-09 14:46:28 -04:00
Oliver Schmidt
bdb01212c2
Merge pull request #173 from mrdudz/testsuite3
...
two more tests
2015-07-09 18:46:07 +02:00
mrdudz
28d65d595d
two more tests
2015-07-09 17:36:12 +02:00
Greg King
219905c6bc
Fix two string output functions' handling of their buffer-size parameter.
...
That parameter's type is unsigned; but, the functions return an int. If the size is too big for a signed integer, then return an error code.
If the size is zero, then don't write anything into a buffer (the buffer pointer may be NULL). But, do format and count the arguments.
2015-07-09 10:43:45 -04:00
Oliver Schmidt
74074a20b2
Merge pull request #164 from greg-king5/testsuite
...
Adjust some new test programs.
2015-07-01 20:58:56 +02:00
Oliver Schmidt
2cf379eab7
Merge pull request #165 from greg-king5/array-pointer
...
Fix pointer-to-array indirection bug.
2015-07-01 20:54:15 +02:00
Greg King
ba03d28731
Removed some trailing whitespace; and, expanded a tab.
2015-07-01 10:09:11 -04:00
Greg King
8189339e7d
Added special-case compiler code that handles a pointer-to-array dereference.
...
The type needs to change (to array); but, the address shouldn't be changed -- it already points to the first element.
Based on a bug analysis by Daniel Serpell.
2015-07-01 06:55:57 -04:00
Greg King
0e6008e9e6
Added a regression test for pointer-to-array dereferences.
2015-07-01 06:54:05 -04:00