]>
git.sur5r.net Git - cc65/log
Patrick Pelletier [Fri, 10 Aug 2018 19:58:48 +0000 (12:58 -0700)]
sim65: Fix "$2C: BIT abs" to access the correct address.
Bug is documented here:
http://forum.6502.org/viewtopic.php?f=2&t=5242
Oliver Schmidt [Thu, 2 Aug 2018 15:12:12 +0000 (17:12 +0200)]
"Inverted" time_t value handling.
So far time_t values were interpreted as local time values. However, usually time_t values are to be interpreted as "seconds since 1 Jan 1970 in UTC". Therefore all logic handling time_t values has to be changed.
- So far gmtime() called localtime() with an adjusted time_t, now localtime() calls gmtime() with an adjusted time_t.
- mktime() has to do "the opposite" of localtime(), to keep it that way mktime() does now the inverse adjustment made by localtime().
- All currently present time() implementations internally call mktime() so they don't require individual adjustments.
Oliver Schmidt [Thu, 2 Aug 2018 13:45:57 +0000 (15:45 +0200)]
Increased consistency.
The test program works as-is only if the timezone isn't set (to something different than UTC). However, using localtime() instead of gmtime() makes it at least consistent in that the original time (given to mktime()) is identical to the time retrieved.
Greg King [Sun, 29 Jul 2018 07:50:02 +0000 (03:50 -0400)]
Added code to make the 65816's MVN and MVP instructions handle both immediate (bank) and far-address operands.
Greg King [Fri, 27 Jul 2018 13:07:40 +0000 (09:07 -0400)]
Fixed some code, to adapt to register-use changes caused by pull request #652.
Oliver Schmidt [Thu, 26 Jul 2018 12:35:26 +0000 (14:35 +0200)]
Some minor cleanups.
Oliver Schmidt [Thu, 26 Jul 2018 12:31:17 +0000 (14:31 +0200)]
Fixed regression introduced by https://github.com/cc65/cc65/pull/652.
Oliver Schmidt [Thu, 26 Jul 2018 11:09:21 +0000 (13:09 +0200)]
Updated comment.
IrgendwerA8 [Wed, 25 Jul 2018 20:38:29 +0000 (22:38 +0200)]
Quick fix for missing _div() adaptation after
95223be .
Oliver Schmidt [Tue, 24 Jul 2018 01:25:49 +0000 (03:25 +0200)]
Added test for mktime() and gmtime().
A recent regression makes gmtime()/localtime() fail. So it's obviously desirable to have a test for that code.
Greg King [Fri, 15 Jun 2018 15:01:14 +0000 (11:01 -0400)]
Fixed the order in which the 65816's block-move instructions' operands are written and assembled.
The source bank number is written first; but, assembled second.
The destination bank is written second; but, assembled first.
Oliver Schmidt [Wed, 4 Jul 2018 21:47:33 +0000 (23:47 +0200)]
Merge pull request #695 from ops/cbmkernal_imports
CBM: Add imports for standard kernal entries
Olli Savia [Wed, 4 Jul 2018 14:40:28 +0000 (17:40 +0300)]
Added a blank line between .include statements and .import/.export statements
Olli Savia [Tue, 3 Jul 2018 19:47:42 +0000 (22:47 +0300)]
Removed .import for std kernal entries. Added .include "cbm.inc"
Olli Savia [Tue, 3 Jul 2018 19:44:59 +0000 (22:44 +0300)]
Added .import for std kernal entries
Oliver Schmidt [Mon, 2 Jul 2018 08:39:57 +0000 (10:39 +0200)]
Merge pull request #693 from ops/cbmkernal_stage3
cbm_kernal enhancements
Olli Savia [Sun, 1 Jul 2018 06:58:39 +0000 (09:58 +0300)]
Moved C128 specific definitions to cbm_kernal.inc
Olli Savia [Sun, 1 Jul 2018 06:56:37 +0000 (09:56 +0300)]
Use common include file cbm_kernal.inc
Olli Savia [Sun, 1 Jul 2018 06:54:39 +0000 (09:54 +0300)]
Updated comment
Oliver Schmidt [Sat, 30 Jun 2018 20:26:04 +0000 (22:26 +0200)]
Merge pull request #692 from ops/cbmkernal_stage2
Update library to use cbm_kernal.inc for kernal entry points
Olli Savia [Sat, 30 Jun 2018 13:25:43 +0000 (16:25 +0300)]
TAB to space conversion
Olli Savia [Fri, 29 Jun 2018 19:59:53 +0000 (22:59 +0300)]
Removed RAMTAS
Olli Savia [Fri, 29 Jun 2018 19:58:16 +0000 (22:58 +0300)]
Common include file is now cbm_kernal.inc
Olli Savia [Fri, 29 Jun 2018 19:50:02 +0000 (22:50 +0300)]
Merge remote-tracking branch 'upstream/master' into cbmkernal_stage2
Oliver Schmidt [Fri, 29 Jun 2018 16:59:48 +0000 (18:59 +0200)]
Merge pull request #688 from ops/cbmkernalasm
RFC: Common kernal inc file for Commodore targets
Olli Savia [Fri, 29 Jun 2018 13:14:00 +0000 (16:14 +0300)]
cbmkernal.inc -> cbm_kernal.inc
Olli Savia [Wed, 27 Jun 2018 18:39:24 +0000 (21:39 +0300)]
Use common include file cbmkernal.inc
Oliver Schmidt [Tue, 26 Jun 2018 08:26:15 +0000 (10:26 +0200)]
Merge pull request #682 from shinra-jp/da65-synclines
Support for preprocessing info file via cpp or m4.
AIDA Shinra [Mon, 25 Jun 2018 14:50:46 +0000 (23:50 +0900)]
Style fix
AIDA Shinra [Mon, 25 Jun 2018 14:38:43 +0000 (23:38 +0900)]
Merge remote-tracking branch 'origin' into da65-synclines
Olli Savia [Fri, 22 Jun 2018 08:29:03 +0000 (11:29 +0300)]
TAB to space conversion
Olli Savia [Fri, 22 Jun 2018 08:21:00 +0000 (11:21 +0300)]
RESTOR and VECTOR moved under own ifdef/endif block
Oliver Schmidt [Thu, 21 Jun 2018 20:37:29 +0000 (22:37 +0200)]
Merge pull request #687 from polluks/patch-12
Smaller driver code
Stefan [Thu, 21 Jun 2018 20:30:14 +0000 (20:30 +0000)]
Removed unused label
Olli Savia [Thu, 21 Jun 2018 15:32:38 +0000 (18:32 +0300)]
Added asminc/cbmkernal.inc
greg-king5 [Thu, 21 Jun 2018 12:18:53 +0000 (08:18 -0400)]
Made LINE plot single-point lines correctly.
Stefan [Thu, 21 Jun 2018 00:25:33 +0000 (00:25 +0000)]
Smaller driver code
AIDA Shinra [Wed, 13 Jun 2018 17:04:06 +0000 (02:04 +0900)]
Merge branch 'da65-synclines' of github:shinra-jp/cc65 into da65-synclines
AIDA Shinra [Mon, 11 Jun 2018 17:06:01 +0000 (02:06 +0900)]
Followed the discussions in the Pull request #682.
* Fixed a misspelling
* Fixed styles
* Added sample codes
AIDA Shinra [Sun, 10 Jun 2018 16:53:35 +0000 (01:53 +0900)]
Support for preprocessing info file via cpp or m4.
Oliver Schmidt [Wed, 13 Jun 2018 12:41:24 +0000 (14:41 +0200)]
Merge pull request #681 from shinra-jp/voperand
Support for "inline parameters" of subroutines
AIDA Shinra [Wed, 13 Jun 2018 12:24:34 +0000 (21:24 +0900)]
Style and alignment fixes.
AIDA Shinra [Tue, 12 Jun 2018 16:23:01 +0000 (01:23 +0900)]
Changed the wording of the doc/da65.sgml.
AIDA Shinra [Mon, 11 Jun 2018 17:06:01 +0000 (02:06 +0900)]
Followed the discussions in the Pull request #682.
* Fixed a misspelling
* Fixed styles
* Added sample codes
AIDA Shinra [Mon, 11 Jun 2018 15:18:11 +0000 (00:18 +0900)]
Followed discussions in the Pull reequest #681.
In particular, renamed "virtual operands" to "inline parameters".
AIDA Shinra [Sun, 10 Jun 2018 16:53:35 +0000 (01:53 +0900)]
Support for preprocessing info file via cpp or m4.
Oliver Schmidt [Sun, 10 Jun 2018 16:12:09 +0000 (18:12 +0200)]
Support --print-target-path with spaces.
Don't try this at home ;-))
AIDA Shinra [Sun, 10 Jun 2018 09:09:11 +0000 (18:09 +0900)]
Support for "virtual operands" of subroutines like this:
jsr SomeProc
.byte $00, $01 ; argument to SomeProc
; return here from SomeProc
bit $3F
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.
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.
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.
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
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
Fabrizio Caruso [Wed, 6 Jun 2018 19:18:47 +0000 (21:18 +0200)]
spaces instead of tab
Fabrizio Caruso [Wed, 6 Jun 2018 19:11:17 +0000 (21:11 +0200)]
Fix joystick for the Supervision target
Oliver Schmidt [Wed, 6 Jun 2018 16:59:25 +0000 (18:59 +0200)]
Fixed usage indentation.
existensialMemory [Tue, 5 Jun 2018 02:17:25 +0000 (22:17 -0400)]
Update Makefile
Ben [Tue, 5 Jun 2018 01:27:04 +0000 (21:27 -0400)]
Fix `make` failing in parent directories containing spaces
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.
Greg King [Tue, 29 May 2018 18:29:50 +0000 (14:29 -0400)]
Fixed strpbrk().
Added its prototype. Documented it.
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
IrgendwerA8 [Mon, 28 May 2018 23:47:04 +0000 (01:47 +0200)]
Free 2 bytes again.
IrgendwerA8 [Mon, 28 May 2018 23:12:51 +0000 (01:12 +0200)]
1 byte code size 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 ;)
IrgendwerA8 [Sat, 26 May 2018 22:10:58 +0000 (00:10 +0200)]
Save the three bytes for the plus4 too.
IrgendwerA8 [Sat, 26 May 2018 18:25:51 +0000 (20:25 +0200)]
Saved 3 bytes for the C16 target.
IrgendwerA8 [Sat, 26 May 2018 17:53:44 +0000 (19:53 +0200)]
Saved even one more byte.
IrgendwerA8 [Sat, 26 May 2018 14:37:03 +0000 (16:37 +0200)]
1 byte donation for Fabrizio ;)
IrgendwerA8 [Sat, 26 May 2018 14:33:19 +0000 (16:33 +0200)]
1 byte code size donation for Fabrizio ;)
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.
IrgendwerA8 [Fri, 25 May 2018 21:18:26 +0000 (23:18 +0200)]
Reestablished entry state of signed operation and optimized that (again).
IrgendwerA8 [Fri, 25 May 2018 14:10:16 +0000 (16:10 +0200)]
Fixed first letter of comments (should be upper case).
Oliver Schmidt [Fri, 25 May 2018 12:48:20 +0000 (14:48 +0200)]
Update symbols.txt
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)
Bas Wassink [Fri, 25 May 2018 11:17:12 +0000 (13:17 +0200)]
Add __fastcall__ to cbm_k_second() documentation
IrgendwerA8 [Thu, 24 May 2018 09:37:17 +0000 (11:37 +0200)]
Changed the name of the file too.
IrgendwerA8 [Thu, 24 May 2018 09:31:43 +0000 (11:31 +0200)]
Changed naming absvaludiv -> absvaludiv16.
IrgendwerA8 [Thu, 24 May 2018 01:55:40 +0000 (03:55 +0200)]
Adapted div & mod for popptr1.
compyx [Wed, 23 May 2018 15:37:48 +0000 (17:37 +0200)]
CBM kernal call SECOND, update cbm.h
compyx [Wed, 23 May 2018 15:32:02 +0000 (17:32 +0200)]
Add CBM kernal call SECOND to CBM library (see issue #525)
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
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
Oliver Schmidt [Wed, 23 May 2018 13:48:43 +0000 (15:48 +0200)]
Merge pull request #660 from polluks/patch-11
More references
Stefan [Wed, 23 May 2018 13:40:14 +0000 (13:40 +0000)]
Update funcref.sgml
Stefan [Wed, 23 May 2018 13:34:37 +0000 (13:34 +0000)]
Update tgi.sgml
Stefan [Wed, 23 May 2018 13:32:17 +0000 (13:32 +0000)]
Update funcref.sgml
Stefan [Wed, 23 May 2018 13:30:57 +0000 (13:30 +0000)]
Update funcref.sgml
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)
Oliver Schmidt [Wed, 23 May 2018 07:46:30 +0000 (09:46 +0200)]
Merge pull request #657 from IrgendwerA8/VariousSpeedSizeOptimizations
Various speed size optimizations
Stefan [Wed, 23 May 2018 04:51:32 +0000 (04:51 +0000)]
More references
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.
Stefan [Wed, 23 May 2018 04:27:05 +0000 (04:27 +0000)]
Added documentation of cbm_k_untlk
Stefan [Wed, 23 May 2018 01:51:54 +0000 (01:51 +0000)]
Fixed typos and added references for #655
Stefan [Tue, 22 May 2018 22:32:50 +0000 (22:32 +0000)]
Clean-up because of tgidrv_line.inc
Stefan [Tue, 22 May 2018 21:18:10 +0000 (21:18 +0000)]
Indicate a dummy outtext
IrgendwerA8 [Tue, 22 May 2018 17:10:07 +0000 (19:10 +0200)]
Removed optimizations which break the compiler ones.
compyx [Tue, 22 May 2018 16:48:43 +0000 (18:48 +0200)]
cbm_k_tksa() from the PET docs
IrgendwerA8 [Tue, 22 May 2018 16:35:05 +0000 (18:35 +0200)]
Fix for 8x16 multiplication if operants are swapped.
IrgendwerA8 [Tue, 22 May 2018 13:59:05 +0000 (15:59 +0200)]
Further optimizations in common/conio.
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.