]> git.sur5r.net Git - cc65/log
cc65
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 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 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 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 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.

6 years agoChanged c128 accelerator code and documention to include both C64 and C128 support. 629/head
Marco van den Heuvel [Tue, 24 Apr 2018 02:25:11 +0000 (19:25 -0700)]
Changed c128 accelerator code and documention to include both C64 and C128 support.

6 years agoMerge pull request #628 from ops/VIAFIX_PET
Oliver Schmidt [Mon, 23 Apr 2018 13:58:13 +0000 (15:58 +0200)]
Merge pull request #628 from ops/VIAFIX_PET

Pet: Add missing VIA register names

6 years agoUpdated c128 accelerator code and documentation.
Marco van den Heuvel [Sat, 21 Apr 2018 16:52:50 +0000 (09:52 -0700)]
Updated c128 accelerator code and documentation.

6 years agoUpdated a joystick adapter URL.
Greg King [Sat, 21 Apr 2018 08:30:56 +0000 (04:30 -0400)]
Updated a joystick adapter URL.

6 years agoAdded C128 in C64 mode accelerator code and documentation.
Marco van den Heuvel [Fri, 20 Apr 2018 19:08:28 +0000 (12:08 -0700)]
Added C128 in C64 mode accelerator code and documentation.

6 years agoUpdated to use the new VIA register names 628/head
Olli Savia [Fri, 20 Apr 2018 18:25:43 +0000 (21:25 +0300)]
Updated to use the new VIA register names

6 years agoAdded missing VIA register names.
Olli Savia [Fri, 20 Apr 2018 18:24:37 +0000 (21:24 +0300)]
Added missing VIA register names.

6 years agoMerge pull request #626 from blackystardust/master
Oliver Schmidt [Fri, 20 Apr 2018 18:01:16 +0000 (20:01 +0200)]
Merge pull request #626 from blackystardust/master

Added c64dtv accelerator code and documentation.

6 years agoMerge pull request #625 from ops/VIAFIX
Oliver Schmidt [Wed, 18 Apr 2018 15:09:35 +0000 (17:09 +0200)]
Merge pull request #625 from ops/VIAFIX

VIC-20: Add missing VIA register names

6 years agoAdded a preprocessor guard to tgidemo.c that avoids a compiler warning.
Greg King [Tue, 17 Apr 2018 20:53:10 +0000 (16:53 -0400)]
Added a preprocessor guard to tgidemo.c that avoids a compiler warning.

DoWarning() is compiled only if it will be used.

6 years agoMerge pull request #627 from jedeoric/master
Oliver Schmidt [Mon, 16 Apr 2018 20:46:56 +0000 (22:46 +0200)]
Merge pull request #627 from jedeoric/master

[Telestrat target] fix fwrite bug, cputc, chline, remove & mkdir added

6 years agoFix comment 627/head
jede [Mon, 16 Apr 2018 19:51:15 +0000 (21:51 +0200)]
Fix comment

6 years agoFixed more comments. 626/head
Marco van den Heuvel [Mon, 16 Apr 2018 18:05:52 +0000 (11:05 -0700)]
Fixed more comments.

6 years agoFixed another comment.
Marco van den Heuvel [Sun, 15 Apr 2018 19:15:19 +0000 (12:15 -0700)]
Fixed another comment.

6 years agoFixed some comment and documentation errors.
Marco van den Heuvel [Sun, 15 Apr 2018 18:55:58 +0000 (11:55 -0700)]
Fixed some comment and documentation errors.

6 years agoMade the samples Makefile be able to build the samples for targets other than the...
Greg King [Sat, 14 Apr 2018 22:09:13 +0000 (18:09 -0400)]
Made the samples Makefile be able to build the samples for targets other than the ones named explicitly in that file.

6 years agochline added
jede [Sat, 14 Apr 2018 20:05:03 +0000 (22:05 +0200)]
chline added

6 years agoadd cputc & remove
jede [Sat, 14 Apr 2018 19:52:11 +0000 (21:52 +0200)]
add cputc & remove

6 years agoFixed an issue with the changing the d040 value while detecting.
Marco van den Heuvel [Sat, 14 Apr 2018 18:31:28 +0000 (11:31 -0700)]
Fixed an issue with the changing the d040 value while detecting.

6 years agoAdded c64dtv accelerator code and documentation.
Marco van den Heuvel [Sat, 14 Apr 2018 17:40:13 +0000 (10:40 -0700)]
Added c64dtv accelerator code and documentation.

6 years agoChanged register addresses relative to the base address 625/head
Olli Savia [Sat, 14 Apr 2018 15:45:15 +0000 (18:45 +0300)]
Changed register addresses relative to the base address

6 years agoVIA1 and VIA2 no longer marked deprecated
Olli Savia [Sat, 14 Apr 2018 05:39:30 +0000 (08:39 +0300)]
VIA1 and VIA2 no longer marked deprecated

6 years agoMerge pull request #623 from blackystardust/master
Oliver Schmidt [Fri, 13 Apr 2018 19:43:34 +0000 (21:43 +0200)]
Merge pull request #623 from blackystardust/master

Added C64/C128 SuperCPU accelerator functions and started on a generic framework for accelerators.

6 years agoFixed non-address constants. 623/head
Marco van den Heuvel [Thu, 12 Apr 2018 16:35:02 +0000 (09:35 -0700)]
Fixed non-address constants.

6 years agoMerge pull request #624 from polluks/patch-5
Oliver Schmidt [Thu, 12 Apr 2018 15:47:46 +0000 (17:47 +0200)]
Merge pull request #624 from polluks/patch-5

Simpler get_tv

6 years agoUpdated to use the new VIA register names.
Olli Savia [Wed, 11 Apr 2018 19:40:46 +0000 (22:40 +0300)]
Updated to use the new VIA register names.

6 years agoAdded missing VIA registers. Register names from the COMPUTE!'s book 'Mapping the...
Olli Savia [Wed, 11 Apr 2018 19:38:23 +0000 (22:38 +0300)]
Added missing VIA registers. Register names from the COMPUTE!'s book 'Mapping the VIC'

6 years agoAdded some accelerator test code.
Marco van den Heuvel [Tue, 10 Apr 2018 22:24:15 +0000 (15:24 -0700)]
Added some accelerator test code.

6 years agoSimpler get_tv 624/head
Stefan [Tue, 10 Apr 2018 18:37:10 +0000 (18:37 +0000)]
Simpler get_tv

You don't have to count the beam, just check the KERNAL.

6 years agoAdded C64/C128 SuperCPU accelerator functions and started on a generic framework...
Marco van den Heuvel [Tue, 10 Apr 2018 02:36:53 +0000 (19:36 -0700)]
Added C64/C128 SuperCPU accelerator functions and started on a generic framework for accelerators.

6 years agoMerge pull request #621 from blackystardust/master
Bob Andrews [Wed, 4 Apr 2018 18:40:25 +0000 (20:40 +0200)]
Merge pull request #621 from blackystardust/master

Fixed cpu detection.

6 years agoChanged #10 to #-basha for clarity. 621/head
Marco van den Heuvel [Sun, 1 Apr 2018 20:14:44 +0000 (13:14 -0700)]
Changed #10 to #-basha for clarity.

6 years agoMoved declarations that are common to the C16 and the Plus4 libraries over to their...
Greg King [Sun, 1 Apr 2018 19:47:48 +0000 (15:47 -0400)]
Moved declarations that are common to the C16 and the Plus4 libraries over to their common header.

6 years agoFixed cpu detection.
Marco van den Heuvel [Sun, 1 Apr 2018 01:59:15 +0000 (18:59 -0700)]
Fixed cpu detection.

6 years agoMerge pull request #620 from blackystardust/master
Oliver Schmidt [Sat, 31 Mar 2018 09:57:27 +0000 (11:57 +0200)]
Merge pull request #620 from blackystardust/master

Added c16/plus4 fast(), isfast() and slow() functions, and updated the documentation accordingly.

6 years agoAdjusted style.
Oliver Schmidt [Thu, 29 Mar 2018 22:11:40 +0000 (00:11 +0200)]
Adjusted style.

6 years agoAdjusted style.
Oliver Schmidt [Thu, 29 Mar 2018 22:10:55 +0000 (00:10 +0200)]
Adjusted style.

6 years agoAdded HGR and DHGR slide show programs.
Oliver Schmidt [Thu, 29 Mar 2018 22:07:56 +0000 (00:07 +0200)]
Added HGR and DHGR slide show programs.

The DHGR program is sort of a hack as it first switches to double (aka 80 col) text mode to prepare for double graphics mode. Therefore only one additional soft switch access is necessary after using TGI to generally switch to hires.

6 years agoMoved most of the tgi_colors.s files into the libsrc/common/ directory.
Greg King [Tue, 27 Mar 2018 11:13:14 +0000 (07:13 -0400)]
Moved most of the tgi_colors.s files into the libsrc/common/ directory.

Only the Apple2 and Lynx platforms use different codes for the white color; they have their own files.

6 years agoC64 TGI: LINE: Optimization: Don't check boundaries; LINE always is called by tgi_cli...
Greg King [Mon, 26 Mar 2018 11:24:37 +0000 (07:24 -0400)]
C64 TGI: LINE: Optimization: Don't check boundaries; LINE always is called by tgi_clippedline().

Submitted in Pull Request #611 by Sven Michael Klose.