]> git.sur5r.net Git - cc65/log
cc65
12 years agoAvoid paths in .include directives. The path needs to be rather set in the Makefile...
ol.sc [Tue, 31 Jan 2012 21:15:28 +0000 (21:15 +0000)]
Avoid paths in .include directives. The path needs to be rather set in the Makefile to allow to set it later depending on the target currently built.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5432 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAvoid paths in .include directives. The path needs to be rather set in the Makefile...
ol.sc [Tue, 31 Jan 2012 20:49:58 +0000 (20:49 +0000)]
Avoid paths in .include directives. The path needs to be rather set in the Makefile to allow to set it later depending on the target currently built.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5431 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a problem with debug symbol ids. Invalid ids were written to the file
uz [Tue, 31 Jan 2012 20:44:27 +0000 (20:44 +0000)]
Fixed a problem with debug symbol ids. Invalid ids were written to the file
because of a wrong check.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5430 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoThe cc65 library build system is designed to call sub-makes in direct sub-directories...
ol.sc [Mon, 30 Jan 2012 21:19:09 +0000 (21:19 +0000)]
The cc65 library build system is designed to call sub-makes in direct sub-directories of 'libsrc' only (meaning that sub-sub-directories are not supported). The GEOSLib source files however are organized in sub-directories of the 'libsrc/geos-cbm'. This mismatch was up to now handled by replicating the cc65 library build system functionality to allow for individal sub-makes in each 'libsrc/geos-cbm' sub-directory. This is unnecessarily hard understand and causes additional maintainance effort.
Now the whole GEOSLib is built in a single make instance running in 'libsrc/geos-cbm' - which is just what the cc65 library build system can handle. The 'libsrc/geos-cbm' sub-directories still contain Makefiles. However those files only define the set of object files to create from their sub-directory and get included into the 'libsrc/geos-cbm' Makefile.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5429 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFix missing semicolons. By Alex <xenogenesi@virgilio.it>.
uz [Thu, 26 Jan 2012 19:30:54 +0000 (19:30 +0000)]
Fix missing semicolons. By Alex <xenogenesi@virgilio.it>.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5428 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agosmall comment change
cpg [Thu, 26 Jan 2012 12:25:20 +0000 (12:25 +0000)]
small comment change

git-svn-id: svn://svn.cc65.org/cc65/trunk@5427 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoadd "invalid parameter" error code -- contributed by Stefan Haubenthal
cpg [Thu, 26 Jan 2012 12:12:34 +0000 (12:12 +0000)]
add "invalid parameter" error code -- contributed by Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@5426 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoUpdate from Stefan Haubenthal.
uz [Tue, 24 Jan 2012 20:43:10 +0000 (20:43 +0000)]
Update from Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5425 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded a makefile to build the utility.
uz [Tue, 24 Jan 2012 20:41:57 +0000 (20:41 +0000)]
Added a makefile to build the utility.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5424 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded a makefile to build the executable.
uz [Tue, 24 Jan 2012 20:37:54 +0000 (20:37 +0000)]
Added a makefile to build the executable.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5423 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed warnings. Extended stuff for set_irq/reset_irq.
uz [Sun, 22 Jan 2012 17:04:04 +0000 (17:04 +0000)]
Fixed warnings. Extended stuff for set_irq/reset_irq.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5422 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed irq handler return value.
ol.sc [Sat, 21 Jan 2012 22:34:48 +0000 (22:34 +0000)]
Fixed irq handler return value.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5421 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoDoc stuff by Stefan Haubenthal.
uz [Sat, 21 Jan 2012 22:07:51 +0000 (22:07 +0000)]
Doc stuff by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5420 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed an internal error that was triggered by an attempt to move an empty list
uz [Sat, 21 Jan 2012 21:35:49 +0000 (21:35 +0000)]
Fixed an internal error that was triggered by an attempt to move an empty list
of instructions in the code segment (Oliver Schmidt).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5419 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded inital version of a CONVERT tool for Apple GEOS. It converts the output of...
ol.sc [Sat, 21 Jan 2012 13:31:00 +0000 (13:31 +0000)]
Added inital version of a CONVERT tool for Apple GEOS. It converts the output of 'ld65 -t geos-apple ...' to an Apple GEOS SEQ program file. The CONVERT tool itself runs under ProDOS. This is an inital rather rough version that is nevertheless supposed to generally work. TODOs are:
- VLIR support
- support to "unCONVERT"
- nicer UI

git-svn-id: svn://svn.cc65.org/cc65/trunk@5418 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoUpdated LOADER.SYSTEM to the current version targeted at cc65 binaries only.
ol.sc [Sat, 21 Jan 2012 13:05:26 +0000 (13:05 +0000)]
Updated LOADER.SYSTEM to the current version targeted at cc65 binaries only.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5417 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded old obsolete version of LOADER.SYSTEM in order to retain the history. This...
ol.sc [Sat, 21 Jan 2012 12:59:43 +0000 (12:59 +0000)]
Added old obsolete version of LOADER.SYSTEM in order to retain the history. This version implemented the BASIC warmstart/coldstart hooks and was therefore fully compatible with any DOS 3.3 binary running under ProDOS. However later the Apple2 C library startup code was extended to not rely on the BASIC hooks when running under ProDOS without BASIC.SYSTEM. Therefore the hook functionality became obsolete and was later removed. This limits LOADER.SYSTEM to cc65 binaries - but it surely wasn't used for anything else anyway ;-)

git-svn-id: svn://svn.cc65.org/cc65/trunk@5416 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded docs to set_irq / reset_irq.
ol.sc [Sat, 21 Jan 2012 12:28:23 +0000 (12:28 +0000)]
Added docs to set_irq / reset_irq.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5415 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoReverted some errorneously committed changes which enabled debug output.
uz [Fri, 20 Jan 2012 16:04:37 +0000 (16:04 +0000)]
Reverted some errorneously committed changes which enabled debug output.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5414 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a problem reported by Greg King. structs returned from functions in the
uz [Fri, 20 Jan 2012 16:01:25 +0000 (16:01 +0000)]
Fixed a problem reported by Greg King. structs returned from functions in the
primary register are actually rvalues and need special treatment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5413 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMasking a bit field is unnecessary if there was no shift operation or if the
uz [Fri, 20 Jan 2012 15:54:43 +0000 (15:54 +0000)]
Masking a bit field is unnecessary if there was no shift operation or if the
shift operation shifted just zeroes into the value.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5412 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded handling of new expression opcodes.
uz [Thu, 19 Jan 2012 11:55:36 +0000 (11:55 +0000)]
Added handling of new expression opcodes.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5411 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFix wrong offset of irq vector byte used as on/off flag.
uz [Thu, 19 Jan 2012 11:54:26 +0000 (11:54 +0000)]
Fix wrong offset of irq vector byte used as on/off flag.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5410 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoForgot to check these in. They contain the new expression opcodes for far
uz [Thu, 19 Jan 2012 11:50:21 +0000 (11:50 +0000)]
Forgot to check these in. They contain the new expression opcodes for far
addresses (24 bit) and dwords (32 bit).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5409 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded wrapper for C level irq handling.
ol.sc [Thu, 19 Jan 2012 00:24:13 +0000 (00:24 +0000)]
Added wrapper for C level irq handling.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5408 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdd missing Debian build-dependancy on "texinfo".
spiro [Wed, 18 Jan 2012 21:34:33 +0000 (21:34 +0000)]
Add missing Debian build-dependancy on "texinfo".

git-svn-id: svn://svn.cc65.org/cc65/trunk@5407 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdd bounded expressions for immediate addressing and list the new feature in
uz [Wed, 18 Jan 2012 19:50:34 +0000 (19:50 +0000)]
Add bounded expressions for immediate addressing and list the new feature in
the docs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5406 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRemove obsolete defines for the 6502 processor flags.
uz [Wed, 18 Jan 2012 15:26:27 +0000 (15:26 +0000)]
Remove obsolete defines for the 6502 processor flags.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5405 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded articles in last chapter.
ol.sc [Mon, 16 Jan 2012 22:32:58 +0000 (22:32 +0000)]
Added articles in last chapter.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5404 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixes for typos by Stefan Haubenthal.
uz [Sun, 15 Jan 2012 16:22:00 +0000 (16:22 +0000)]
Fixes for typos by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5403 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMake cc65-doc depend on the right version of cc65
spiro [Sun, 15 Jan 2012 13:25:31 +0000 (13:25 +0000)]
Make cc65-doc depend on the right version of cc65

The dependency of cc65-doc was on cc65 (>= 2.13.2-1, which was too
generic. Fixed to depend on the same version.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5402 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoUpdate debian package generation.
spiro [Sun, 15 Jan 2012 12:52:39 +0000 (12:52 +0000)]
Update debian package generation.

Fix and update generation of debian packages to recent SVN versions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5401 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded articles (last chapterstill todo).
ol.sc [Sun, 15 Jan 2012 00:32:23 +0000 (00:32 +0000)]
Added articles (last chapterstill todo).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5400 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoThe "Hitchhiker's Guide To GEOS" is the only publicly available document containing...
ol.sc [Sat, 14 Jan 2012 11:09:40 +0000 (11:09 +0000)]
The "Hitchhiker's Guide To GEOS" is the only publicly available document containing the addresses of GEOS symbols for Apple GEOS.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5399 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed typo.
ol.sc [Sat, 14 Jan 2012 08:22:07 +0000 (08:22 +0000)]
Fixed typo.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5398 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdd some warnings about using .DEFINE.
uz [Fri, 13 Jan 2012 15:58:17 +0000 (15:58 +0000)]
Add some warnings about using .DEFINE.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5397 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed an error in calculation of the fill bytes necessary for alignment.
uz [Wed, 11 Jan 2012 18:30:25 +0000 (18:30 +0000)]
Fixed an error in calculation of the fill bytes necessary for alignment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5396 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRestored compatibility with info.
ol.sc [Sat, 7 Jan 2012 22:17:19 +0000 (22:17 +0000)]
Restored compatibility with info.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5395 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed several build warnings.
uz [Fri, 6 Jan 2012 21:31:22 +0000 (21:31 +0000)]
Fixed several build warnings.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5394 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAn export has been missing for BRKVec (Stefan Haubenthal).
uz [Fri, 6 Jan 2012 15:53:07 +0000 (15:53 +0000)]
An export has been missing for BRKVec (Stefan Haubenthal).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5393 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoreset_brk is not __fastcall__. By Stefan Haubenthal.
uz [Fri, 6 Jan 2012 15:50:59 +0000 (15:50 +0000)]
reset_brk is not __fastcall__. By Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5392 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoPatch by Greg King: Improved the mkdir rule. Adjusted some rules for grc65 and
uz [Fri, 6 Jan 2012 15:45:50 +0000 (15:45 +0000)]
Patch by Greg King: Improved the mkdir rule. Adjusted some rules for grc65 and
geos-*.cfg name changes.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5391 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoReplace some more instance of geos.lib with geos-cbm.lib.
ol.sc [Thu, 5 Jan 2012 16:36:27 +0000 (16:36 +0000)]
Replace some more instance of geos.lib with geos-cbm.lib.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5390 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdjusted line endings and fixed some more typos.
ol.sc [Thu, 5 Jan 2012 16:24:39 +0000 (16:24 +0000)]
Adjusted line endings and fixed some more typos.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5389 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agogrc is now named grc65.
uz [Thu, 5 Jan 2012 09:44:51 +0000 (09:44 +0000)]
grc is now named grc65.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5388 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a typo.
uz [Thu, 5 Jan 2012 09:31:53 +0000 (09:31 +0000)]
Fixed a typo.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5387 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoUpdated second part of the grc65 doc.
ol.sc [Thu, 5 Jan 2012 01:10:00 +0000 (01:10 +0000)]
Updated second part of the grc65 doc.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5386 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoResource compiling has to come first.
ol.sc [Thu, 5 Jan 2012 01:08:15 +0000 (01:08 +0000)]
Resource compiling has to come first.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5385 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFinish support for .BANK.
uz [Wed, 4 Jan 2012 22:45:26 +0000 (22:45 +0000)]
Finish support for .BANK.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5384 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMark segments that are referenced in a .BANK statement.
uz [Wed, 4 Jan 2012 22:15:47 +0000 (22:15 +0000)]
Mark segments that are referenced in a .BANK statement.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5383 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdd the new include files geos-apple.inc and geos-cbm.inc to the svn ignore
uz [Wed, 4 Jan 2012 22:03:43 +0000 (22:03 +0000)]
Add the new include files geos-apple.inc and geos-cbm.inc to the svn ignore
list.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5382 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMoved the segdefs module to ca65, since it was used only there and renamed it
uz [Wed, 4 Jan 2012 22:02:02 +0000 (22:02 +0000)]
Moved the segdefs module to ca65, since it was used only there and renamed it
to segdef, since there might be a new segdefs module in common soon.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5381 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed an error in file offset calculation.
uz [Wed, 4 Jan 2012 21:45:11 +0000 (21:45 +0000)]
Fixed an error in file offset calculation.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5380 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed copy & paste errors in comments.
uz [Wed, 4 Jan 2012 21:44:46 +0000 (21:44 +0000)]
Fixed copy & paste errors in comments.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5379 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdjusted resource file to recent syntax changes.
ol.sc [Wed, 4 Jan 2012 15:24:18 +0000 (15:24 +0000)]
Adjusted resource file to recent syntax changes.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5378 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoUpdated first part of the grc65 doc.
ol.sc [Tue, 3 Jan 2012 23:05:02 +0000 (23:05 +0000)]
Updated first part of the grc65 doc.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5377 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded a sample demonstrating how to create a VLIR overlay program.
ol.sc [Tue, 3 Jan 2012 21:55:34 +0000 (21:55 +0000)]
Added a sample demonstrating how to create a VLIR overlay program.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5376 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoStarted to add a new .BANK instruction that allows access to a memory area
uz [Tue, 3 Jan 2012 21:41:34 +0000 (21:41 +0000)]
Started to add a new .BANK instruction that allows access to a memory area
attribute named "bank". Some error checks and a lot of testing is required.
Don't use for now.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5375 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMinimal beautification.
ol.sc [Tue, 3 Jan 2012 21:14:33 +0000 (21:14 +0000)]
Minimal beautification.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5374 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoThe VLIR table description didn't contain that much information anymore, but on the...
ol.sc [Tue, 3 Jan 2012 21:12:43 +0000 (21:12 +0000)]
The VLIR table description didn't contain that much information anymore, but on the other hand it seems nice to consolidate all application metadata in one place. So the VLIR table description was replaced by a general MEMORY defintion that allows define the stack size and the usage of the background buffer together with the overlay-related settings.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5373 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoNo need to simplify an expression in SegDone() if it is replaced by a constant
uz [Tue, 3 Jan 2012 19:40:00 +0000 (19:40 +0000)]
No need to simplify an expression in SegDone() if it is replaced by a constant
anyway.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5372 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdjusted/added names of geos include files.
uz [Tue, 3 Jan 2012 08:25:04 +0000 (08:25 +0000)]
Adjusted/added names of geos include files.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5371 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoIntroduced __BACKBUFSIZE__ which can be set to zero in order to disable the GEOS...
ol.sc [Tue, 3 Jan 2012 00:32:46 +0000 (00:32 +0000)]
Introduced __BACKBUFSIZE__ which can be set to zero in order to disable the GEOS background buffering.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5370 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoThe (to be written) "Apple GEOS UnConvert" tool should be allowed to rely on a valid...
ol.sc [Mon, 2 Jan 2012 23:30:55 +0000 (23:30 +0000)]
The (to be written) "Apple GEOS UnConvert" tool should be allowed to rely on a valid file size (aka EOF) in the ProDOS directory entry.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5369 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed type in target name (it is not supposed to be "geos-apple2") and adjusted the...
ol.sc [Mon, 2 Jan 2012 12:45:25 +0000 (12:45 +0000)]
Fixed type in target name (it is not supposed to be "geos-apple2") and adjusted the CPU attribute to 65C02 as Apple GEOS only runs on newer Apple machines with 128kB anyway.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5368 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoSymbols imported from the linker config must have the config file position
uz [Mon, 2 Jan 2012 12:39:55 +0000 (12:39 +0000)]
Symbols imported from the linker config must have the config file position
added to the symbol references, not the definitions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5367 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRenamed apple-geos.cfg to geos-apple.cfg and added it as built-in configuration.
ol.sc [Mon, 2 Jan 2012 12:28:44 +0000 (12:28 +0000)]
Renamed apple-geos.cfg to geos-apple.cfg and added it as built-in configuration.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5366 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRenamed geos.cfg to geos-cbm.cfg.
ol.sc [Mon, 2 Jan 2012 12:18:18 +0000 (12:18 +0000)]
Renamed geos.cfg to geos-cbm.cfg.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5365 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAccording to http://wweicht.homepage.t-online.de/projekte.htm ("GEOS 64/128 (Wheels...
ol.sc [Mon, 2 Jan 2012 12:07:03 +0000 (12:07 +0000)]
According to http://wweicht.homepage.t-online.de/projekte.htm ("GEOS 64/128 (Wheels and MegaPatch also) use internal a two digit value for year. After the year 99 comes the year 00.") it's advisable to  generally limit the year to two digits.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5364 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAnother try in normalizing C coding style.
ol.sc [Mon, 2 Jan 2012 12:01:43 +0000 (12:01 +0000)]
Another try in normalizing C coding style.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5363 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAnother try in normalizing C coding style.
ol.sc [Mon, 2 Jan 2012 11:54:15 +0000 (11:54 +0000)]
Another try in normalizing C coding style.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5362 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoReplaced <target>-geos with geos-<target>.
ol.sc [Mon, 2 Jan 2012 11:25:36 +0000 (11:25 +0000)]
Replaced <target>-geos with geos-<target>.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5361 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoNormalized style of fragment-type GEOS samples.
ol.sc [Mon, 2 Jan 2012 11:12:38 +0000 (11:12 +0000)]
Normalized style of fragment-type GEOS samples.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5360 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded GEOS Kernal call showing what the struct is for - like the other fragment-type...
ol.sc [Mon, 2 Jan 2012 11:11:19 +0000 (11:11 +0000)]
Added GEOS Kernal call showing what the struct is for - like the other fragment-type GEOS samples do.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5359 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMoving the quit-hook towards the end of page 3 as far as possible slightly increases...
ol.sc [Mon, 2 Jan 2012 11:09:25 +0000 (11:09 +0000)]
Moving the quit-hook towards the end of page 3 as far as possible slightly increases the compatibility with BIN programs making use of page 3 themselves.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5358 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a problem: For symbols of type weak or external defined in the linker
uz [Sun, 1 Jan 2012 20:29:42 +0000 (20:29 +0000)]
Fixed a problem: For symbols of type weak or external defined in the linker
config, a value is mandatory, but the check inside the code checked for the
TYPE attribute instead of the VALUE attribute.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5357 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoCode optimization contributed by Kajtar Zsolt, soci@c64.rulez.org
uz [Sun, 1 Jan 2012 20:03:33 +0000 (20:03 +0000)]
Code optimization contributed by Kajtar Zsolt, soci@c64.rulez.org

git-svn-id: svn://svn.cc65.org/cc65/trunk@5356 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRemoved the jump to RESTOR on exit for all the CBM platforms.
uz [Sun, 1 Jan 2012 19:58:31 +0000 (19:58 +0000)]
Removed the jump to RESTOR on exit for all the CBM platforms.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5355 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a bug: To check for signed types use IsSignSigned, not !IsSignUnsigned.
uz [Sun, 1 Jan 2012 18:26:39 +0000 (18:26 +0000)]
Fixed a bug: To check for signed types use IsSignSigned, not !IsSignUnsigned.
The latter may be true for types and are neither signed nor unsigned.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5353 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoNES TGI Update by Stefan Haubenthal.
uz [Sun, 1 Jan 2012 12:14:17 +0000 (12:14 +0000)]
NES TGI Update by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5352 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoLet the linker generate a new symbol __NAME_FILEOFFS__ that contains the
uz [Sat, 31 Dec 2011 15:21:33 +0000 (15:21 +0000)]
Let the linker generate a new symbol __NAME_FILEOFFS__ that contains the
offset of a memory area in the output file. Partially based on a contribution
by David M. Lloyd, david.lloyd@redhat.com.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5351 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoSupport for the Mitsubishi 740 CPU for da65. Written and contributed by
uz [Sat, 31 Dec 2011 13:09:55 +0000 (13:09 +0000)]
Support for the Mitsubishi 740 CPU for da65. Written and contributed by
Chris Baird, cjb@brushtail.apana.org.au.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5350 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFix SVN version stuff. The old implementation apparently had problems with
uz [Thu, 29 Dec 2011 21:18:23 +0000 (21:18 +0000)]
Fix SVN version stuff. The old implementation apparently had problems with
subversion >= 1.7.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5349 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoremoved one conditional in the cc65 Makefile gcc.mak in order to make SVN version...
silverdr [Thu, 29 Dec 2011 20:37:32 +0000 (20:37 +0000)]
removed one conditional in the cc65 Makefile gcc.mak in order to make SVN version work also with SVN 1.7.x working copies

git-svn-id: svn://svn.cc65.org/cc65/trunk@5348 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoChanged docs for options.
uz [Wed, 28 Dec 2011 18:20:14 +0000 (18:20 +0000)]
Changed docs for options.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5347 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoChange option processing and options to be more compatible with the other
uz [Wed, 28 Dec 2011 18:12:47 +0000 (18:12 +0000)]
Change option processing and options to be more compatible with the other
tools. Support long options. Remove unnecessary newlines from error messages.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5346 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRenamed the main file to main.c for consistency reasons.
uz [Wed, 28 Dec 2011 17:46:17 +0000 (17:46 +0000)]
Renamed the main file to main.c for consistency reasons.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5345 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRemoved an anused constant.
uz [Wed, 28 Dec 2011 17:43:48 +0000 (17:43 +0000)]
Removed an anused constant.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5344 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoRenamed the old geos target to geos-cbm.
uz [Wed, 28 Dec 2011 17:11:21 +0000 (17:11 +0000)]
Renamed the old geos target to geos-cbm.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5343 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoOrder of table entries was wrong, so bsearch failed.
uz [Wed, 28 Dec 2011 17:09:26 +0000 (17:09 +0000)]
Order of table entries was wrong, so bsearch failed.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5342 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded support for arbitrary alignments.
uz [Wed, 28 Dec 2011 16:28:19 +0000 (16:28 +0000)]
Added support for arbitrary alignments.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5341 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoMake the error message for large alignments more descriptive. Don't use the
uz [Wed, 28 Dec 2011 16:00:16 +0000 (16:00 +0000)]
Make the error message for large alignments more descriptive. Don't use the
real number of fill bytes for an alignment, we didn't accept anyway.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5340 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoNew behaviour of .ALIGN, new option --large-alignment.
uz [Wed, 28 Dec 2011 14:02:09 +0000 (14:02 +0000)]
New behaviour of .ALIGN, new option --large-alignment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5339 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded TGT_GEOS_CBM and TGT_GEOS_APPLE.
uz [Wed, 28 Dec 2011 13:33:38 +0000 (13:33 +0000)]
Added TGT_GEOS_CBM and TGT_GEOS_APPLE.
Added new targets to the geos resource compiler already prepared by Oliver.
Changed the target module to allow target name aliases and consolidated target
properties into a TargetProperties structure kept in that module. Numeric
targets are now gone.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5338 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFixed a compiler warning.
uz [Wed, 28 Dec 2011 13:29:09 +0000 (13:29 +0000)]
Fixed a compiler warning.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5337 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoFirst steps towards supporting Apple GEOS.
ol.sc [Tue, 27 Dec 2011 23:36:05 +0000 (23:36 +0000)]
First steps towards supporting Apple GEOS.
- The generated file is a "Apple GEOS Convert" format.
- VLIR support is yet to come.
- The "Apple GEOS UnConvert" tool is yet to come.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5336 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoSmall changes for arbitrary alignment in object files.
uz [Tue, 27 Dec 2011 22:56:39 +0000 (22:56 +0000)]
Small changes for arbitrary alignment in object files.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5335 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAllow arbitrary alignments, not just powers of two. Beware: This needs support
uz [Tue, 27 Dec 2011 22:54:52 +0000 (22:54 +0000)]
Allow arbitrary alignments, not just powers of two. Beware: This needs support
in the linker which is currently missing.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5334 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoBumped object file version since file format has changed.
uz [Tue, 27 Dec 2011 22:53:42 +0000 (22:53 +0000)]
Bumped object file version since file format has changed.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5333 b7a2c559-68d2-44c3-8de9-860c34a00d81

12 years agoAdded LARGE_ALIGNMENT.
uz [Tue, 27 Dec 2011 22:53:15 +0000 (22:53 +0000)]
Added LARGE_ALIGNMENT.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5332 b7a2c559-68d2-44c3-8de9-860c34a00d81