]> git.sur5r.net Git - cc65/log
cc65
9 years agomoved all notes into regular documentation
mrdudz [Thu, 16 Jul 2015 19:39:13 +0000 (21:39 +0200)]
moved all notes into regular documentation

9 years agofixed joypad bits
mrdudz [Thu, 16 Jul 2015 18:15:05 +0000 (20:15 +0200)]
fixed joypad bits

9 years agoadded some cbm-like gfx chars to draw lines and boxes
mrdudz [Thu, 16 Jul 2015 15:33:00 +0000 (17:33 +0200)]
added some cbm-like gfx chars to draw lines and boxes

9 years agomake sure clocktick starts at zero
mrdudz [Thu, 16 Jul 2015 14:54:40 +0000 (16:54 +0200)]
make sure clocktick starts at zero

9 years agoMerge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Thu, 16 Jul 2015 14:46:24 +0000 (16:46 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget

9 years agoMerge branch 'mrdudz-pointer'
Oliver Schmidt [Thu, 16 Jul 2015 14:05:50 +0000 (16:05 +0200)]
Merge branch 'mrdudz-pointer'

9 years agofixed screensize, timertick, revers mode
mrdudz [Thu, 16 Jul 2015 14:00:32 +0000 (16:00 +0200)]
fixed screensize, timertick, revers mode

9 years agoadded waitvblank and fixed get_tv
mrdudz [Wed, 15 Jul 2015 17:46:26 +0000 (19:46 +0200)]
added waitvblank and fixed get_tv

9 years agofixed issues found by gregg
mrdudz [Wed, 15 Jul 2015 11:18:12 +0000 (13:18 +0200)]
fixed issues found by gregg

9 years agoMerge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
Oliver Schmidt [Wed, 15 Jul 2015 10:04:06 +0000 (12:04 +0200)]
Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer

9 years ago_tickcount -> tickcount
mrdudz [Tue, 14 Jul 2015 17:55:41 +0000 (19:55 +0200)]
_tickcount -> tickcount

9 years agosome more tweaking, added docs page
mrdudz [Tue, 14 Jul 2015 15:22:47 +0000 (17:22 +0200)]
some more tweaking, added docs page

9 years agoadded imports for conio init to conio functions, so the constructor will get linked...
mrdudz [Mon, 13 Jul 2015 10:10:09 +0000 (12:10 +0200)]
added imports for conio init to conio functions, so the constructor will get linked and called automatically

9 years agomore cleanup and fixing
mrdudz [Sun, 12 Jul 2015 14:40:52 +0000 (16:40 +0200)]
more cleanup and fixing

9 years agomore cleanup, joystick works again
mrdudz [Sun, 12 Jul 2015 12:27:24 +0000 (14:27 +0200)]
more cleanup, joystick works again

9 years agoMerge pull request #158 from Movax12/definedmacro
Oliver Schmidt [Sun, 12 Jul 2015 11:32:03 +0000 (13:32 +0200)]
Merge pull request #158 from Movax12/definedmacro

Added .DEFINEDMACRO psuedo function

9 years agosimple conio test works again
mrdudz [Sun, 12 Jul 2015 08:32:55 +0000 (10:32 +0200)]
simple conio test works again

9 years agoMove FuncIsMnemonic 158/head
JT [Sat, 11 Jul 2015 23:09:42 +0000 (19:09 -0400)]
Move FuncIsMnemonic

9 years agoMerge pull request #174 from mrdudz/testsuite
Oliver Schmidt [Sat, 11 Jul 2015 13:37:56 +0000 (15:37 +0200)]
Merge pull request #174 from mrdudz/testsuite

use rm -r instead of rmdir, and use -f for rm

9 years agoMerge remote-tracking branch 'upstream/master' into pcenginetarget
mrdudz [Sat, 11 Jul 2015 11:05:26 +0000 (13:05 +0200)]
Merge remote-tracking branch 'upstream/master' into pcenginetarget

9 years agoMerge remote-tracking branch 'upstream/master' into testsuite 174/head
mrdudz [Sat, 11 Jul 2015 10:44:06 +0000 (12:44 +0200)]
Merge remote-tracking branch 'upstream/master' into testsuite

9 years agoIgnore return values only with CMD.EXE MkII.
Oliver Schmidt [Fri, 10 Jul 2015 22:01:39 +0000 (00:01 +0200)]
Ignore return values only with CMD.EXE MkII.

CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.

9 years agoIgnore return values only with CMD.EXE.
Oliver Schmidt [Fri, 10 Jul 2015 20:39:33 +0000 (22:39 +0200)]
Ignore return values only with CMD.EXE.

CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.

9 years agoworkaround for cmd.exe rmdir
mrdudz [Fri, 10 Jul 2015 18:04:31 +0000 (20:04 +0200)]
workaround for cmd.exe rmdir

9 years agotests for illegal pointer operations that must always fail 176/head
mrdudz [Fri, 10 Jul 2015 16:38:54 +0000 (18:38 +0200)]
tests for illegal pointer operations that must always fail

9 years agopatch from Uz that makes some illegal operations on pointers error out
mrdudz [Fri, 10 Jul 2015 12:27:49 +0000 (14:27 +0200)]
patch from Uz that makes some illegal operations on pointers error out

9 years agoremoved -f again, as that is the default. also removed "-" before the actual comments...
mrdudz [Fri, 10 Jul 2015 09:11:41 +0000 (11:11 +0200)]
removed -f again, as that is the default. also removed "-" before the actual comments, which were the workaround previously

9 years agouse rm -r instead of rmdir, and use -f for rm, that makes subsequent runs of "make...
mrdudz [Fri, 10 Jul 2015 08:43:00 +0000 (10:43 +0200)]
use rm -r instead of rmdir, and use -f for rm, that makes subsequent runs of "make clean" not fail

9 years agoMerge pull request #173 from mrdudz/testsuite3
Oliver Schmidt [Thu, 9 Jul 2015 16:46:07 +0000 (18:46 +0200)]
Merge pull request #173 from mrdudz/testsuite3

two more tests

9 years agotwo more tests 173/head
mrdudz [Thu, 9 Jul 2015 15:36:12 +0000 (17:36 +0200)]
two more tests

9 years agoMerge pull request #164 from greg-king5/testsuite
Oliver Schmidt [Wed, 1 Jul 2015 18:58:56 +0000 (20:58 +0200)]
Merge pull request #164 from greg-king5/testsuite

Adjust some new test programs.

9 years agoMerge pull request #165 from greg-king5/array-pointer
Oliver Schmidt [Wed, 1 Jul 2015 18:54:15 +0000 (20:54 +0200)]
Merge pull request #165 from greg-king5/array-pointer

Fix pointer-to-array indirection bug.

9 years agoRemoved some trailing whitespace; and, expanded a tab. 165/head
Greg King [Wed, 1 Jul 2015 14:07:40 +0000 (10:07 -0400)]
Removed some trailing whitespace; and, expanded a tab.

9 years agoAdded special-case compiler code that handles a pointer-to-array dereference.
Greg King [Wed, 1 Jul 2015 10:55:57 +0000 (06:55 -0400)]
Added special-case compiler code that handles a pointer-to-array dereference.

The type needs to change (to array); but, the address shouldn't be changed -- it already points to the first element.
Based on a bug analysis by Daniel Serpell.

9 years agoAdded a regression test for pointer-to-array dereferences.
Greg King [Wed, 1 Jul 2015 10:54:05 +0000 (06:54 -0400)]
Added a regression test for pointer-to-array dereferences.

9 years agoAdded comments that explain the unstable behavior of a test program. 164/head
Greg King [Tue, 30 Jun 2015 13:00:28 +0000 (09:00 -0400)]
Added comments that explain the unstable behavior of a test program.

9 years agoFixed an uninitiated pointer.
Greg King [Tue, 30 Jun 2015 12:54:13 +0000 (08:54 -0400)]
Fixed an uninitiated pointer.

9 years agoMerge pull request #163 from mrdudz/testsuite2
Oliver Schmidt [Mon, 29 Jun 2015 09:32:01 +0000 (11:32 +0200)]
Merge pull request #163 from mrdudz/testsuite2

added 3 more tests

9 years agoremove comment 163/head
mrdudz [Mon, 29 Jun 2015 09:18:24 +0000 (11:18 +0200)]
remove comment

9 years agoremove workaround for optimizer bug
mrdudz [Mon, 29 Jun 2015 00:34:12 +0000 (02:34 +0200)]
remove workaround for optimizer bug

9 years agoadded 3 more test
mrdudz [Sun, 28 Jun 2015 23:57:39 +0000 (01:57 +0200)]
added 3 more test

9 years agoAdded .DEFINEDMACRO psuedo function
JT [Mon, 11 May 2015 00:25:40 +0000 (20:25 -0400)]
Added .DEFINEDMACRO psuedo function

Fixed typo/fomatting

Formatting fix

Refactor the code to test for a macro

Remove .FEATURE requirement for .DEFINEDMACRO

9 years agoRevert "Equality problem (Ullrich von Bassewitz)".
Oliver Schmidt [Fri, 26 Jun 2015 23:09:20 +0000 (01:09 +0200)]
Revert "Equality problem (Ullrich von Bassewitz)".

Uz classifies his own fix as broken:

http://www.cc65.org/mailarchive/2015-01/11721.html

Although the original issue fixed seemed rather significant looking
back now the regression caused by the (broken) fix seems even more
significant :-(

(reverted from commit 55815ea10cfa3a779b44399f99dd0cf1cb4956f2)

======================================================================

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 agoRun the regression tests _before_ replacing the built binaries with Win32 cross-builds.
Oliver Schmidt [Fri, 26 Jun 2015 22:43:41 +0000 (00:43 +0200)]
Run the regression tests _before_ replacing the built binaries with Win32 cross-builds.

9 years agoAvoid "*** Recursive variable `RM' references itself (eventually)."
Oliver Schmidt [Fri, 26 Jun 2015 22:33:24 +0000 (00:33 +0200)]
Avoid  "*** Recursive variable `RM' references itself (eventually)."

9 years agoAdded regression tests to Travis.
Oliver Schmidt [Fri, 26 Jun 2015 22:04:51 +0000 (00:04 +0200)]
Added regression tests to Travis.

9 years agoMade test Makefiles work with CMD.EXE
Oliver Schmidt [Fri, 26 Jun 2015 22:03:45 +0000 (00:03 +0200)]
Made test Makefiles work with CMD.EXE

9 years agoAvoid wrong error.
Oliver Schmidt [Fri, 26 Jun 2015 21:36:14 +0000 (23:36 +0200)]
Avoid wrong error.

9 years agoMerge pull request #162 from greg-king5/fastcall
Oliver Schmidt [Thu, 25 Jun 2015 19:36:06 +0000 (21:36 +0200)]
Merge pull request #162 from greg-king5/fastcall

Test-suite work-arounds for the new compiler

9 years agoAdded some names to the list of test-suite programs that need the --all-cdecl work... 162/head
Greg King [Thu, 25 Jun 2015 17:57:17 +0000 (13:57 -0400)]
Added some names to the list of test-suite programs that need the --all-cdecl work-around.

Added a work-around for a cc65 bug that made the yacc tests fail.

9 years agoBumped version. V2.15
Oliver Schmidt [Thu, 25 Jun 2015 07:19:35 +0000 (09:19 +0200)]
Bumped version.

As suggested the incompatibility resulting form changing the default calling convention makes a new version appropriate - from user perspective.

9 years agoMerge pull request #161 from greg-king5/fastcall
Oliver Schmidt [Mon, 22 Jun 2015 08:47:51 +0000 (10:47 +0200)]
Merge pull request #161 from greg-king5/fastcall

Update some overlooked fastcall pointer-to-function system declarations

9 years agoAdded explicit settings of calling conventions in pointer-to-function declarations... 161/head
Greg King [Mon, 22 Jun 2015 04:15:48 +0000 (00:15 -0400)]
Added explicit settings of calling conventions in pointer-to-function declarations in system and library headers.

9 years agoMerge pull request #160 from Movax12/definedinstr
Oliver Schmidt [Thu, 4 Jun 2015 20:05:00 +0000 (22:05 +0200)]
Merge pull request #160 from Movax12/definedinstr

.DEFINEDINSTR

9 years agoMerge pull request #151 from greg-king5/fastcall
Oliver Schmidt [Tue, 26 May 2015 20:39:33 +0000 (22:39 +0200)]
Merge pull request #151 from greg-king5/fastcall

Make __fastcall__ be the default calling convention.

9 years agoImproved the compiler documentation, a little bit. 151/head
Greg King [Tue, 26 May 2015 15:23:54 +0000 (11:23 -0400)]
Improved the compiler documentation, a little bit.

9 years agoMade cc65 properly test calling conventions when it compares forward declarations...
Greg King [Sun, 24 May 2015 22:31:50 +0000 (18:31 -0400)]
Made cc65 properly test calling conventions when it compares forward declarations to function definitions.

9 years agoMade cc65 properly test variadic-function pointer assignments.
Greg King [Sun, 24 May 2015 12:32:15 +0000 (08:32 -0400)]
Made cc65 properly test variadic-function pointer assignments.

Improved some error messages.

9 years agoUpdate documentation to .ISMNEMONIC 160/head
JT [Sat, 23 May 2015 00:33:42 +0000 (20:33 -0400)]
Update documentation to .ISMNEMONIC

9 years agoAdded needed changes to pseudo.c
JT [Wed, 20 May 2015 00:45:49 +0000 (20:45 -0400)]
Added needed changes to pseudo.c

9 years agochanged name of function to .ISMNEMONIC, small fixes
JT [Tue, 19 May 2015 23:50:51 +0000 (19:50 -0400)]
changed name of function to .ISMNEMONIC, small fixes

9 years agoMerge pull request #159 from groessler/something_to_pull
Oliver Schmidt [Tue, 19 May 2015 13:56:16 +0000 (15:56 +0200)]
Merge pull request #159 from groessler/something_to_pull

Fix verbose symbol dumping in ca65.

9 years agoRemove .FEATURE requirement and add documentation
JT [Tue, 19 May 2015 04:06:12 +0000 (00:06 -0400)]
Remove .FEATURE requirement and add documentation

9 years agoFix verbose symbol dumping in ca65. 159/head
Christian Groessler [Sat, 16 May 2015 03:20:15 +0000 (05:20 +0200)]
Fix verbose symbol dumping in ca65.

9 years agoFixed isblank() availability atttribute.
Oliver Schmidt [Wed, 13 May 2015 12:54:12 +0000 (14:54 +0200)]
Fixed isblank() availability atttribute.

9 years agoAdded pseudo function .DEFINEDINSTR
JT [Tue, 12 May 2015 23:28:57 +0000 (19:28 -0400)]
Added pseudo function .DEFINEDINSTR

9 years agoMade cc65 catch an assignment of a function pointer to a pointer with a different...
Greg King [Tue, 12 May 2015 08:15:00 +0000 (04:15 -0400)]
Made cc65 catch an assignment of a function pointer to a pointer with a different calling convention.

9 years agoSimplified license.
Oliver Schmidt [Tue, 5 May 2015 19:56:23 +0000 (21:56 +0200)]
Simplified license.

In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714058#55 John Dunning writes on 4/May/2015:

"Hi all.  I gather that the preference is to license CC65 and
associated technologies under the zlib license.  I hereby give my
approval for any software written by me as part of CC65 and associated
technologies under the zlib license."

The above together with the fact that all subsequent work on cc65 was already licensed under the zlib license means that cc65 can now be licensed altogether under the zlib license.

9 years agoRemoved 'gh-pages'.
Oliver Schmidt [Tue, 5 May 2015 11:46:26 +0000 (13:46 +0200)]
Removed 'gh-pages'.

The 'gh-pages' goal has been moved to another Makefile. This reference was just a leftover.

9 years agoFixed comment.
Oliver Schmidt [Mon, 27 Apr 2015 07:39:50 +0000 (09:39 +0200)]
Fixed comment.

9 years agoUse well-known location BLTU2 for "memmove()". 156/head
Oliver Schmidt [Sun, 26 Apr 2015 12:08:46 +0000 (14:08 +0200)]
Use well-known location BLTU2 for "memmove()".

9 years agoAdded cmdline support to exec().
Oliver Schmidt [Sun, 26 Apr 2015 12:01:36 +0000 (14:01 +0200)]
Added cmdline support to exec().

The starting point is the CALL2051:REM <cmdline> approach. It uses the BASIC input buffer at $200. ProDOS stores the name of the loaded program at $280 (which we want for argv[0]) leaving us with 128 char buffer. If we run the program via exec() we don't need the CALL2051 but only the REM token (which is just one char). So have a maximum cmdline length of 126 (plus a terminating zero).

There's no specification for ProDOS BIN file cmdline parameters so exec() just supports the CALL2051:REM <cmdline> approach. In contrast ProDOS SYS files allow for a 'startup filename'. A ProDOS filename is short than 126 chars so having exec() general cut the cmdline after 126 chars seems reasonable. If the SYS file we exec() allows for less we cut the cmdline further.

Our 'loader.system' SYS file however allows for an unusually 126 char long "startup filename" as it is targeted towards cc65 BIN porgrams with their 126 cmdline length.

9 years agoChanged the compiler test-suite to work with the fastcall-default version of cc65.
Greg King [Wed, 22 Apr 2015 14:05:07 +0000 (10:05 -0400)]
Changed the compiler test-suite to work with the fastcall-default version of cc65.

9 years agoAdded a command-line option to compile a program, with __cdecl__ as the default calli...
Greg King [Wed, 22 Apr 2015 13:59:23 +0000 (09:59 -0400)]
Added a command-line option to compile a program, with __cdecl__ as the default calling convention.

9 years agoMerge pull request #155 from Movax12/exp
Oliver Schmidt [Wed, 22 Apr 2015 11:20:32 +0000 (13:20 +0200)]
Merge pull request #155 from Movax12/exp

Added function .ADDRSIZE to ca65

9 years agoMerge pull request #4 from Movax12/addrsize 155/head
Movax12 [Tue, 21 Apr 2015 20:28:18 +0000 (16:28 -0400)]
Merge pull request #4 from Movax12/addrsize

Fix typo in documentation for .ADDRSIZE

9 years agoFix typo in documentation for .ADDRSIZE
JT [Tue, 21 Apr 2015 20:21:27 +0000 (16:21 -0400)]
Fix typo in documentation for .ADDRSIZE

9 years agoMerge pull request #3 from Movax12/addrsize
Movax12 [Tue, 21 Apr 2015 20:10:42 +0000 (16:10 -0400)]
Merge pull request #3 from Movax12/addrsize

Addrsize update

9 years agoSmall changes to coding style and to ca65 documentation for .ADDRSIZE
JT [Tue, 21 Apr 2015 20:09:01 +0000 (16:09 -0400)]
Small changes to coding style and to ca65 documentation for .ADDRSIZE

9 years ago2nd Small change to .ADDRSIZE documentation
JT [Mon, 20 Apr 2015 23:40:41 +0000 (19:40 -0400)]
2nd Small change to .ADDRSIZE documentation

9 years agoMerge pull request #2 from Movax12/addrsize
Movax12 [Mon, 20 Apr 2015 23:15:35 +0000 (19:15 -0400)]
Merge pull request #2 from Movax12/addrsize

Addrsize documentation

9 years agoSmall change to .ADDRSIZE documentation
JT [Mon, 20 Apr 2015 23:09:18 +0000 (19:09 -0400)]
Small change to .ADDRSIZE documentation

9 years agoUpdated documentation for .ADDRSIZE and .FEATURE addrsize
JT [Mon, 20 Apr 2015 22:56:34 +0000 (18:56 -0400)]
Updated documentation for .ADDRSIZE and .FEATURE addrsize

9 years agoMerge pull request #1 from Movax12/addrsize
Movax12 [Mon, 20 Apr 2015 21:27:27 +0000 (17:27 -0400)]
Merge pull request #1 from Movax12/addrsize

Improved on funciton .ADDRSIZE. Conform to coding style.

9 years agoImproved on funciton .ADDRSIZE. Conform to coding style.
JT [Mon, 20 Apr 2015 21:20:54 +0000 (17:20 -0400)]
Improved on funciton .ADDRSIZE. Conform to coding style.

9 years agoAdded function .ADDRSIZE to ca65
JT [Mon, 20 Apr 2015 03:21:56 +0000 (23:21 -0400)]
Added function .ADDRSIZE to ca65

9 years agoBehave more like BASIC.SYSTEM and allow for argv[0].
Oliver Schmidt [Sun, 19 Apr 2015 19:59:05 +0000 (21:59 +0200)]
Behave more like BASIC.SYSTEM and allow for argv[0].

9 years agoAllow up 127 chars of cmdline for programs started by the loader.
Oliver Schmidt [Sun, 19 Apr 2015 19:16:43 +0000 (21:16 +0200)]
Allow up 127 chars of cmdline for programs started by the loader.

9 years agoMerge pull request #154 from smuehlst/c1p_screenlayout_macro
Oliver Schmidt [Wed, 25 Mar 2015 15:24:45 +0000 (16:24 +0100)]
Merge pull request #154 from smuehlst/c1p_screenlayout_macro

Support for different screen layouts via macro-based modules

9 years agoDocument osic1p-specific constants. 154/head
Stephan Mühlstrasser [Mon, 23 Mar 2015 18:31:46 +0000 (19:31 +0100)]
Document osic1p-specific constants.

9 years agoMacro-based implementation of screen layout configuration modules.
Stephan Mühlstrasser [Sun, 22 Mar 2015 21:45:53 +0000 (22:45 +0100)]
Macro-based implementation of screen layout configuration modules.

9 years agoMore room by default for zero-page data.
Stephan Mühlstrasser [Sun, 22 Mar 2015 11:10:58 +0000 (12:10 +0100)]
More room by default for zero-page data.

9 years agoReverted one of the changes in how function prototypes look, in cc65's assembly output.
Greg King [Thu, 19 Mar 2015 10:27:25 +0000 (06:27 -0400)]
Reverted one of the changes in how function prototypes look, in cc65's assembly output.

9 years agoMerge pull request #152 from smuehlst/c1p_bootload
Oliver Schmidt [Sun, 15 Mar 2015 10:40:33 +0000 (11:40 +0100)]
Merge pull request #152 from smuehlst/c1p_bootload

Fix for use of uninitialized memory in osic1p bootstrap.s

9 years agoImproved fix with suggestions by Greg King. 152/head
Stephan Mühlstrasser [Sat, 14 Mar 2015 23:40:42 +0000 (00:40 +0100)]
Improved fix with suggestions by Greg King.

9 years agoFixed a typo.
Greg King [Sat, 14 Mar 2015 20:50:08 +0000 (16:50 -0400)]
Fixed a typo.

9 years agoImproved vector (re)setting function docs.
Oliver Schmidt [Sat, 14 Mar 2015 17:53:56 +0000 (18:53 +0100)]
Improved vector (re)setting function docs.

9 years agoReplaced 'Limits' with 'Notes'.
Oliver Schmidt [Sat, 14 Mar 2015 17:41:57 +0000 (18:41 +0100)]
Replaced 'Limits' with 'Notes'.

Quite some items in the 'Limits' sections aren't actual limitations so it seems appropriate to just use a more neutral term.

9 years agoFix bad tabbing
Stephan Mühlstrasser [Fri, 13 Mar 2015 23:06:00 +0000 (00:06 +0100)]
Fix bad tabbing

9 years agoFixed uninitialized use of low byte of address "load".
Stephan Mühlstrasser [Fri, 13 Mar 2015 23:01:12 +0000 (00:01 +0100)]
Fixed uninitialized use of low byte of address "load".