]> git.sur5r.net Git - cc65/log
cc65
7 years agoMerge pull request #438 from bbbradsmith/ca65_rand_comment
Oliver Schmidt [Fri, 26 May 2017 13:16:42 +0000 (15:16 +0200)]
Merge pull request #438 from bbbradsmith/ca65_rand_comment

rand.s comment update

7 years agoMerge pull request #441 from polluks/patch-3
Oliver Schmidt [Fri, 26 May 2017 09:03:57 +0000 (11:03 +0200)]
Merge pull request #441 from polluks/patch-3

Small typo

7 years agoMerge pull request #440 from polluks/patch-5
Oliver Schmidt [Fri, 26 May 2017 09:03:06 +0000 (11:03 +0200)]
Merge pull request #440 from polluks/patch-5

Also Oricutron mentioned

7 years agoMerge pull request #439 from polluks/patch-4
Oliver Schmidt [Fri, 26 May 2017 09:02:02 +0000 (11:02 +0200)]
Merge pull request #439 from polluks/patch-4

Some clean-up

7 years agoOricutron mentioned 440/head
Stefan [Thu, 25 May 2017 23:44:33 +0000 (01:44 +0200)]
Oricutron mentioned

7 years agodetectabl > detectable 438/head
Brad Smith [Thu, 25 May 2017 07:20:11 +0000 (03:20 -0400)]
detectabl > detectable

7 years agoforgot to update comments from earlier #323 rand.s change
Brad Smith [Thu, 25 May 2017 07:01:25 +0000 (03:01 -0400)]
forgot to update comments from earlier #323 rand.s change

7 years agoAdded "html" and "info" goals to the top-level Makefile.
Greg King [Wed, 24 May 2017 22:49:02 +0000 (18:49 -0400)]
Added "html" and "info" goals to the top-level Makefile.

They are for people who don't want to build both types of documents at the same time.

7 years agoMerge pull request #437 from greg-king5/cl65-E
Oliver Schmidt [Wed, 24 May 2017 21:41:16 +0000 (23:41 +0200)]
Merge pull request #437 from greg-king5/cl65-E

Add a "-E" description to cl65's document.

7 years agoAdded a description of the "-E" command-line option to cl65's document. 437/head
Greg King [Wed, 24 May 2017 20:47:12 +0000 (16:47 -0400)]
Added a description of the "-E" command-line option to cl65's document.

Improved other descriptions, to make them more consistent and accurate.

7 years agoMerge pull request #426 from MonteCarlos/master
Oliver Schmidt [Wed, 24 May 2017 07:44:24 +0000 (09:44 +0200)]
Merge pull request #426 from MonteCarlos/master

added -E switch to cl65 for >>stop after the preprocessing stage<<.

7 years agoclean-up 439/head
Stefan [Tue, 23 May 2017 22:04:52 +0000 (00:04 +0200)]
clean-up

7 years agoadded missing spaces before braces. added unknown option msg if not given -Wc|l|a... 426/head
mc78 [Tue, 23 May 2017 20:57:27 +0000 (22:57 +0200)]
added missing spaces before braces. added unknown option msg if not given -Wc|l|a when passing options to subprocess

7 years agotypo 441/head
Stefan [Mon, 22 May 2017 21:53:51 +0000 (23:53 +0200)]
typo

7 years agoadded four escaped tabs to -E Stop after .... description
mc78 [Mon, 22 May 2017 21:21:55 +0000 (23:21 +0200)]
added four escaped tabs to -E Stop after .... description

7 years agoadded empty lines and spaces according to olivers comments. Made local functions...
mc78 [Mon, 22 May 2017 21:07:31 +0000 (23:07 +0200)]
added empty lines and spaces according to olivers comments. Made local functions static.

7 years agoMerge pull request #433 from clbr/trampoline-fixes
Oliver Schmidt [Sat, 20 May 2017 10:29:10 +0000 (12:29 +0200)]
Merge pull request #433 from clbr/trampoline-fixes

Trampoline fixes

7 years agoMerge pull request #435 from greg-king5/wrapped-call
Oliver Schmidt [Sat, 20 May 2017 10:28:24 +0000 (12:28 +0200)]
Merge pull request #435 from greg-king5/wrapped-call

Add more info to the docs about "#pragma wrapped-call".

7 years agoUpdate test description 433/head
Lauri Kasanen [Sat, 20 May 2017 06:53:30 +0000 (09:53 +0300)]
Update test description

7 years agoAdded more info to the documentation of "#pragma wrapped-call". 435/head
Greg King [Sat, 20 May 2017 05:41:49 +0000 (01:41 -0400)]
Added more info to the documentation of "#pragma wrapped-call".

7 years agoCorrect comment style
Lauri Kasanen [Fri, 19 May 2017 12:38:50 +0000 (15:38 +0300)]
Correct comment style

7 years agoWrapper functions use all registers
Lauri Kasanen [Fri, 19 May 2017 12:20:36 +0000 (15:20 +0300)]
Wrapper functions use all registers

7 years agoAdd two new trampoline test cases
Lauri Kasanen [Fri, 19 May 2017 11:20:04 +0000 (14:20 +0300)]
Add two new trampoline test cases

7 years agoMerge pull request #431 from polluks/patch-2
Oliver Schmidt [Thu, 18 May 2017 22:23:50 +0000 (00:23 +0200)]
Merge pull request #431 from polluks/patch-2

shorter code

7 years agoshorter code 431/head
Stefan [Thu, 18 May 2017 21:58:10 +0000 (23:58 +0200)]
shorter code

7 years agoMerge pull request #430 from polluks/patch-1
Oliver Schmidt [Thu, 18 May 2017 20:45:50 +0000 (22:45 +0200)]
Merge pull request #430 from polluks/patch-1

VIC's kernal does not support CTRL+[

7 years agoAdjusted VS project files to commit https://github.com/cc65/cc65/commit/11b01b908d321...
Oliver Schmidt [Thu, 18 May 2017 20:40:18 +0000 (22:40 +0200)]
Adjusted VS project files to commit https://github.com/cc65/cc65/commit/11b01b908d321c39d86de1dd12102eaa6f4053e9

7 years agoChanged section 430/head
Stefan [Thu, 18 May 2017 19:21:02 +0000 (21:21 +0200)]
Changed section

7 years agoMerge pull request #424 from clbr/trampoline
Oliver Schmidt [Thu, 18 May 2017 14:29:34 +0000 (16:29 +0200)]
Merge pull request #424 from clbr/trampoline

Trampoline support

7 years agoAdjustments in response to latest comments 424/head
Lauri Kasanen [Thu, 18 May 2017 14:14:26 +0000 (17:14 +0300)]
Adjustments in response to latest comments

7 years agoRemove RAM-trampoline array support
Lauri Kasanen [Thu, 18 May 2017 13:11:39 +0000 (16:11 +0300)]
Remove RAM-trampoline array support

7 years agoRename trampoline to wrappedcall everywhere
Lauri Kasanen [Thu, 18 May 2017 13:00:04 +0000 (16:00 +0300)]
Rename trampoline to wrappedcall everywhere

7 years agoMore tabs to spaces
Lauri Kasanen [Thu, 18 May 2017 12:54:47 +0000 (15:54 +0300)]
More tabs to spaces

7 years agoAlign with spaces instead of tabs here
Lauri Kasanen [Thu, 18 May 2017 11:21:43 +0000 (14:21 +0300)]
Align with spaces instead of tabs here

7 years agoVIC's kernal does not support CTRL+[
Stefan [Thu, 18 May 2017 10:59:03 +0000 (12:59 +0200)]
VIC's kernal does not support CTRL+[

7 years agoMerge pull request #429 from pfusik/opt-stdfunc
Oliver Schmidt [Wed, 17 May 2017 20:58:54 +0000 (22:58 +0200)]
Merge pull request #429 from pfusik/opt-stdfunc

Optimize the inlined strlen/memcpy/memset

7 years agoMigrate 'encrypted variables' variables to 'repository settings'.
Oliver Schmidt [Wed, 17 May 2017 18:56:21 +0000 (20:56 +0200)]
Migrate 'encrypted variables' variables to 'repository settings'.

The GitHub token used for GitHub Pages deployment was revoked (see https://blog.travis-ci.com/2017-05-08-security-advisory) so I took the opportunity to make use of the "new" repository settings feature instead of fiddling with variable encryption again.

7 years agoKeep GCC from complaining about 'List' may be used uninitialized in this function.
Oliver Schmidt [Wed, 17 May 2017 17:39:02 +0000 (19:39 +0200)]
Keep GCC from complaining about 'List' may be used uninitialized in this function.

7 years agoIncreased GCC optimization level.
Oliver Schmidt [Wed, 17 May 2017 16:30:12 +0000 (18:30 +0200)]
Increased GCC optimization level.

7 years agoOptimize the inlined memcpy/memset for the sizes of 128/129. 429/head
Piotr Fusik [Wed, 17 May 2017 08:08:08 +0000 (10:08 +0200)]
Optimize the inlined memcpy/memset for the sizes of 128/129.

7 years agoOptimize the inlined strlen.
Piotr Fusik [Wed, 17 May 2017 08:00:35 +0000 (10:00 +0200)]
Optimize the inlined strlen.

7 years agoCorrect missed doc label
Lauri Kasanen [Tue, 16 May 2017 17:14:19 +0000 (20:14 +0300)]
Correct missed doc label

7 years agoRename pragma trampoline to wrapped-call, value to identifier
Lauri Kasanen [Tue, 16 May 2017 17:10:24 +0000 (20:10 +0300)]
Rename pragma trampoline to wrapped-call, value to identifier

7 years agoreplaced tabs with spaces which accidently were introduced.
mc78 [Tue, 16 May 2017 11:31:10 +0000 (13:31 +0200)]
replaced tabs with spaces which accidently were introduced.

7 years agoAccording to recent comments on my recent pull request, -Wc checking for -E flag...
mc78 [Tue, 16 May 2017 11:13:09 +0000 (13:13 +0200)]
According to recent comments on my recent pull request, -Wc checking for -E flag has been removed again. Intead, -E flag has been added to cl65 without need of -Wc. Two functions have been introduced to disable compile, link or both. These function remove assigment repetions to DoAssemble and DoLink for litte overhead, having the maintainability in mind.

7 years agoadded -E switch to cl65 for >>stop after the preprocessing stage<<.
mc78 [Fri, 12 May 2017 10:19:40 +0000 (12:19 +0200)]
added -E switch to cl65 for >>stop after the preprocessing stage<<.
added compilation and assemblation disable after -Wc -E also with -E beeing part of a comma separated list of arguments

7 years agoMerge pull request #425 from clbr/arrayaccess
Oliver Schmidt [Tue, 9 May 2017 17:26:41 +0000 (19:26 +0200)]
Merge pull request #425 from clbr/arrayaccess

Add fast paths for char postinc/dec

7 years agotest/val/postincdec: Test for the final val value 425/head
Lauri Kasanen [Mon, 8 May 2017 07:19:26 +0000 (10:19 +0300)]
test/val/postincdec: Test for the final val value

7 years agoAdd explicit postinc/dec testcase
Lauri Kasanen [Sun, 7 May 2017 17:35:49 +0000 (20:35 +0300)]
Add explicit postinc/dec testcase

7 years agoUpdate comments and location checks according to Greg
Lauri Kasanen [Sun, 7 May 2017 17:31:41 +0000 (20:31 +0300)]
Update comments and location checks according to Greg

7 years agoAdd fast path for char postdec
Lauri Kasanen [Sat, 6 May 2017 10:23:50 +0000 (13:23 +0300)]
Add fast path for char postdec

7 years agoAdd fast path for char postinc
Lauri Kasanen [Sat, 6 May 2017 10:20:55 +0000 (13:20 +0300)]
Add fast path for char postinc

7 years agoPragma trampoline
Lauri Kasanen [Tue, 2 May 2017 16:06:19 +0000 (19:06 +0300)]
Pragma trampoline

7 years agoAdd test case
Lauri Kasanen [Tue, 2 May 2017 15:48:31 +0000 (18:48 +0300)]
Add test case

7 years agoTrampoline stack
Lauri Kasanen [Mon, 1 May 2017 18:00:28 +0000 (21:00 +0300)]
Trampoline stack

7 years agoAdd IntPtrStack
Lauri Kasanen [Mon, 1 May 2017 17:46:06 +0000 (20:46 +0300)]
Add IntPtrStack

7 years agocallptr4
Lauri Kasanen [Mon, 1 May 2017 17:12:18 +0000 (20:12 +0300)]
callptr4

7 years agoDocument pragma trampoline
Lauri Kasanen [Mon, 1 May 2017 16:50:01 +0000 (19:50 +0300)]
Document pragma trampoline

7 years agoRemoved help for non-existent option.
Oliver Schmidt [Sat, 15 Apr 2017 21:12:19 +0000 (23:12 +0200)]
Removed help for non-existent option.

7 years agoMerge pull request #418 from greg-king5/while-nothing
Oliver Schmidt [Fri, 7 Apr 2017 14:07:38 +0000 (16:07 +0200)]
Merge pull request #418 from greg-king5/while-nothing

Fix the handling of the C construct "while (0) { }".

7 years agoFixed the handling of "while (0) {}". 418/head
Greg King [Fri, 7 Apr 2017 13:26:58 +0000 (09:26 -0400)]
Fixed the handling of "while (0) {}".

It's a corner case; but, conditional macroes might create it -- better safe than sorry.

7 years agoJust some white space fixes of recently contributed code.
Oliver Schmidt [Thu, 6 Apr 2017 15:53:57 +0000 (17:53 +0200)]
Just some white space fixes of recently contributed code.

7 years agoBumped version. V2.16
Oliver Schmidt [Thu, 6 Apr 2017 10:22:39 +0000 (12:22 +0200)]
Bumped version.

As suggested the incompatibility resulting from https://github.com/cc65/cc65/commit/02daf9f8b5c1ae2267561ee05ce67b2d0393c12d makes a new version appropriate.

7 years agoMerge pull request #417 from greg-king5/sim-interrupts
Oliver Schmidt [Wed, 5 Apr 2017 08:57:47 +0000 (10:57 +0200)]
Merge pull request #417 from greg-king5/sim-interrupts

sim65: Fix the simulations of the stack pointer and the "break" and decimal flags.

7 years agoFixed the simulations of the stack pointer and the "break" and decimal-mode flags. 417/head
Greg King [Tue, 4 Apr 2017 17:23:44 +0000 (13:23 -0400)]
Fixed the simulations of the stack pointer and the "break" and decimal-mode flags.

* The pointer wraps around the stack page.
* The break flag exists on only the stack, and only after an interrupt.
* 65C02 interrupts clear the decimal-mode flag.

7 years agoRemoved workaround.
Oliver Schmidt [Tue, 4 Apr 2017 13:53:14 +0000 (15:53 +0200)]
Removed workaround.

7 years agoRemoved workaround.
Oliver Schmidt [Tue, 4 Apr 2017 13:52:37 +0000 (15:52 +0200)]
Removed workaround.

7 years agoRemoved workaround.
Oliver Schmidt [Tue, 4 Apr 2017 13:52:01 +0000 (15:52 +0200)]
Removed workaround.

7 years agoRemoved workaround.
Oliver Schmidt [Tue, 4 Apr 2017 13:51:00 +0000 (15:51 +0200)]
Removed workaround.

7 years agoRemoved workaround.
Oliver Schmidt [Tue, 4 Apr 2017 13:45:24 +0000 (15:45 +0200)]
Removed workaround.

7 years agoRemoved superfluous final linefeed.
Oliver Schmidt [Tue, 4 Apr 2017 13:43:56 +0000 (15:43 +0200)]
Removed superfluous final linefeed.

7 years agoMerge pull request #389 from IrgendwerA8/stringimprovements
Oliver Schmidt [Tue, 4 Apr 2017 13:39:37 +0000 (15:39 +0200)]
Merge pull request #389 from IrgendwerA8/stringimprovements

Optimization of string functions (size & speed).

7 years agoMinor language update.
Oliver Schmidt [Tue, 4 Apr 2017 11:42:57 +0000 (13:42 +0200)]
Minor language update.

7 years agoFixed 2 typoes.
Greg King [Tue, 4 Apr 2017 11:23:05 +0000 (07:23 -0400)]
Fixed 2 typoes.

Warning messages from nsgmls usually mean a typing mistake a few lines above the first line that's named by nsgmls.

7 years agoUse the more explicit tag style for recently added internal links.
Oliver Schmidt [Mon, 3 Apr 2017 22:41:40 +0000 (00:41 +0200)]
Use the more explicit tag style for recently added internal links.

7 years agoSo far the built-in inlining of several known standard function was always (!) enable...
Oliver Schmidt [Mon, 3 Apr 2017 21:20:26 +0000 (23:20 +0200)]
So far the built-in inlining of several known standard function was always (!) enabled and the option -Os enabled additional, potentially unsafe inlining of some of those functions.

There were two aspects of this behavior that were considered undesirable:
- Although the safe inlining is in general desirable it should only be enabled if asked for it - like any other optimization.
- The option name -Os implies that it is a safe option, the potentially unsafe inlining should have a more explicit name.

So now:
- The option -Os enables the safe inlining.
- The new option --eagerly-inline-funcs enables the potentially unsafe inlining (including the safe inlining).

Additionally was added:
- The option --inline-stdfuncs that does like -Os enable the safe inlining but doesn't enable optimizations.
- The pragma inline-stdfuncs that works identical to --inline-stdfuncs.
- The pragma allow-eager-inline that enables the potentially unsafe inlining but doesn't include the safe inlining. That means that by itself it only marks code as safe for potentially unsafe inlining but doesn't actually enable any inlining.

7 years agoMerge pull request #414 from IrgendwerA8/SED_Fix
Oliver Schmidt [Thu, 30 Mar 2017 10:26:37 +0000 (12:26 +0200)]
Merge pull request #414 from IrgendwerA8/SED_Fix

Fixed sim65 SED

7 years agoFixed SED 414/head
IrgendwerA8 [Thu, 30 Mar 2017 10:17:29 +0000 (12:17 +0200)]
Fixed SED

7 years agoMerge pull request #411 from pfusik/bss-name-regression
Oliver Schmidt [Wed, 22 Mar 2017 12:44:48 +0000 (13:44 +0100)]
Merge pull request #411 from pfusik/bss-name-regression

Fix regression of #pragma bss-name

7 years agoFixed SGML typo.
Greg King [Wed, 22 Mar 2017 01:23:48 +0000 (21:23 -0400)]
Fixed SGML typo.

7 years agoFix regression of #pragma bss-name 411/head
Piotr Fusik [Tue, 21 Mar 2017 21:35:25 +0000 (22:35 +0100)]
Fix regression of #pragma bss-name

Closes #409

7 years agoRevert to recursively expanded var.
Oliver Schmidt [Tue, 21 Mar 2017 19:54:55 +0000 (20:54 +0100)]
Revert to recursively expanded var.

https://github.com/cc65/cc65/commit/4a6bca0b560ae2c1a7cfe3b14f75ee38094b9b76 needed to move to a simply expanded variable but https://github.com/cc65/cc65/commit/cc82cd99923caeb3353288789208eb079c73e720 made that unnecessary again.

7 years agoAdded missing line continuation.
Oliver Schmidt [Tue, 21 Mar 2017 19:45:36 +0000 (20:45 +0100)]
Added missing line continuation.

Fixes https://github.com/cc65/cc65/issues/408

7 years agoMerge pull request #407 from IrgendwerA8/sim65_fix
Oliver Schmidt [Tue, 21 Mar 2017 10:21:48 +0000 (11:21 +0100)]
Merge pull request #407 from IrgendwerA8/sim65_fix

Fixed addressing error for TSB/TSR and enabled tests again.

7 years agoFixed addressing error for TSB/TSR and enabled tests again. 407/head
IrgendwerA8 [Mon, 20 Mar 2017 20:53:07 +0000 (21:53 +0100)]
Fixed addressing error for TSB/TSR and enabled tests again.

7 years agoMerge pull request #402 from IrgendwerA8/runtime_improvements
Oliver Schmidt [Mon, 20 Mar 2017 10:34:06 +0000 (11:34 +0100)]
Merge pull request #402 from IrgendwerA8/runtime_improvements

few 6502 and some 65SC02 runtime optimizations

7 years agoAllow to control test Makefile output via QUIET (like libsrc).
Oliver Schmidt [Mon, 20 Mar 2017 10:22:04 +0000 (11:22 +0100)]
Allow to control test Makefile output via QUIET (like libsrc).

7 years agominor style changes 402/head
IrgendwerA8 [Sun, 19 Mar 2017 19:51:54 +0000 (20:51 +0100)]
minor style changes

7 years agoHide stdout of tests returning an exit code.
Oliver Schmidt [Sun, 19 Mar 2017 19:32:23 +0000 (20:32 +0100)]
Hide stdout of tests returning an exit code.

Now that we doubled our tests by running them for both 6502 and 65C02 Travis CI complains (again) about a too long build output. So let's reduce it by omitting the (useless) stdout of tests.

7 years agoRun test for the 65C02 code generator / runtime too.
Oliver Schmidt [Sun, 19 Mar 2017 19:07:19 +0000 (20:07 +0100)]
Run test for the 65C02 code generator / runtime too.

Now that sim65's 65C02 support is actually functional we can run test for the 65C02 support in the compiler and the runtime.

We learn the hard way this is a good idea as there are tests failing when built with optimizations for the 65C02:
- val/compare7
- val/compare8
- val/compare9
- val/compare10
- val/or1

7 years agoShortened test subdir names.
Oliver Schmidt [Sun, 19 Mar 2017 16:57:25 +0000 (17:57 +0100)]
Shortened test subdir names.

7 years agoCleaned up test Makefiles.
Oliver Schmidt [Sun, 19 Mar 2017 16:48:12 +0000 (17:48 +0100)]
Cleaned up test Makefiles.

7 years agoMerge pull request #405 from IrgendwerA8/65SC02_sim65_support
Oliver Schmidt [Sat, 18 Mar 2017 22:38:05 +0000 (23:38 +0100)]
Merge pull request #405 from IrgendwerA8/65SC02_sim65_support

Added 65SC02 support for simulator.

7 years agofixed curly brackets for single line scopes 405/head
IrgendwerA8 [Sat, 18 Mar 2017 21:52:13 +0000 (22:52 +0100)]
fixed curly brackets for single line scopes

7 years agoRemoved top blank line.
Oliver Schmidt [Sat, 18 Mar 2017 19:57:12 +0000 (20:57 +0100)]
Removed top blank line.

7 years agostyle changes
IrgendwerA8 [Sat, 18 Mar 2017 19:27:41 +0000 (20:27 +0100)]
style changes

7 years agoFixed bug in original sim65 implementation (reason for C&P error in last commit)
IrgendwerA8 [Sat, 18 Mar 2017 16:02:22 +0000 (17:02 +0100)]
Fixed bug in original sim65 implementation (reason for C&P error in last commit)

7 years agoadditional fix for scrambled code (sorry)
IrgendwerA8 [Sat, 18 Mar 2017 15:56:36 +0000 (16:56 +0100)]
additional fix for scrambled code (sorry)

7 years agofixed scrambled semicolon
IrgendwerA8 [Sat, 18 Mar 2017 15:54:00 +0000 (16:54 +0100)]
fixed scrambled semicolon

7 years agoAdded 65SC02 support for simulator.
IrgendwerA8 [Sat, 18 Mar 2017 15:33:08 +0000 (16:33 +0100)]
Added 65SC02 support for simulator.