]> git.sur5r.net Git - cc65/log
cc65
10 years agoSimplify to use less 'if's. Add missing link options for Atari TGI 97/head
Christian Groessler [Sat, 22 Mar 2014 11:04:16 +0000 (12:04 +0100)]
Simplify to use less 'if's. Add missing link options for Atari TGI
programs. Put '--start-addr' at beginning of ld65 command line.

10 years agoMerge pull request #96 from groessler/something_to_pull
Oliver Schmidt [Sat, 22 Mar 2014 10:24:44 +0000 (11:24 +0100)]
Merge pull request #96 from groessler/something_to_pull

Add information about which drivers are the default drivers.

10 years agoAdd information about which drivers are the default drivers. 96/head
Christian Groessler [Sat, 22 Mar 2014 09:40:50 +0000 (10:40 +0100)]
Add information about which drivers are the default drivers.

10 years agoMerge pull request #94 from groessler/something_to_pull
Oliver Schmidt [Thu, 20 Mar 2014 10:12:55 +0000 (11:12 +0100)]
Merge pull request #94 from groessler/something_to_pull

Extend the map file to include a table of exports sorted by value.

10 years agoMerge pull request #93 from silverdr/master
Oliver Schmidt [Thu, 20 Mar 2014 10:01:10 +0000 (11:01 +0100)]
Merge pull request #93 from silverdr/master

- fixed an old #include guard typo

10 years agoadd a missing ":" 94/head
Christian Groessler [Thu, 20 Mar 2014 01:22:43 +0000 (02:22 +0100)]
add a missing ":"

10 years agoExtend the map file to include a table of exports sorted by value.
Christian Groessler [Thu, 20 Mar 2014 01:01:21 +0000 (02:01 +0100)]
Extend the map file to include a table of exports sorted by value.

10 years ago- fixed an old #include guard typo 93/head
Silver Dream ! [Wed, 19 Mar 2014 23:07:59 +0000 (00:07 +0100)]
- fixed an old #include guard typo

10 years agoMerge pull request #92 from karrika/master
Oliver Schmidt [Wed, 19 Mar 2014 09:43:18 +0000 (10:43 +0100)]
Merge pull request #92 from karrika/master

Use LOWCODE segment

10 years agoUse LOWCODE segment 92/head
Karri Kaksonen [Wed, 19 Mar 2014 09:32:44 +0000 (11:32 +0200)]
Use LOWCODE segment

10 years agoReplaced date with Git hash.
Oliver Schmidt [Tue, 18 Mar 2014 21:40:30 +0000 (22:40 +0100)]
Replaced date with Git hash.

10 years agoMerge pull request #91 from greg-king5/bound-box
Oliver Schmidt [Tue, 18 Mar 2014 10:42:34 +0000 (11:42 +0100)]
Merge pull request #91 from greg-king5/bound-box

Corrected the default upper limits of some mouse drivers' bounding box.

10 years agoCorrected the default upper limits of some mouse drivers' bounding box. 91/head
Greg King [Tue, 18 Mar 2014 06:41:57 +0000 (02:41 -0400)]
Corrected the default upper limits of some mouse drivers' bounding box.

The upper limits need to be one less than the screen sizes because the minimum co-ordinate is zero instead of one.

10 years agoRemoved references to $TRAVIS from Makefiles.
Oliver Schmidt [Sun, 16 Mar 2014 20:31:00 +0000 (21:31 +0100)]
Removed references to $TRAVIS from Makefiles.

After all it seems much cleaner to explicitly control the behaviour from the .travis.yml file than to behave differently "under the hood" when detecting a Travis CI build.

10 years agoMerge pull request #90 from greg-king5/c128-sprite
Oliver Schmidt [Sun, 16 Mar 2014 19:55:09 +0000 (20:55 +0100)]
Merge pull request #90 from greg-king5/c128-sprite

Added code that disables C128 BASIC's sprite-motion interrupt-handler.

10 years agoAdded code that disables C128 BASIC's sprite-motion interrupt-handler. 90/head
Greg King [Sat, 15 Mar 2014 20:29:13 +0000 (16:29 -0400)]
Added code that disables C128 BASIC's sprite-motion interrupt-handler.

That lets the mouse drivers control a sprite directly through the VIC's registers.

10 years agoReflect the fact that LOADER.SYSTEM is delivered as 'targetutil'.
Oliver Schmidt [Sat, 15 Mar 2014 18:01:46 +0000 (19:01 +0100)]
Reflect the fact that LOADER.SYSTEM is delivered as 'targetutil'.

10 years agoNot splitting the docs anymore requires link adjustment.
Oliver Schmidt [Sat, 15 Mar 2014 17:53:30 +0000 (18:53 +0100)]
Not splitting the docs anymore requires link adjustment.

10 years agoMoved LOADER.SYSTEM description.
Oliver Schmidt [Sat, 15 Mar 2014 17:09:55 +0000 (18:09 +0100)]
Moved LOADER.SYSTEM description.

The LOADER.SYSTEM description is now available in the cc65 Wiki (https://github.com/cc65/cc65/wiki/LOADER.SYSTEM).

10 years agoUpdated URL.
Oliver Schmidt [Sat, 15 Mar 2014 13:53:33 +0000 (14:53 +0100)]
Updated URL.

10 years agoUpdated URL.
Oliver Schmidt [Sat, 15 Mar 2014 13:48:20 +0000 (14:48 +0100)]
Updated URL.

10 years agoAdjusted doc to recent drop of VER_PATCH.
Oliver Schmidt [Mon, 10 Mar 2014 18:03:01 +0000 (19:03 +0100)]
Adjusted doc to recent drop of VER_PATCH.

10 years agoDropped VER_PATCH (and VER_RC) and added build date.
Oliver Schmidt [Sun, 9 Mar 2014 16:40:51 +0000 (17:40 +0100)]
Dropped VER_PATCH (and VER_RC) and added build date.

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.