]> git.sur5r.net Git - cc65/log
cc65
6 years agoAllow spaces in path names.
Oliver Schmidt [Fri, 8 Jun 2018 17:16:18 +0000 (19:16 +0200)]
Allow spaces in path names.

The Microsoft C Library needs to have spawnvp() parameters with spaces quoted manually. We do this only if actually necessary to limit issues with parameters already containing double quotes.

6 years agoUse --print-target-path only as last resort.
Oliver Schmidt [Fri, 8 Jun 2018 16:58:36 +0000 (18:58 +0200)]
Use --print-target-path only as last resort.

--print-target-path may return a path with (escaped) spaces. We'll use that path with $(wildcard ...), that's fine. But then we use the outcome with $(foreach ...) and there things fail badly and there's nothing to do about it.

Therefore we a) try to avoid --print-target-path in the first place and b) explicitly bail out if we end up with spaces.

6 years agoEscape spaces in target path.
Oliver Schmidt [Thu, 7 Jun 2018 15:10:33 +0000 (17:10 +0200)]
Escape spaces in target path.

cc65 escapes spaces in paths it writes to dependency files (see WriteEscaped() in cc65/input.c). Given that the output of OptPrintTargetPath() is supposed to be used in Makefiles in pretty much the same way it is appropriate to escape spaces here too.

6 years agoMerge pull request #673 from bengdahl/master
Oliver Schmidt [Thu, 7 Jun 2018 15:01:42 +0000 (17:01 +0200)]
Merge pull request #673 from bengdahl/master

Fix `make` failing in parent directories containing spaces

6 years agoMerge pull request #676 from Fabrizio-Caruso/master
Oliver Schmidt [Wed, 6 Jun 2018 19:37:13 +0000 (21:37 +0200)]
Merge pull request #676 from Fabrizio-Caruso/master

Fix joystick for the Supervision target

6 years agospaces instead of tab 676/head
Fabrizio Caruso [Wed, 6 Jun 2018 19:18:47 +0000 (21:18 +0200)]
spaces instead of tab

6 years agoFix joystick for the Supervision target
Fabrizio Caruso [Wed, 6 Jun 2018 19:11:17 +0000 (21:11 +0200)]
Fix joystick for the Supervision target

6 years agoFixed usage indentation.
Oliver Schmidt [Wed, 6 Jun 2018 16:59:25 +0000 (18:59 +0200)]
Fixed usage indentation.

6 years agoUpdate Makefile 673/head
existensialMemory [Tue, 5 Jun 2018 02:17:25 +0000 (22:17 -0400)]
Update Makefile

6 years agoFix `make` failing in parent directories containing spaces
Ben [Tue, 5 Jun 2018 01:27:04 +0000 (21:27 -0400)]
Fix `make` failing in parent directories containing spaces

6 years agoMerge pull request #670 from greg-king5/string-pointer-break
Oliver Schmidt [Fri, 1 Jun 2018 11:15:52 +0000 (13:15 +0200)]
Merge pull request #670 from greg-king5/string-pointer-break

Fix strpbrk() problems.

6 years agoFixed strpbrk(). 670/head
Greg King [Tue, 29 May 2018 18:29:50 +0000 (14:29 -0400)]
Fixed strpbrk().

Added its prototype.  Documented it.

6 years agoMerge pull request #668 from IrgendwerA8/mul_second_thoughts
Oliver Schmidt [Tue, 29 May 2018 07:01:34 +0000 (09:01 +0200)]
Merge pull request #668 from IrgendwerA8/mul_second_thoughts

Mul second thoughts

6 years agoFree 2 bytes again. 668/head
IrgendwerA8 [Mon, 28 May 2018 23:47:04 +0000 (01:47 +0200)]
Free 2 bytes again.

6 years ago1 byte code size donation for Fabrizio ;)
IrgendwerA8 [Mon, 28 May 2018 23:12:51 +0000 (01:12 +0200)]
1 byte code size donation for Fabrizio ;)

6 years agoMerge pull request #666 from IrgendwerA8/1_byte_donation_for_fabrizio
Oliver Schmidt [Sun, 27 May 2018 10:17:52 +0000 (12:17 +0200)]
Merge pull request #666 from IrgendwerA8/1_byte_donation_for_fabrizio

1 byte donation for Fabrizio ;)

6 years agoSave the three bytes for the plus4 too. 666/head
IrgendwerA8 [Sat, 26 May 2018 22:10:58 +0000 (00:10 +0200)]
Save the three bytes for the plus4 too.

6 years agoSaved 3 bytes for the C16 target.
IrgendwerA8 [Sat, 26 May 2018 18:25:51 +0000 (20:25 +0200)]
Saved 3 bytes for the C16 target.

6 years agoSaved even one more byte.
IrgendwerA8 [Sat, 26 May 2018 17:53:44 +0000 (19:53 +0200)]
Saved even one more byte.

6 years ago1 byte donation for Fabrizio ;)
IrgendwerA8 [Sat, 26 May 2018 14:37:03 +0000 (16:37 +0200)]
1 byte donation for Fabrizio ;)

6 years ago1 byte code size donation for Fabrizio ;)
IrgendwerA8 [Sat, 26 May 2018 14:33:19 +0000 (16:33 +0200)]
1 byte code size donation for Fabrizio ;)

6 years agoMerge pull request #663 from IrgendwerA8/more_popptr1_adaptations
Oliver Schmidt [Sat, 26 May 2018 11:01:27 +0000 (13:01 +0200)]
Merge pull request #663 from IrgendwerA8/more_popptr1_adaptations

Adapted div & mod for popptr1.

6 years agoReestablished entry state of signed operation and optimized that (again). 663/head
IrgendwerA8 [Fri, 25 May 2018 21:18:26 +0000 (23:18 +0200)]
Reestablished entry state of signed operation and optimized that (again).

6 years agoFixed first letter of comments (should be upper case).
IrgendwerA8 [Fri, 25 May 2018 14:10:16 +0000 (16:10 +0200)]
Fixed first letter of comments (should be upper case).

6 years agoUpdate symbols.txt
Oliver Schmidt [Fri, 25 May 2018 12:48:20 +0000 (14:48 +0200)]
Update symbols.txt

6 years agoMerge pull request #662 from Compyx/master
Oliver Schmidt [Fri, 25 May 2018 12:00:36 +0000 (14:00 +0200)]
Merge pull request #662 from Compyx/master

Add CBM kernal call SECOND to CBM library (see issue #525)

6 years agoAdd __fastcall__ to cbm_k_second() documentation 662/head
Bas Wassink [Fri, 25 May 2018 11:17:12 +0000 (13:17 +0200)]
Add __fastcall__ to cbm_k_second() documentation

6 years agoChanged the name of the file too.
IrgendwerA8 [Thu, 24 May 2018 09:37:17 +0000 (11:37 +0200)]
Changed the name of the file too.

6 years agoChanged naming absvaludiv -> absvaludiv16.
IrgendwerA8 [Thu, 24 May 2018 09:31:43 +0000 (11:31 +0200)]
Changed naming absvaludiv -> absvaludiv16.

6 years agoAdapted div & mod for popptr1.
IrgendwerA8 [Thu, 24 May 2018 01:55:40 +0000 (03:55 +0200)]
Adapted div & mod for popptr1.

6 years agoCBM kernal call SECOND, update cbm.h
compyx [Wed, 23 May 2018 15:37:48 +0000 (17:37 +0200)]
CBM kernal call SECOND, update cbm.h

6 years agoAdd CBM kernal call SECOND to CBM library (see issue #525)
compyx [Wed, 23 May 2018 15:32:02 +0000 (17:32 +0200)]
Add CBM kernal call SECOND to CBM library (see issue #525)

6 years agoMerge pull request #658 from polluks/patch-9
Oliver Schmidt [Wed, 23 May 2018 15:05:12 +0000 (17:05 +0200)]
Merge pull request #658 from polluks/patch-9

Indicate a dummy outtext & some clean-up

6 years agoMerge pull request #659 from polluks/patch-10
Oliver Schmidt [Wed, 23 May 2018 13:51:25 +0000 (15:51 +0200)]
Merge pull request #659 from polluks/patch-10

Fixed typos and added references for #655

6 years agoMerge pull request #660 from polluks/patch-11
Oliver Schmidt [Wed, 23 May 2018 13:48:43 +0000 (15:48 +0200)]
Merge pull request #660 from polluks/patch-11

More references

6 years agoUpdate funcref.sgml 659/head
Stefan [Wed, 23 May 2018 13:40:14 +0000 (13:40 +0000)]
Update funcref.sgml

6 years agoUpdate tgi.sgml 660/head
Stefan [Wed, 23 May 2018 13:34:37 +0000 (13:34 +0000)]
Update tgi.sgml

6 years agoUpdate funcref.sgml
Stefan [Wed, 23 May 2018 13:32:17 +0000 (13:32 +0000)]
Update funcref.sgml

6 years agoUpdate funcref.sgml
Stefan [Wed, 23 May 2018 13:30:57 +0000 (13:30 +0000)]
Update funcref.sgml

6 years agoMerge pull request #656 from Compyx/master
Oliver Schmidt [Wed, 23 May 2018 07:47:41 +0000 (09:47 +0200)]
Merge pull request #656 from Compyx/master

Add CBM kernal call TKSA to CBM library (see issue #525)

6 years agoMerge pull request #657 from IrgendwerA8/VariousSpeedSizeOptimizations
Oliver Schmidt [Wed, 23 May 2018 07:46:30 +0000 (09:46 +0200)]
Merge pull request #657 from IrgendwerA8/VariousSpeedSizeOptimizations

Various speed size optimizations

6 years agoMore references
Stefan [Wed, 23 May 2018 04:51:32 +0000 (04:51 +0000)]
More references

6 years agoMerge pull request #653 from IrgendwerA8/cbm_rw_popptr1
greg-king5 [Wed, 23 May 2018 04:31:53 +0000 (00:31 -0400)]
Merge pull request #653 from IrgendwerA8/cbm_rw_popptr1

* Saved 6 bytes by using popptr1.

* Fix typo for import.

* Beautified comment.

6 years agoAdded documentation of cbm_k_untlk
Stefan [Wed, 23 May 2018 04:27:05 +0000 (04:27 +0000)]
Added documentation of cbm_k_untlk

6 years agoFixed typos and added references for #655
Stefan [Wed, 23 May 2018 01:51:54 +0000 (01:51 +0000)]
Fixed typos and added references for #655

6 years agoClean-up because of tgidrv_line.inc 658/head
Stefan [Tue, 22 May 2018 22:32:50 +0000 (22:32 +0000)]
Clean-up because of tgidrv_line.inc

6 years agoIndicate a dummy outtext
Stefan [Tue, 22 May 2018 21:18:10 +0000 (21:18 +0000)]
Indicate a dummy outtext

6 years agoRemoved optimizations which break the compiler ones. 657/head
IrgendwerA8 [Tue, 22 May 2018 17:10:07 +0000 (19:10 +0200)]
Removed optimizations which break the compiler ones.

6 years agocbm_k_tksa() from the PET docs 656/head
compyx [Tue, 22 May 2018 16:48:43 +0000 (18:48 +0200)]
cbm_k_tksa() from the PET docs

6 years agoFix for 8x16 multiplication if operants are swapped.
IrgendwerA8 [Tue, 22 May 2018 16:35:05 +0000 (18:35 +0200)]
Fix for 8x16 multiplication if operants are swapped.

6 years agoFurther optimizations in common/conio.
IrgendwerA8 [Tue, 22 May 2018 13:59:05 +0000 (15:59 +0200)]
Further optimizations in common/conio.

6 years agoAdd CBM kernal call TKSA to CBM library
compyx [Tue, 22 May 2018 12:16:00 +0000 (14:16 +0200)]
Add CBM kernal call TKSA to CBM library

This adds the CBM kernal call TKSA as cbm_k_tksa() to the CBM library.

6 years agoBeautified comment. 653/head
IrgendwerA8 [Tue, 22 May 2018 09:25:26 +0000 (11:25 +0200)]
Beautified comment.

6 years agoFix typo for import.
IrgendwerA8 [Mon, 21 May 2018 16:19:39 +0000 (18:19 +0200)]
Fix typo for import.

6 years agoApply faster popptr1 to functions and/or use register instead of stack to save accu.
IrgendwerA8 [Mon, 21 May 2018 16:18:01 +0000 (18:18 +0200)]
Apply faster popptr1 to functions and/or use register instead of stack to save accu.

6 years agoSaved 6 bytes by using popptr1.
IrgendwerA8 [Mon, 21 May 2018 14:21:45 +0000 (16:21 +0200)]
Saved 6 bytes by using popptr1.

6 years agoMerge pull request #652 from IrgendwerA8/popptr1
Oliver Schmidt [Mon, 21 May 2018 12:52:59 +0000 (14:52 +0200)]
Merge pull request #652 from IrgendwerA8/popptr1

Added Popptr1 to save some bytes and ease parameter extraction

6 years agoFixed comments. 652/head
IrgendwerA8 [Mon, 21 May 2018 12:41:12 +0000 (14:41 +0200)]
Fixed comments.

6 years agoConverted unintentionally introduced tabs to spaces.
IrgendwerA8 [Mon, 21 May 2018 12:33:44 +0000 (14:33 +0200)]
Converted unintentionally introduced tabs to spaces.

6 years agoMerge branch 'master' into popptr1
Irgendwer [Mon, 21 May 2018 11:33:14 +0000 (13:33 +0200)]
Merge branch 'master' into popptr1

6 years agoResolved conflict and removed adaptation for strpbrk for time being.
IrgendwerA8 [Mon, 21 May 2018 11:07:26 +0000 (13:07 +0200)]
Resolved conflict and removed adaptation for strpbrk for time being.

6 years agoFixed formatting and two import issues.
IrgendwerA8 [Sun, 20 May 2018 13:38:48 +0000 (15:38 +0200)]
Fixed formatting and two import issues.

6 years agoAdded "popptr1" which is of common use to save some bytes.
IrgendwerA8 [Sun, 20 May 2018 13:30:18 +0000 (15:30 +0200)]
Added "popptr1" which is of common use to save some bytes.

6 years agoThere's no 'closeallstreams' (anymore ?).
Oliver Schmidt [Thu, 17 May 2018 09:11:40 +0000 (11:11 +0200)]
There's no 'closeallstreams' (anymore ?).

6 years agoMerge pull request #646 from polluks/patch-8
Oliver Schmidt [Tue, 15 May 2018 10:09:44 +0000 (12:09 +0200)]
Merge pull request #646 from polluks/patch-8

Update c64.sgml

6 years agoMerge pull request #647 from polluks/patch-9
Oliver Schmidt [Tue, 15 May 2018 09:07:41 +0000 (11:07 +0200)]
Merge pull request #647 from polluks/patch-9

Make NMI ready

6 years agoMake NMI ready 647/head
Stefan [Mon, 14 May 2018 23:22:09 +0000 (23:22 +0000)]
Make NMI ready

6 years agoUpdate c64.sgml 646/head
Stefan [Mon, 14 May 2018 23:10:34 +0000 (23:10 +0000)]
Update c64.sgml

Do not use last page!

6 years agoMerge pull request #645 from polluks/patch-7
Oliver Schmidt [Mon, 14 May 2018 18:28:15 +0000 (20:28 +0200)]
Merge pull request #645 from polluks/patch-7

Update c64.sgml

6 years agoMerge pull request #644 from greg-king5/anon-struct
Oliver Schmidt [Mon, 14 May 2018 16:37:51 +0000 (18:37 +0200)]
Merge pull request #644 from greg-king5/anon-struct

Make union declarations know the sizes of anonymous structs/unions.

6 years agoUpdate c64.sgml 645/head
Stefan [Mon, 14 May 2018 14:17:09 +0000 (14:17 +0000)]
Update c64.sgml

soft80 is NMI ready

6 years agoMade a C union declaration know the sizes of anonymous struct/union members when... 644/head
Greg King [Sun, 13 May 2018 08:21:42 +0000 (04:21 -0400)]
Made a C union declaration know the sizes of anonymous struct/union members when it determines its size.

The bug was located, and the fix was written, by Francesco.

6 years agoMerge pull request #643 from mikeakohn/fix/sweet16_op_bs
Oliver Schmidt [Sun, 13 May 2018 14:32:18 +0000 (16:32 +0200)]
Merge pull request #643 from mikeakohn/fix/sweet16_op_bs

The opcode for BS should be 0x0C.

6 years agoThe opcode for BS should be 0x0C. 643/head
Michael Kohn [Sun, 13 May 2018 11:31:05 +0000 (06:31 -0500)]
The opcode for BS should be 0x0C.

6 years agoFixed a bug that didn't preserve the accumulator's value when a simple 16-bit fetch...
greg-king5 [Sat, 12 May 2018 17:46:16 +0000 (13:46 -0400)]
Fixed a bug that didn't preserve the accumulator's value when a simple 16-bit fetch-and-store is optimized. (#637)

Fix a 16-bit fetch-and-store cc65 optimizer bug.

6 years agoMerge pull request #642 from polluks/patch-6
greg-king5 [Thu, 10 May 2018 13:00:34 +0000 (09:00 -0400)]
Merge pull request #642 from polluks/patch-6

NMI-friendly c64-hi.tgi

6 years agoUpdate c64-hi.s 642/head
Stefan [Wed, 9 May 2018 23:56:35 +0000 (23:56 +0000)]
Update c64-hi.s

6 years agoUpdate c64-hi.s
Stefan [Wed, 9 May 2018 23:52:52 +0000 (23:52 +0000)]
Update c64-hi.s

6 years agoNMI friendly c64-hi
Stefan [Wed, 9 May 2018 23:31:42 +0000 (23:31 +0000)]
NMI friendly c64-hi

Don't clear all vectors, see #639.

6 years agoMerge pull request #636 from blackystardust/master
Oliver Schmidt [Thu, 3 May 2018 16:18:13 +0000 (18:18 +0200)]
Merge pull request #636 from blackystardust/master

 Added C64 Turbo Master accelerator code and documentation.

6 years agoHarmonized the comments (as in added 1 space) ;) 636/head
Marco van den Heuvel [Thu, 3 May 2018 16:11:20 +0000 (09:11 -0700)]
Harmonized the comments (as in added 1 space) ;)

6 years agoOrder fix.
Marco van den Heuvel [Wed, 2 May 2018 18:23:43 +0000 (11:23 -0700)]
Order fix.

6 years agoOptimized the code a bit, thanks to Greg for the suggestions/comments.
Marco van den Heuvel [Tue, 1 May 2018 21:46:57 +0000 (14:46 -0700)]
Optimized the code a bit, thanks to Greg for the suggestions/comments.

6 years agoFixed the order of some functions.
Marco van den Heuvel [Tue, 1 May 2018 21:45:51 +0000 (14:45 -0700)]
Fixed the order of some functions.

6 years agoAdded missing file.
Marco van den Heuvel [Tue, 1 May 2018 21:44:23 +0000 (14:44 -0700)]
Added missing file.

6 years agoFixed a typo.
Marco van den Heuvel [Mon, 30 Apr 2018 21:34:46 +0000 (14:34 -0700)]
Fixed a typo.

6 years agoAdded C64 Turbo Master accelerator code and documentation.
Marco van den Heuvel [Mon, 30 Apr 2018 21:30:35 +0000 (14:30 -0700)]
Added C64 Turbo Master accelerator code and documentation.

6 years agoMerge pull request #634 from blackystardust/master
Oliver Schmidt [Mon, 30 Apr 2018 20:51:42 +0000 (22:51 +0200)]
Merge pull request #634 from blackystardust/master

Added C65/C64DX accelerator code and documentation.

6 years agoRemoved obsolete bit opcode. 634/head
Marco van den Heuvel [Sun, 29 Apr 2018 19:13:52 +0000 (12:13 -0700)]
Removed obsolete bit opcode.

6 years agoMerge branch 'master', remote-tracking branch 'origin'
Marco van den Heuvel [Sun, 29 Apr 2018 19:12:13 +0000 (12:12 -0700)]
Merge branch 'master', remote-tracking branch 'origin'

6 years agoRemoved extern keyword from function prototype.
Oliver Schmidt [Sun, 29 Apr 2018 11:50:09 +0000 (13:50 +0200)]
Removed extern keyword from function prototype.

6 years agoFixed a wrong branch.
Marco van den Heuvel [Sat, 28 Apr 2018 20:26:20 +0000 (13:26 -0700)]
Fixed a wrong branch.

6 years agoAdded a comment to make the situation more clear.
Marco van den Heuvel [Sat, 28 Apr 2018 20:25:16 +0000 (13:25 -0700)]
Added a comment to make the situation more clear.

6 years agoAdded C65/C64DX accelerator code and documentation.
Marco van den Heuvel [Fri, 27 Apr 2018 21:22:41 +0000 (14:22 -0700)]
Added C65/C64DX accelerator code and documentation.

6 years agoMerge pull request #631 from blackystardust/master
Oliver Schmidt [Fri, 27 Apr 2018 18:47:03 +0000 (20:47 +0200)]
Merge pull request #631 from blackystardust/master

Added C64 Chameleon accelerator code and documentation.

6 years agoRemoved extern keyword from function prototypes. 631/head
Marco van den Heuvel [Fri, 27 Apr 2018 16:16:25 +0000 (09:16 -0700)]
Removed extern keyword from function prototypes.

6 years agoOptimized the code a bit as suggested by Greg.
Marco van den Heuvel [Thu, 26 Apr 2018 16:18:54 +0000 (09:18 -0700)]
Optimized the code a bit as suggested by Greg.

6 years agoImproved the accelerator code. Fixed an infinite loop.
Greg King [Thu, 26 Apr 2018 09:37:27 +0000 (05:37 -0400)]
Improved the accelerator code.  Fixed an infinite loop.

Removed the execute permissions from some files.

6 years agoAdded C64 Chameleon accelerator code and documentation.
Marco van den Heuvel [Wed, 25 Apr 2018 19:53:29 +0000 (12:53 -0700)]
Added C64 Chameleon accelerator code and documentation.

6 years agoMerge pull request #629 from blackystardust/master
Oliver Schmidt [Wed, 25 Apr 2018 13:08:11 +0000 (15:08 +0200)]
Merge pull request #629 from blackystardust/master

Added C128 accelerator code and documentation for both C128 mode and C128 in C64 mode.