]> git.sur5r.net Git - cc65/log
cc65
9 years agoMerge remote-tracking branch 'upstream/master'
mrdudz [Wed, 19 Nov 2014 14:44:14 +0000 (15:44 +0100)]
Merge remote-tracking branch 'upstream/master'

9 years agoAdjusted URL.
Oliver Schmidt [Mon, 3 Nov 2014 22:31:54 +0000 (23:31 +0100)]
Adjusted URL.

9 years agoConsistently rely on SSL redirection.
Oliver Schmidt [Mon, 3 Nov 2014 22:21:52 +0000 (23:21 +0100)]
Consistently rely on SSL redirection.

9 years agoAdjusted doc URL.
Oliver Schmidt [Mon, 3 Nov 2014 20:42:54 +0000 (21:42 +0100)]
Adjusted doc URL.

9 years agoModified doc generation to target 'doc' repository.
Oliver Schmidt [Mon, 3 Nov 2014 20:23:29 +0000 (21:23 +0100)]
Modified doc generation to target 'doc' repository.

9 years agoAdjusted Travis CI file to recent change.
Oliver Schmidt [Sat, 1 Nov 2014 12:49:19 +0000 (13:49 +0100)]
Adjusted Travis CI file to recent change.

9 years agoReduced clutter in root dir.
Oliver Schmidt [Sat, 1 Nov 2014 12:45:17 +0000 (13:45 +0100)]
Reduced clutter in root dir.

9 years agoIgnore return value of commit (not push).
Oliver Schmidt [Thu, 30 Oct 2014 22:21:40 +0000 (23:21 +0100)]
Ignore return value of commit (not push).

9 years agoMinor changes to cleanup log.
Oliver Schmidt [Thu, 30 Oct 2014 21:43:34 +0000 (22:43 +0100)]
Minor changes to cleanup log.

9 years agoMoved Windows binary snapshot to SourceForge.
Oliver Schmidt [Thu, 30 Oct 2014 21:15:45 +0000 (22:15 +0100)]
Moved Windows binary snapshot to SourceForge.

9 years agoMerge pull request #138 from spiro-trikaliotis/equality-error-uz
Oliver Schmidt [Tue, 14 Oct 2014 13:15:23 +0000 (15:15 +0200)]
Merge pull request #138 from spiro-trikaliotis/equality-error-uz

Equality problem (Ullrich von Bassewitz)

9 years agoMerge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox
Oliver Schmidt [Tue, 14 Oct 2014 13:13:29 +0000 (15:13 +0200)]
Merge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox

Fix for: cc65 forgetting to emit labels (Alan Cox)

9 years agoEquality problem (Ullrich von Bassewitz) 138/head
Spiro Trikaliotis [Tue, 14 Oct 2014 11:41:17 +0000 (13:41 +0200)]
Equality problem (Ullrich von Bassewitz)

Neil Stockbridge reported a problem with equality comparisons on
cc65.org's mailing list:

http://www.cc65.org/mailarchive/2014-10/11680.html

Uz provided a fix for it:

http://www.cc65.org/mailarchive/2014-10/11683.html

This pull request ask to add the fix to cc65 on github.

9 years agoFix for: cc65 forgetting to emit labels (Alan Cox) 137/head
Spiro Trikaliotis [Tue, 14 Oct 2014 11:32:58 +0000 (13:32 +0200)]
Fix for: cc65 forgetting to emit labels (Alan Cox)

Alan Cox provided this on 2014-10-02 on the cc65.org mailing list:

http://www.cc65.org/mailarchive/2014-10/11673.html
[...]
It breaks in several spots with cc65 where cc65 forgets to emit the
labels for the goto statements - the code is there but with no label
and it them blows up linking
[...]

He also provided a fix:
http://www.cc65.org/mailarchive/2014-10/11675.html

which was approved by Uz:
http://www.cc65.org/mailarchive/2014-10/11679.html

This is the patch of Alan Cox, adjusted only to the new locations on
cc65/github.

9 years agoscheisse
mrdudz [Wed, 1 Oct 2014 13:33:41 +0000 (15:33 +0200)]
scheisse

9 years agoMerge pull request #133 from pfusik/fix-char-cast
Oliver Schmidt [Tue, 30 Sep 2014 14:08:41 +0000 (16:08 +0200)]
Merge pull request #133 from pfusik/fix-char-cast

Fix casting an r-value to char.

9 years agofix cast to char, patch by Piotr Fusik
mrdudz [Thu, 25 Sep 2014 21:19:14 +0000 (23:19 +0200)]
fix cast to char, patch by Piotr Fusik

9 years agoMerge remote-tracking branch 'upstream/master'
mrdudz [Thu, 25 Sep 2014 20:01:27 +0000 (22:01 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge pull request #135 from ikorb/patch1
Oliver Schmidt [Thu, 25 Sep 2014 19:50:28 +0000 (21:50 +0200)]
Merge pull request #135 from ikorb/patch1

added tests as prepared by oliver

9 years agoadded tests as prepared by oliver 135/head
mrdudz [Wed, 24 Sep 2014 14:45:10 +0000 (16:45 +0200)]
added tests as prepared by oliver

9 years agoadded commandline option to quit after X cycles
mrdudz [Thu, 25 Sep 2014 16:47:23 +0000 (18:47 +0200)]
added commandline option to quit after X cycles

9 years agoadded tests as prepared by oliver
mrdudz [Wed, 24 Sep 2014 14:45:10 +0000 (16:45 +0200)]
added tests as prepared by oliver

9 years agoFix casting an r-value to char. 133/head
Piotr Fusik [Mon, 22 Sep 2014 21:47:20 +0000 (23:47 +0200)]
Fix casting an r-value to char.

For example:
int f(int i, int j) { return (char) (i + 1) == j; }
f(0x1234, 0x35) returned 0.

This bug caused zlib/uncompress return Z_DATA_ERROR on correct input.

9 years agoMerge pull request #132 from greg-king5/high-zero
Oliver Schmidt [Thu, 11 Sep 2014 06:57:50 +0000 (08:57 +0200)]
Merge pull request #132 from greg-king5/high-zero

Change "#>0" into "#>$0000".

9 years agoChanged literal zeroes of the style "#>0" into the style "#>$0000". 132/head
Greg King [Wed, 10 Sep 2014 23:15:07 +0000 (19:15 -0400)]
Changed literal zeroes of the style "#>0" into the style "#>$0000".

9 years agoMerge pull request #130 from greg-king5/caps-lock
Oliver Schmidt [Tue, 9 Sep 2014 10:55:30 +0000 (12:55 +0200)]
Merge pull request #130 from greg-king5/caps-lock

Disable the Atmos keyboard's CAPS LOCK for stdio too.

9 years agoSwapped the locations of a constructor and a destructor in a source file. 130/head
Greg King [Thu, 4 Sep 2014 21:37:41 +0000 (17:37 -0400)]
Swapped the locations of a constructor and a destructor in a source file.

The constructor now is first.

Used a more expressive literal zero.

9 years agoMerge pull request #131 from greg-king5/refine-crt
Oliver Schmidt [Sun, 24 Aug 2014 19:31:35 +0000 (21:31 +0200)]
Merge pull request #131 from greg-king5/refine-crt

Made the crt0.s source files comments be consistent with each other.

9 years agoRefined the comments in the target start-up files. 131/head
Greg King [Sat, 23 Aug 2014 18:05:36 +0000 (14:05 -0400)]
Refined the comments in the target start-up files.

Fixed typo errors.  Made the comments consistent across all those files.

9 years agoMoved the CAPS LOCK code out of the startup file, and into its own file.
Greg King [Fri, 22 Aug 2014 21:19:58 +0000 (17:19 -0400)]
Moved the CAPS LOCK code out of the startup file, and into its own file.

9 years agoDisable the Atmos keyboard's CAPS LOCK for both conio and stdio.
Greg King [Thu, 21 Aug 2014 14:46:25 +0000 (10:46 -0400)]
Disable the Atmos keyboard's CAPS LOCK for both conio and stdio.

9 years agoMerge pull request #129 from greg-king5/cbmdir
Oliver Schmidt [Thu, 17 Jul 2014 14:50:49 +0000 (16:50 +0200)]
Merge pull request #129 from greg-king5/cbmdir

Update 2 CBM directory functions.

9 years agoImproved some multiplication code. 129/head
Greg King [Thu, 17 Jul 2014 11:11:14 +0000 (07:11 -0400)]
Improved some multiplication code.

9 years agoFixed a buffer overrun bug.
Greg King [Thu, 17 Jul 2014 11:05:10 +0000 (07:05 -0400)]
Fixed a buffer overrun bug.

9 years agoMerge pull request #128 from greg-king5/multi-comments
Oliver Schmidt [Tue, 1 Jul 2014 07:48:18 +0000 (09:48 +0200)]
Merge pull request #128 from greg-king5/multi-comments

Changed multi-line C comments into another style.

9 years agoChanged multi-line C comments into another style. 128/head
Greg King [Mon, 30 Jun 2014 09:10:35 +0000 (05:10 -0400)]
Changed multi-line C comments into another style.

The left side doesn't look unbalanced.

9 years agoRevert "don't define DYN_DRV for targets which don't predefine it"
Oliver Schmidt [Wed, 4 Jun 2014 21:50:46 +0000 (23:50 +0200)]
Revert "don't define DYN_DRV for targets which don't predefine it"

This reverts commit 29671f5f06066c2faaf5319a7bded3ef87bf1c50.

9 years agoCreate static drivers directly from source files.
Oliver Schmidt [Wed, 4 Jun 2014 21:50:18 +0000 (23:50 +0200)]
Create static drivers directly from source files.

Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:

The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.

However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.

Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').

9 years agoNormalized style.
Oliver Schmidt [Tue, 3 Jun 2014 16:30:11 +0000 (18:30 +0200)]
Normalized style.

We don't use .ifndef .else .endif

9 years agoMerge pull request #125 from groessler/something_to_pull2
Oliver Schmidt [Mon, 2 Jun 2014 07:00:18 +0000 (09:00 +0200)]
Merge pull request #125 from groessler/something_to_pull2

Adapt joy-test.c for Atari 5200

9 years agofix last change 125/head
Christian Groessler [Mon, 2 Jun 2014 06:41:35 +0000 (08:41 +0200)]
fix last change

9 years agoMerge pull request #127 from groessler/something_to_pull
Oliver Schmidt [Sun, 1 Jun 2014 18:57:42 +0000 (20:57 +0200)]
Merge pull request #127 from groessler/something_to_pull

mousetest.c: don't set DYN_DRV to 1 for targets which don't predefine it

9 years agodon't define DYN_DRV for targets which don't predefine it 127/head
Christian Groessler [Sun, 1 Jun 2014 17:18:57 +0000 (19:18 +0200)]
don't define DYN_DRV for targets which don't predefine it

9 years agouse DYN_DRV and MOUSE_DRIVER defines to decide which driver to use
Christian Groessler [Sun, 1 Jun 2014 17:17:02 +0000 (19:17 +0200)]
use DYN_DRV and MOUSE_DRIVER defines to decide which driver to use

9 years agoAdded Apple GEOS to the list of targets.
Oliver Schmidt [Sun, 1 Jun 2014 16:27:52 +0000 (18:27 +0200)]
Added Apple GEOS to the list of targets.

9 years agoset DYN_DRV to 0; define atr5200std_joy
Christian Groessler [Sat, 31 May 2014 17:44:10 +0000 (19:44 +0200)]
set DYN_DRV to 0; define atr5200std_joy

9 years agoMerge pull request #124 from groessler/something_to_pull
Oliver Schmidt [Sat, 31 May 2014 15:36:45 +0000 (17:36 +0200)]
Merge pull request #124 from groessler/something_to_pull

add 'console' to NES line in README.md

9 years agoAdapt joy-test.c for Atari 5200 (only has 20x24 display)
Christian Groessler [Fri, 30 May 2014 21:38:27 +0000 (23:38 +0200)]
Adapt joy-test.c for Atari 5200 (only has 20x24 display)
Fix static driver name.

9 years agoadd 'console' to NES line 124/head
Christian Groessler [Fri, 30 May 2014 21:28:52 +0000 (23:28 +0200)]
add 'console' to NES line

9 years agoMerge pull request #122 from groessler/a5200
Oliver Schmidt [Fri, 30 May 2014 20:52:51 +0000 (22:52 +0200)]
Merge pull request #122 from groessler/a5200

new target: Atari 5200 console

9 years agorename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_g... 122/head
Christian Groessler [Fri, 30 May 2014 20:00:18 +0000 (22:00 +0200)]
rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc

9 years agomove atari5200 behind atari and atarixl in TARGETS list
Christian Groessler [Fri, 30 May 2014 11:39:09 +0000 (13:39 +0200)]
move atari5200 behind atari and atarixl in TARGETS list

9 years agoremove atari5200.mac
Christian Groessler [Fri, 30 May 2014 11:38:29 +0000 (13:38 +0200)]
remove atari5200.mac

9 years agoMerge pull request #123 from greg-king5/cbm-errors
Oliver Schmidt [Fri, 30 May 2014 08:22:01 +0000 (10:22 +0200)]
Merge pull request #123 from greg-king5/cbm-errors

Lengthen some CBM error messages.

9 years agoprovide CLK_TCK and CLOCKS_PER_SEC values for atari5200
Christian Groessler [Thu, 29 May 2014 11:23:45 +0000 (13:23 +0200)]
provide CLK_TCK and CLOCKS_PER_SEC values for atari5200

9 years agoUsed longer error text. 123/head
Greg King [Thu, 29 May 2014 03:01:48 +0000 (23:01 -0400)]
Used longer error text.

Added more codes and messages.

9 years agofix build error
Christian Groessler [Wed, 28 May 2014 23:50:41 +0000 (01:50 +0200)]
fix build error

9 years agoadd atari5200.h
Christian Groessler [Wed, 28 May 2014 22:42:54 +0000 (00:42 +0200)]
add atari5200.h

9 years agoremove unneeded ATASCII defs; add header
Christian Groessler [Wed, 28 May 2014 22:42:30 +0000 (00:42 +0200)]
remove unneeded ATASCII defs; add header

9 years agofix warning when generating info file
Christian Groessler [Wed, 28 May 2014 22:41:39 +0000 (00:41 +0200)]
fix warning when generating info file

9 years agouse atari target scrcode macro for atari5200 target, too
Christian Groessler [Wed, 28 May 2014 22:18:55 +0000 (00:18 +0200)]
use atari target scrcode macro for atari5200 target, too

9 years agodon't use scrcode for numbers
Christian Groessler [Wed, 28 May 2014 22:18:22 +0000 (00:18 +0200)]
don't use scrcode for numbers

9 years agoremove TABs
Christian Groessler [Wed, 28 May 2014 21:39:31 +0000 (23:39 +0200)]
remove TABs

9 years agocleanups and add comments
Christian Groessler [Wed, 28 May 2014 21:38:22 +0000 (23:38 +0200)]
cleanups and add comments

9 years agocheck trigger button (TRIGx); correctly report joystick count depending
Christian Groessler [Tue, 27 May 2014 22:35:49 +0000 (00:35 +0200)]
check trigger button (TRIGx); correctly report joystick count depending
on 5200 console version

9 years agosmall doc update
Christian Groessler [Tue, 27 May 2014 22:34:34 +0000 (00:34 +0200)]
small doc update

9 years agoMerge pull request #121 from groessler/something_to_pull
Oliver Schmidt [Tue, 27 May 2014 06:50:56 +0000 (08:50 +0200)]
Merge pull request #121 from groessler/something_to_pull

small optimization

9 years agomore doc updates for atari5200
Christian Groessler [Tue, 27 May 2014 00:44:59 +0000 (02:44 +0200)]
more doc updates for atari5200

9 years agoDon't reserve space for display list in __RESERVED_MEMORY__ since the
Christian Groessler [Tue, 27 May 2014 00:43:17 +0000 (02:43 +0200)]
Don't reserve space for display list in __RESERVED_MEMORY__ since the
default display list is in ROM.

9 years agosmall optimization 121/head
Christian Groessler [Mon, 26 May 2014 23:49:35 +0000 (01:49 +0200)]
small optimization

9 years agonot a dummy implementation anymore...
Christian Groessler [Mon, 26 May 2014 23:47:37 +0000 (01:47 +0200)]
not a dummy implementation anymore...

9 years agoMerge pull request #120 from greg-king5/cbm-errors
Oliver Schmidt [Mon, 26 May 2014 13:29:22 +0000 (15:29 +0200)]
Merge pull request #120 from greg-king5/cbm-errors

Update the CBM error tables.

9 years agoUpdated the CBM error tables. 120/head
Greg King [Mon, 26 May 2014 13:03:43 +0000 (09:03 -0400)]
Updated the CBM error tables.

* Added more mappings between DOS and C codes.
* Changed generic error messages into specific ones.

9 years agoMerge pull request #119 from greg-king5/strncpy-doc
Oliver Schmidt [Mon, 26 May 2014 11:19:08 +0000 (13:19 +0200)]
Merge pull request #119 from greg-king5/strncpy-doc

Update the function reference document.

9 years agoUpdated the function reference document. 119/head
Greg King [Mon, 26 May 2014 09:59:49 +0000 (05:59 -0400)]
Updated the function reference document.

* Fixed the description of strncpy().
* Added some [commented out] function names to the lists for some headers.

9 years agoMerge pull request #118 from greg-king5/quoted-token
Oliver Schmidt [Sun, 25 May 2014 21:22:12 +0000 (23:22 +0200)]
Merge pull request #118 from greg-king5/quoted-token

Add a quoted-token version of strtok().

9 years agoMore conforming to the cc65 project's apparent writing style. 118/head
Greg King [Fri, 23 May 2014 20:52:02 +0000 (16:52 -0400)]
More conforming to the cc65 project's apparent writing style.

9 years agoConformed to the cc65 project's coding style.
Greg King [Fri, 23 May 2014 04:35:19 +0000 (00:35 -0400)]
Conformed to the cc65 project's coding style.

9 years agoSlightly refined the strqtok() documentation.
Greg King [Thu, 22 May 2014 17:58:51 +0000 (13:58 -0400)]
Slightly refined the strqtok() documentation.

9 years agoAdded an attribution.
Greg King [Thu, 22 May 2014 17:42:15 +0000 (13:42 -0400)]
Added an attribution.

9 years agoDocumented strqtok().
Greg King [Thu, 22 May 2014 15:18:30 +0000 (11:18 -0400)]
Documented strqtok().

9 years agoMerge pull request #117 from groessler/something_to_pull
Oliver Schmidt [Thu, 22 May 2014 07:36:10 +0000 (09:36 +0200)]
Merge pull request #117 from groessler/something_to_pull

Set the "simple" bit in the .o65 mode word only if text, data, and bss are adjacent.

9 years agoSet the "simple" bit in the .o65 mode word only if text, data, and bss 117/head
Christian Groessler [Wed, 21 May 2014 21:43:56 +0000 (23:43 +0200)]
Set the "simple" bit in the .o65 mode word only if text, data, and bss
are adjacent.

9 years agoAdded a quoted-token parsing function.
Greg King [Tue, 20 May 2014 20:33:16 +0000 (16:33 -0400)]
Added a quoted-token parsing function.

9 years agomore documentation updates for Atari 5200
Christian Groessler [Fri, 16 May 2014 00:27:20 +0000 (02:27 +0200)]
more documentation updates for Atari 5200

9 years agodocumentation updates for Atari 5200
Christian Groessler [Fri, 16 May 2014 00:26:20 +0000 (02:26 +0200)]
documentation updates for Atari 5200

9 years agochanged version, startup screen now not fine anymore
Christian Groessler [Fri, 16 May 2014 00:12:01 +0000 (02:12 +0200)]
changed version, startup screen now not fine anymore

9 years agosome CONIO fixes
Christian Groessler [Fri, 16 May 2014 00:10:19 +0000 (02:10 +0200)]
some CONIO fixes

9 years agoMerge pull request #116 from greg-king5/symbol-table
Oliver Schmidt [Tue, 13 May 2014 06:49:13 +0000 (08:49 +0200)]
Merge pull request #116 from greg-king5/symbol-table

Fix a ca65 internal error.

10 years agoMerge pull request #115 from greg-king5/cc65-mul
Oliver Schmidt [Mon, 12 May 2014 13:34:32 +0000 (15:34 +0200)]
Merge pull request #115 from greg-king5/cc65-mul

Add a signed 8-bit times 8-bit multiply function.

10 years agoFixed a ca65 internal error that would show a message when a name is exported both... 116/head
Greg King [Mon, 12 May 2014 06:08:04 +0000 (02:08 -0400)]
Fixed a ca65 internal error that would show a message when a name is exported both outside and inside a scope.

Jeremy Turner described the bug, on the original cc65 mailing list.  It was fixed by Ullrich von Bassewitz.

10 years agoclrscr for Atari 5200 default conio screen
Christian Groessler [Mon, 12 May 2014 01:05:21 +0000 (03:05 +0200)]
clrscr for Atari 5200 default conio screen

10 years agoadd joystick driver -- trigger buttons are not queried yet
Christian Groessler [Mon, 12 May 2014 01:03:44 +0000 (03:03 +0200)]
add joystick driver -- trigger buttons are not queried yet

10 years agoadd dummy irq.s
Christian Groessler [Mon, 12 May 2014 01:02:17 +0000 (03:02 +0200)]
add dummy irq.s

10 years agoFixed the comments to say where the actual Left-Hand Side and Right-Hand Side are... 115/head
Greg King [Sun, 11 May 2014 14:43:06 +0000 (10:43 -0400)]
Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put.

A description of positions [left, right] is appropriate more for C code than for Assembly code.  (A description of timing [first argument, second argument] is more appropriate for the way that Assembly code is written.)

10 years agoAdded a fast subroutine to multiply two signed 8-bit numbers.
Greg King [Sun, 11 May 2014 05:08:27 +0000 (01:08 -0400)]
Added a fast subroutine to multiply two signed 8-bit numbers.

10 years agoMerge pull request #114 from greg-king5/phantom
Oliver Schmidt [Fri, 9 May 2014 17:30:51 +0000 (19:30 +0200)]
Merge pull request #114 from greg-king5/phantom

Added the phantom-key exorcism code to the other C128 mouse drivers.

10 years agoAdded comments that explain why some instructions are implied. 114/head
Greg King [Mon, 5 May 2014 17:45:34 +0000 (13:45 -0400)]
Added comments that explain why some instructions are implied.

10 years agoBack-migrated some phantom-key rejection optimizations.
Greg King [Mon, 5 May 2014 10:28:19 +0000 (06:28 -0400)]
Back-migrated some phantom-key rejection optimizations.

10 years agoMigrated the phantom-key exorcism code to the other C128 mouse drivers.
Greg King [Mon, 5 May 2014 09:30:31 +0000 (05:30 -0400)]
Migrated the phantom-key exorcism code to the other C128 mouse drivers.