Oliver Schmidt
1ee57eeea4
Merge pull request #202 from greg-king5/argv-null
...
Fix the preparation of tool command lines.
2015-08-31 17:34:28 +02:00
Greg King
58e56ba24d
Changed multi-line C comments in files that I missed in commit 0390c34e88
.
2015-08-30 08:43:54 -04:00
Greg King
d280d2610e
Don't count the NULL (doh!).
2015-08-30 07:55:35 -04:00
Greg King
a132bc4b28
Fixed a comparison operator; so that the NULL at the end of argv[] is copied by InitCmdLine().
...
Most POSIX function libraries hid that long-time bug by putting zeroes in their dynamic RAM; but, MinGW's library doesn't do it. Therefore, a command like
cl65 foo.c -l
would crash with a "Segmentation fault" -- it should give a nice error message about "-l"; and, quit neatly.
2015-08-30 05:16:38 -04:00
mrdudz
57b8af1adc
style fixes
2015-08-29 15:58:57 +02:00
Oliver Schmidt
a468a2e109
Merge pull request #199 from greg-king5/irq
...
Fix source-code bugs that cause linking problems when set_irq() is used in a program.
2015-08-27 11:35:48 +02:00
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
dd75d3f884
Don't show (potentially failing) pull request builds.
2015-08-25 13:57:21 +02: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
mrdudz
0e29a0993f
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-07-20 18:42:04 +02: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
mrdudz
4afcfb3498
fixed hello.c for pce
2015-07-20 16:03:03 +02:00
mrdudz
f17850cf00
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-07-20 15:59:05 +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
mrdudz
313d2dd210
added missing chline, cvline
2015-07-19 18:06:16 +02:00
mrdudz
1e2d9f1796
fixed hline/vline
2015-07-19 13:36:27 +02: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
mrdudz
996c7b493e
moved all notes into regular documentation
2015-07-16 21:39:13 +02: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
mrdudz
e77060458a
fixed joypad bits
2015-07-16 20:15:05 +02:00
mrdudz
3119be2a1e
added some cbm-like gfx chars to draw lines and boxes
2015-07-16 17:33:00 +02:00
mrdudz
d229d51be5
make sure clocktick starts at zero
2015-07-16 16:54:40 +02:00
mrdudz
21d7729ad1
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-07-16 16:46:24 +02:00
Oliver Schmidt
71530f3f5d
Merge branch 'mrdudz-pointer'
2015-07-16 16:05:50 +02:00
mrdudz
21ef6b8510
fixed screensize, timertick, revers mode
2015-07-16 16:00:32 +02:00
mrdudz
1414411bba
added waitvblank and fixed get_tv
2015-07-15 19:46:26 +02:00
mrdudz
c3d45e4c47
fixed issues found by gregg
2015-07-15 13:18:12 +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