Oliver Schmidt
bc58bf572c
Fixed -W cmdline option handling.
...
Reverted part of 3157e4be1e
as it actually introduced a regression.
It doesn't make sense to check for Arg[3] == '\0' _before_ checking Arg[2] != '\0'. This made the Win32 builds fail to correctly parse e.g. cl65 -W unused-var test.c
2018-03-05 22:31:10 +01:00
Oliver Schmidt
19f3229f45
Made 'wrapped call' code build with VS 2015.
2018-03-05 20:44:32 +01:00
Oliver Schmidt
c3610aa971
Updated from Visual Studio 2013 to Visual Studio 2015.
2018-03-05 20:42:37 +01:00
prandeamus
1a95be9c3a
65C02 JMP (ind,x) opcode 7C
2018-01-14 19:42:29 +00:00
prandeamus
009f56afb6
65C02 version too.
2018-01-13 22:42:39 +00:00
prandeamus
c23f264fe4
Call ParaVirtHooks on JMP (indirect)
2018-01-13 18:30:53 +00:00
Oliver Schmidt
9229bb1f3e
Merge pull request #571 from greg-king5/win64
...
Change the type of a cc65 variable that holds both integers and pointers.
2018-01-10 12:48:28 +00:00
Greg King
c67e90dd19
Changed the type of a compiler variable that holds either integers or pointers.
...
The change allows cc65 to be compiled on 64-bit Windows, without getting warnings. That OS is actually 32 bits with 64-bit pointers. Its pointers are "long long" instead of "long". The change uses type-names that are configured for the actual pointer width.
2018-01-09 05:34:16 -05:00
prandeamus
e7aabce8e9
Complain if unsupported flags are provided after -O
2018-01-07 18:57:48 +00:00
bauen1
60c68b1111
cl65 now links against none.lib when using --target none
2018-01-04 17:11:44 +01:00
greg-king5
c8dd88efad
Added missing "break;" statements to a "switch" statement.
2017-12-18 17:09:06 -05:00
Oliver Schmidt
e485e96de0
Suppress potential svnversion error output.
2017-11-30 19:17:45 +01:00
Stefan
7e4db1fdd6
Option removed
2017-11-22 18:17:43 +01:00
Stefan
44b13c1ca0
Subversion fallback
...
If you use don't use Git to access the repository, you will still get a revision number.
2017-11-22 01:02:02 +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
Oliver Schmidt
c8d6ca908d
Minor style fix.
2017-10-23 18:22:51 +02:00
Lauri Kasanen
ca4ed290d5
cl65: Add support for --all-cdecl
2017-10-03 18:46:39 +03:00
Oliver Schmidt
5d333239c6
Merge pull request #468 from pmjdebruijn/samples
...
make changes
2017-07-23 02:09:20 +02:00
Pascal de Bruijn
19f6ae1d54
make: change uppercase prefix var
2017-07-22 16:38:50 +02:00
Pascal de Bruijn
6e93c1ba73
pragma: add minimalist message pragma implementation
...
for example:
#pragma message ("in a bottle")
results in:
hello.c(207): Note: in a bottle
2017-07-19 17:58:13 +02:00
Pascal de Bruijn
ea7f4d7489
pragma: bring pragma_t enum in line with Pragmas struct
...
fixes an inconsequential inconsistency, might prevent some
confusion in the future.
2017-07-17 19:43:11 +02:00
Piotr Fusik
c0812670c1
Fix coding style.
2017-06-30 07:35:21 +02:00
Piotr Fusik
b31ae57be1
Make some arrays const.
2017-06-28 20:43:31 +02:00
Greg King
d3ccc289c1
Stopped cc65 from putting redundant .segment directives into its Assembly output.
2017-06-16 21:53:50 -04:00
Oliver Schmidt
682fd226ae
Merge pull request #442 from polluks/patch-6
...
Use verbosity
2017-06-03 22:06:27 +02:00
Stefan
80feb80168
Update main.c
2017-05-28 16:17:34 +02:00
Stefan
49e22f566f
Update main.c
2017-05-28 15:29:49 +02:00
Stefan
ea9430e28e
Update list.c
2017-05-28 15:22:33 +02:00
Stefan
c9c2562c14
Update list.c
2017-05-28 15:13:43 +02:00
Stefan
843c5442b1
Update list.c
2017-05-28 13:13:53 +02:00
Stefan
9bdcb0a31b
More POSIX.2, staying compatible
2017-05-28 00:35:38 +02:00
Stefan
ff33939385
Use verbosity
2017-05-28 00:29:53 +02:00
Oliver Schmidt
1bbe7043e1
Merge pull request #426 from MonteCarlos/master
...
added -E switch to cl65 for >>stop after the preprocessing stage<<.
2017-05-24 09:44:24 +02:00
mc78
f87a575d4d
added missing spaces before braces. added unknown option msg if not given -Wc|l|a when passing options to subprocess
2017-05-23 22:57:27 +02:00
mc78
21b1add984
added four escaped tabs to -E Stop after .... description
2017-05-22 23:21:55 +02:00
mc78
3157e4be1e
added empty lines and spaces according to olivers comments. Made local functions static.
2017-05-22 23:07:31 +02:00
Oliver Schmidt
1c54213091
Merge pull request #433 from clbr/trampoline-fixes
...
Trampoline fixes
2017-05-20 12:29:10 +02:00
Lauri Kasanen
e8a735492d
Correct comment style
2017-05-19 15:38:50 +03:00
Lauri Kasanen
901ac80026
Wrapper functions use all registers
2017-05-19 15:25:50 +03:00
Oliver Schmidt
16a2beaaca
Adjusted VS project files to commit 11b01b908d
2017-05-18 22:40:18 +02:00
Oliver Schmidt
11b01b908d
Merge pull request #424 from clbr/trampoline
...
Trampoline support
2017-05-18 16:29:34 +02:00
Lauri Kasanen
219b239a34
Adjustments in response to latest comments
2017-05-18 17:14:26 +03:00
Lauri Kasanen
4c05c46cd1
Remove RAM-trampoline array support
2017-05-18 16:11:39 +03:00
Lauri Kasanen
f6fa74a636
Rename trampoline to wrappedcall everywhere
2017-05-18 16:00:04 +03:00
Lauri Kasanen
7feced8862
More tabs to spaces
2017-05-18 15:54:47 +03:00
Lauri Kasanen
a590b99f5b
Align with spaces instead of tabs here
2017-05-18 14:21:43 +03:00
Oliver Schmidt
390ee4e22f
Merge pull request #429 from pfusik/opt-stdfunc
...
Optimize the inlined strlen/memcpy/memset
2017-05-17 22:58:54 +02:00
Oliver Schmidt
f151142e6a
Keep GCC from complaining about 'List' may be used uninitialized in this function.
2017-05-17 19:39:02 +02:00
Oliver Schmidt
298dda0e71
Increased GCC optimization level.
2017-05-17 18:30:35 +02:00
Piotr Fusik
675dd3c963
Optimize the inlined memcpy/memset for the sizes of 128/129.
2017-05-17 10:08:08 +02:00