]> git.sur5r.net Git - cc65/log
cc65
10 years agoMoved USER_CFLAGS back to re-allow warning option overriding.
Oliver Schmidt [Sun, 9 Mar 2014 14:17:51 +0000 (15:17 +0100)]
Moved USER_CFLAGS back to re-allow warning option overriding.

10 years agoSeveral minor adjustments.
Oliver Schmidt [Sun, 9 Mar 2014 12:56:32 +0000 (13:56 +0100)]
Several minor adjustments.

10 years agoUpload zip file.
Oliver Schmidt [Sun, 9 Mar 2014 00:20:39 +0000 (01:20 +0100)]
Upload zip file.

10 years agoCreate zip file.
Oliver Schmidt [Sat, 8 Mar 2014 23:19:57 +0000 (00:19 +0100)]
Create zip file.

10 years agoMerge pull request #89 from groessler/something_to_pull
Oliver Schmidt [Sat, 8 Mar 2014 20:15:58 +0000 (21:15 +0100)]
Merge pull request #89 from groessler/something_to_pull

fix typo and add a comment

10 years agofix typo 89/head
Christian Groessler [Fri, 7 Mar 2014 23:20:39 +0000 (00:20 +0100)]
fix typo

10 years agofix indentation
Christian Groessler [Fri, 7 Mar 2014 22:10:22 +0000 (23:10 +0100)]
fix indentation

10 years agofix typo
Christian Groessler [Mon, 6 Jan 2014 14:12:20 +0000 (15:12 +0100)]
fix typo

10 years agoMoved .PHONY below definitions it refers to.
Oliver Schmidt [Thu, 6 Mar 2014 22:42:44 +0000 (23:42 +0100)]
Moved .PHONY below definitions it refers to.

I must admit that I don't understand why but obviously it is necessary to place .PHONY below the definition of variables it refers to - although those variables are recursively expanded ones! Not doing so made libsrc/Makefile build only three target libraries.

10 years agoMoved from VS2013 to MinGW(-w64).
Oliver Schmidt [Thu, 6 Mar 2014 21:32:24 +0000 (22:32 +0100)]
Moved from VS2013 to MinGW(-w64).

10 years agoHave src/Makefile and libsrc/Make use disjoint work directories.
Oliver Schmidt [Wed, 5 Mar 2014 22:24:35 +0000 (23:24 +0100)]
Have src/Makefile and libsrc/Make use disjoint work directories.

Building the clean target in src or libsrc should only delete stuff created by the make in those directories. Having both separated allows the Travis CI build to replace the native binaries with cross built binaries while keeping everything else.

10 years agoRemoved by now obsolete pragmas.
Oliver Schmidt [Wed, 5 Mar 2014 21:43:01 +0000 (22:43 +0100)]
Removed by now obsolete pragmas.

The warnings in question are instead suppressed by command line options.

10 years agoSupport both MinGW and MinGW-w64.
Oliver Schmidt [Wed, 5 Mar 2014 21:28:38 +0000 (22:28 +0100)]
Support both MinGW and MinGW-w64.

10 years agoFirst attempt of MinGW cross build.
Oliver Schmidt [Wed, 5 Mar 2014 12:38:27 +0000 (13:38 +0100)]
First attempt of MinGW cross build.

10 years agoRemoved -std=c89.
Oliver Schmidt [Wed, 5 Mar 2014 12:03:33 +0000 (13:03 +0100)]
Removed -std=c89.

Using `struct stat` and `%m` surely doesn't qualify for ISO C90.

10 years agoOkay, binutils-mingw-w64-i686 seems to have to be listed explicitly.
Oliver Schmidt [Wed, 5 Mar 2014 11:39:37 +0000 (12:39 +0100)]
Okay, binutils-mingw-w64-i686 seems to have to be listed explicitly.

10 years agoOne more...
Oliver Schmidt [Wed, 5 Mar 2014 11:35:20 +0000 (12:35 +0100)]
One more...

10 years agoMoving on...
Oliver Schmidt [Wed, 5 Mar 2014 11:33:19 +0000 (12:33 +0100)]
Moving on...

10 years agoCheck what we have.
Oliver Schmidt [Wed, 5 Mar 2014 11:28:57 +0000 (12:28 +0100)]
Check what we have.

10 years agoFixed typo.
Oliver Schmidt [Wed, 5 Mar 2014 11:21:43 +0000 (12:21 +0100)]
Fixed typo.

10 years agoThe last one worked - why? What about this...
Oliver Schmidt [Wed, 5 Mar 2014 11:19:59 +0000 (12:19 +0100)]
The last one worked - why? What about this...

10 years agoJust playing to maybe understand more...
Oliver Schmidt [Wed, 5 Mar 2014 11:14:09 +0000 (12:14 +0100)]
Just playing to maybe understand more...

10 years agoMaybe better when avoiding transition packages?
Oliver Schmidt [Wed, 5 Mar 2014 11:10:38 +0000 (12:10 +0100)]
Maybe better when avoiding transition packages?

10 years agoCheck out install of MinGW cross devel packages.
Oliver Schmidt [Tue, 4 Mar 2014 21:17:21 +0000 (22:17 +0100)]
Check out install of MinGW cross devel packages.

10 years agoChanged Makefile.inc handling.
Oliver Schmidt [Tue, 4 Mar 2014 20:45:55 +0000 (21:45 +0100)]
Changed Makefile.inc handling.

It seems more appropriate to trigger the inclusion of Makefile.inc via $TARGET (instead of $SRCDIR). This is btw. more consistent with extzp.s inclusion which is triggered via $TARGET too.

10 years agoMerge pull request #88 from groessler/something_to_pull
Oliver Schmidt [Tue, 4 Mar 2014 15:34:34 +0000 (16:34 +0100)]
Merge pull request #88 from groessler/something_to_pull

rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s

10 years agorename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s 88/head
Christian Groessler [Tue, 4 Mar 2014 14:43:33 +0000 (15:43 +0100)]
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s

10 years agoMoved workaround for MinGW's missing %m support to a central place.
Oliver Schmidt [Tue, 4 Mar 2014 00:20:38 +0000 (01:20 +0100)]
Moved workaround for MinGW's missing %m support to a central place.

10 years agoNormalized code.
Oliver Schmidt [Tue, 4 Mar 2014 00:11:19 +0000 (01:11 +0100)]
Normalized code.

10 years agoRemoved unused header.
Oliver Schmidt [Mon, 3 Mar 2014 21:52:39 +0000 (22:52 +0100)]
Removed unused header.

10 years agoAdjusted spawn files to recent change II.
Oliver Schmidt [Mon, 3 Mar 2014 21:38:41 +0000 (22:38 +0100)]
Adjusted spawn files to recent change II.

10 years agoAdjusted spawn files to recent change.
Oliver Schmidt [Mon, 3 Mar 2014 21:26:08 +0000 (22:26 +0100)]
Adjusted spawn files to recent change.

10 years agoImprove MinGW support.
Oliver Schmidt [Mon, 3 Mar 2014 21:12:14 +0000 (22:12 +0100)]
Improve MinGW support.

- Code specific to Windows was #ifdef'ed with _MSC_VER so it wasn't included with MinGW. So _MSC_VER is replaced with _WIN32.
- MinGW doesn't support _get_pgmptr() so it is necessary to directly call the Win32 function GetModuleFileName(). This implies including windows.h which in turn causes a name clash with the Win32 function SearchPath(). So the cc65 type SearchPath is renamed to SearchPaths.

10 years agoThere seems to be no desire for a doc install.
Oliver Schmidt [Mon, 3 Mar 2014 20:16:30 +0000 (21:16 +0100)]
There seems to be no desire for a doc install.

10 years agoOptimize for size instead for speed.
Oliver Schmidt [Mon, 3 Mar 2014 20:08:35 +0000 (21:08 +0100)]
Optimize for size instead for speed.

10 years agoMerge pull request #85 from groessler/cassette
Oliver Schmidt [Mon, 3 Mar 2014 19:19:32 +0000 (20:19 +0100)]
Merge pull request #85 from groessler/cassette

Atari: add support to create cassette boot files

10 years agorename W2CAS.COM to w2cas.com (lowercase) 85/head
Christian Groessler [Mon, 3 Mar 2014 17:12:11 +0000 (18:12 +0100)]
rename W2CAS.COM to w2cas.com (lowercase)

10 years agomake 'w2cas' a targetutil
Christian Groessler [Sat, 1 Mar 2014 12:10:01 +0000 (13:10 +0100)]
make 'w2cas' a targetutil

10 years agosmall wording change
Christian Groessler [Sat, 1 Mar 2014 00:48:45 +0000 (01:48 +0100)]
small wording change

10 years agoFixed .info file generation (hopfully).
Oliver Schmidt [Fri, 28 Feb 2014 20:45:04 +0000 (21:45 +0100)]
Fixed .info file generation (hopfully).

10 years agoMade 'doc' goal explicit part of test build.
Oliver Schmidt [Fri, 28 Feb 2014 20:12:41 +0000 (21:12 +0100)]
Made 'doc' goal explicit part of test build.

10 years agoMerge pull request #87 from groessler/something_to_pull2
Oliver Schmidt [Fri, 28 Feb 2014 11:12:25 +0000 (12:12 +0100)]
Merge pull request #87 from groessler/something_to_pull2

fix for info file generation

10 years agofix for info file generation 87/head
Christian Groessler [Fri, 28 Feb 2014 11:04:57 +0000 (12:04 +0100)]
fix for info file generation

10 years agoMerge pull request #86 from AntiheroSoftware/ca65-65816
Oliver Schmidt [Fri, 28 Feb 2014 07:46:44 +0000 (08:46 +0100)]
Merge pull request #86 from AntiheroSoftware/ca65-65816

Fix jmp($1234) opcode table

10 years agoAdded .info file generation.
Oliver Schmidt [Thu, 27 Feb 2014 22:37:36 +0000 (23:37 +0100)]
Added .info file generation.

10 years agofix jmp($1234) opcode table 86/head
lintbe [Thu, 27 Feb 2014 09:01:39 +0000 (10:01 +0100)]
fix jmp($1234) opcode table

10 years agoIncrease the default start address a bit in case BASIC is started
Christian Groessler [Fri, 21 Feb 2014 22:34:05 +0000 (23:34 +0100)]
Increase the default start address a bit in case BASIC is started
('OPTION' not pressed at power on). It would otherwise overwrite parts
at the beginning.

10 years agocleanups; split 'header' and 'init' part into two source files
Christian Groessler [Fri, 21 Feb 2014 21:43:44 +0000 (22:43 +0100)]
cleanups; split 'header' and 'init' part into two source files

10 years agodocument 'atari-cassette.cfg'
Christian Groessler [Fri, 21 Feb 2014 21:42:54 +0000 (22:42 +0100)]
document 'atari-cassette.cfg'

10 years agoremove workaround for _heapmaxavail
Christian Groessler [Fri, 21 Feb 2014 21:42:09 +0000 (22:42 +0100)]
remove workaround for _heapmaxavail

10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Fri, 21 Feb 2014 20:02:54 +0000 (21:02 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

10 years agoHave _heapmaxavail() work as advertised.
Oliver Schmidt [Thu, 20 Feb 2014 20:03:52 +0000 (21:03 +0100)]
Have _heapmaxavail() work as advertised.

The cc65 doc explicitly states that the return value of _heapmaxavail() can be used as parameter of malloc(). To actually allow for that the size of HEAP_ADMIN_SPACE has to be substracted from the raw size of the largest free heap block.

10 years agoMerge pull request #83 from AntiheroSoftware/ca65-65816
Oliver Schmidt [Thu, 20 Feb 2014 14:07:56 +0000 (15:07 +0100)]
Merge pull request #83 from AntiheroSoftware/ca65-65816

Fix for pull request #80 bad JML opcode and adding syntax for Absolute Indirect Long

10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Thu, 20 Feb 2014 00:05:10 +0000 (01:05 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

10 years agoadd utility program to write files to cassette
Christian Groessler [Wed, 19 Feb 2014 23:56:22 +0000 (00:56 +0100)]
add utility program to write files to cassette

10 years agoload CASHDR segment into RAM
Christian Groessler [Wed, 19 Feb 2014 23:45:48 +0000 (00:45 +0100)]
load CASHDR segment into RAM

10 years agoMigrated project files to VS2013.
Oliver Schmidt [Wed, 19 Feb 2014 22:09:10 +0000 (23:09 +0100)]
Migrated project files to VS2013.

10 years agoMerge pull request #84 from groessler/something_to_pull
Oliver Schmidt [Wed, 19 Feb 2014 22:00:31 +0000 (23:00 +0100)]
Merge pull request #84 from groessler/something_to_pull

Atari: read.s: fix uninitialized use of 'buflen'

10 years agofix uninitialized use of 'buflen' 84/head
Christian Groessler [Wed, 19 Feb 2014 21:38:57 +0000 (22:38 +0100)]
fix uninitialized use of 'buflen'

10 years agoadd jml($1234) for JML Absolute indirect long 83/head
lintbe [Wed, 19 Feb 2014 12:22:06 +0000 (13:22 +0100)]
add jml($1234) for JML Absolute indirect long

10 years agofix opcode for JML Absolute indirect long
lintbe [Wed, 19 Feb 2014 10:06:39 +0000 (11:06 +0100)]
fix opcode for JML Absolute indirect long

10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Tue, 18 Feb 2014 20:36:53 +0000 (21:36 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

ecessary,

10 years agoMerge pull request #80 from AntiheroSoftware/ca65-65816
Oliver Schmidt [Mon, 17 Feb 2014 09:04:57 +0000 (10:04 +0100)]
Merge pull request #80 from AntiheroSoftware/ca65-65816

Fixing ca65 for 65816 jml and jmp opcodes

10 years agoMerge pull request #81 from groessler/something_to_pull
Oliver Schmidt [Fri, 14 Feb 2014 22:50:41 +0000 (23:50 +0100)]
Merge pull request #81 from groessler/something_to_pull

Turn off mouse polling interrupt if the mouse hasn't been moved for some time

10 years agoTurn off mouse polling interrupt if the mouse hasn't been moved for 81/head
Christian Groessler [Fri, 14 Feb 2014 00:40:21 +0000 (01:40 +0100)]
Turn off mouse polling interrupt if the mouse hasn't been moved for
some time. Turn it back on when the mouse is moved again.
Since the polling interrupt runs at a rather high frequency (1kHz),
this saves many processor cycles when the mouse is inactive.

10 years agoremoving \t from source file 80/head
lintbe [Thu, 13 Feb 2014 09:26:08 +0000 (10:26 +0100)]
removing \t from source file

10 years agoFixing ca65 for 65816 jml and jmp opcodes
lintbe [Wed, 12 Feb 2014 22:48:10 +0000 (23:48 +0100)]
Fixing ca65 for 65816 jml and jmp opcodes

added a missing addressing mode for jmp/jml : Absolute Indexed Long
that opcode can be written like jmp[$1234] or jml[$1234]

removed Absolute Inderect addressing mode for jml since it's not a long adressing mode

10 years agoMerge remote-tracking branch 'upstream/master' into cassette
Christian Groessler [Tue, 11 Feb 2014 11:35:28 +0000 (12:35 +0100)]
Merge remote-tracking branch 'upstream/master' into cassette

10 years agoDeduct temporary library path name from library path name.
Oliver Schmidt [Mon, 10 Feb 2014 20:28:03 +0000 (21:28 +0100)]
Deduct temporary library path name from library path name.

Actually there's no need to fiddle with any automatic temp file name generation as we can just modify the library path name to generate a perfect temporary library path name.

10 years agoSome minor fine tuning.
Oliver Schmidt [Sun, 9 Feb 2014 21:57:38 +0000 (22:57 +0100)]
Some minor fine tuning.

10 years agoAdjusted linuxdoc parameters.
Oliver Schmidt [Sun, 9 Feb 2014 21:50:01 +0000 (22:50 +0100)]
Adjusted linuxdoc parameters.

10 years agoMade html doc look a little less boring.
Oliver Schmidt [Sun, 9 Feb 2014 21:43:55 +0000 (22:43 +0100)]
Made html doc look a little less boring.

10 years agoFixed URL.
Oliver Schmidt [Sun, 9 Feb 2014 20:33:59 +0000 (21:33 +0100)]
Fixed URL.

10 years agoSwitched to Markdown in order to allow to add links.
Oliver Schmidt [Sun, 9 Feb 2014 20:31:00 +0000 (21:31 +0100)]
Switched to Markdown in order to allow to add links.

10 years agoUse -Werror only on Travis CI builds.
Oliver Schmidt [Sun, 9 Feb 2014 18:48:30 +0000 (19:48 +0100)]
Use -Werror only on Travis CI builds.

There's no need to intentionally break things for people trying to build cc65 with some obscure compiler. It's enough to make sure that no new warnings sneak into the code base by having Travis CI builds fail.

10 years agoDefine _SVID_SOURCE to get tempnam().
Oliver Schmidt [Sun, 9 Feb 2014 00:19:40 +0000 (01:19 +0100)]
Define _SVID_SOURCE to get tempnam().

10 years agoAvoid tmpfile().
Oliver Schmidt [Sun, 9 Feb 2014 00:11:11 +0000 (01:11 +0100)]
Avoid tmpfile().

- tmpfile() tries to create files in the C: root dir on Windows where users usually don't have access.
- tmpnam() uses the curent dir which doesn't seem to be a good idea either.
- tempnam(NULL,NULL) is supposed to be cleverer.

10 years agoFixed typo.
Oliver Schmidt [Sat, 8 Feb 2014 22:01:15 +0000 (23:01 +0100)]
Fixed typo.

10 years agoRemoved references to SunPlus.
Oliver Schmidt [Sat, 8 Feb 2014 21:48:49 +0000 (22:48 +0100)]
Removed references to SunPlus.

10 years agoKeep git push happy.
Oliver Schmidt [Sat, 8 Feb 2014 21:47:24 +0000 (22:47 +0100)]
Keep git push happy.

10 years agoAvoid writing (temporarily) into source directory.
Oliver Schmidt [Sat, 8 Feb 2014 20:52:23 +0000 (21:52 +0100)]
Avoid writing (temporarily) into source directory.

10 years agoFixed typo.
Oliver Schmidt [Fri, 7 Feb 2014 13:30:52 +0000 (14:30 +0100)]
Fixed typo.

10 years agoActually the '-R' flag isn't necessary.
Oliver Schmidt [Thu, 6 Feb 2014 11:54:53 +0000 (12:54 +0100)]
Actually the '-R' flag isn't necessary.

10 years agoLimit 'git add' to doc directory just to be sure.
Oliver Schmidt [Thu, 6 Feb 2014 11:44:46 +0000 (12:44 +0100)]
Limit 'git add' to doc directory just to be sure.

10 years agoAdjusted doc to commit 9aa17b4c537f77fc01d49ab7167b1b3c179c7b9
Oliver Schmidt [Wed, 5 Feb 2014 22:41:52 +0000 (23:41 +0100)]
Adjusted doc to commit 9aa17b4c537f77fc01d49ab7167b1b3c179c7b9

10 years agoThe gh-pages push seems ready for prime time.
Oliver Schmidt [Wed, 5 Feb 2014 22:20:03 +0000 (23:20 +0100)]
The gh-pages push seems ready for prime time.

10 years agoThe content in internal.txt is now fully present in the Wiki.
Oliver Schmidt [Wed, 5 Feb 2014 22:02:01 +0000 (23:02 +0100)]
The content in internal.txt is now fully present in the Wiki.

10 years agoRoute standard goals to doc Makefile.
Oliver Schmidt [Wed, 5 Feb 2014 21:36:43 +0000 (22:36 +0100)]
Route standard goals to doc Makefile.

- mostlyclean is empty as there are no intermedite files.
- all is empty as I don't want to have if depend on linuxdoc.

10 years agoGoals from top level Makefile should be known even if empty.
Oliver Schmidt [Wed, 5 Feb 2014 21:31:46 +0000 (22:31 +0100)]
Goals from top level Makefile should be known even if empty.

10 years agoRe-introduced toc removal for coding.html and index.html.
Oliver Schmidt [Wed, 5 Feb 2014 21:30:28 +0000 (22:30 +0100)]
Re-introduced toc removal for coding.html and index.html.

10 years agoSome polishing.
Oliver Schmidt [Wed, 5 Feb 2014 19:55:17 +0000 (20:55 +0100)]
Some polishing.

10 years agoMaybe rather ignore the git commit status (?)
Oliver Schmidt [Wed, 5 Feb 2014 17:49:22 +0000 (18:49 +0100)]
Maybe rather ignore the git commit status (?)

10 years agoTest --allow-empty flag.
Oliver Schmidt [Wed, 5 Feb 2014 17:40:03 +0000 (18:40 +0100)]
Test --allow-empty flag.

10 years agoAdded doc goal to top level Makefile.
Oliver Schmidt [Wed, 5 Feb 2014 16:55:10 +0000 (17:55 +0100)]
Added doc goal to top level Makefile.

10 years agoFixed missing target directory.
Oliver Schmidt [Tue, 4 Feb 2014 23:29:27 +0000 (00:29 +0100)]
Fixed missing target directory.

10 years agoFirst test of actual html page push.
Oliver Schmidt [Tue, 4 Feb 2014 23:20:43 +0000 (00:20 +0100)]
First test of actual html page push.

10 years agoUpdated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml.
Oliver Schmidt [Tue, 4 Feb 2014 21:51:39 +0000 (22:51 +0100)]
Updated linuxdoc sources from https://github.com/groessler/cc65/tree/gh-pages-sgml.

10 years agoRevert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh...
Oliver Schmidt [Tue, 4 Feb 2014 21:18:58 +0000 (22:18 +0100)]
Revert "No linuxdoc here. Documenation is to be maintained as HTML in branch 'gh-pages'."

This reverts commit fcea8951f1dc51cce28cabfc9cfec760a341118a.

Conflicts:
doc/Makefile

10 years agoAvoid 'cd' in Makefile.
Oliver Schmidt [Tue, 4 Feb 2014 20:31:35 +0000 (21:31 +0100)]
Avoid 'cd' in Makefile.

10 years agoFirst test of gh-pages push.
Oliver Schmidt [Tue, 4 Feb 2014 17:33:37 +0000 (18:33 +0100)]
First test of gh-pages push.