Commit Graph

  • 0a7981840b 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 ;-) ol.sc 2012-01-21 12:59:43 +00:00
  • 7103aa04ae Added docs to set_irq / reset_irq. ol.sc 2012-01-21 12:28:23 +00:00
  • 631c553233 Reverted some errorneously committed changes which enabled debug output. uz 2012-01-20 16:04:37 +00:00
  • cbefb85d47 Fixed a problem reported by Greg King. structs returned from functions in the primary register are actually rvalues and need special treatment. uz 2012-01-20 16:01:25 +00:00
  • 66f1f82943 Masking a bit field is unnecessary if there was no shift operation or if the shift operation shifted just zeroes into the value. uz 2012-01-20 15:54:43 +00:00
  • 772d51aa5e Added handling of new expression opcodes. uz 2012-01-19 11:55:36 +00:00
  • 75b83260c6 Fix wrong offset of irq vector byte used as on/off flag. uz 2012-01-19 11:54:26 +00:00
  • 3f8ceff73f Forgot to check these in. They contain the new expression opcodes for far addresses (24 bit) and dwords (32 bit). uz 2012-01-19 11:50:21 +00:00
  • 5df392ff14 Added wrapper for C level irq handling. ol.sc 2012-01-19 00:24:13 +00:00
  • 68496d16ed Add missing Debian build-dependancy on "texinfo". spiro 2012-01-18 21:34:33 +00:00
  • 7ecb4c50b1 Add bounded expressions for immediate addressing and list the new feature in the docs. uz 2012-01-18 19:50:34 +00:00
  • 0e4f581f71 Remove obsolete defines for the 6502 processor flags. uz 2012-01-18 15:26:27 +00:00
  • 4837be9fbd Added articles in last chapter. ol.sc 2012-01-16 22:32:58 +00:00
  • 13f2618cb5 Fixes for typos by Stefan Haubenthal. uz 2012-01-15 16:22:00 +00:00
  • ececd5f10f Make cc65-doc depend on the right version of cc65 spiro 2012-01-15 13:25:31 +00:00
  • 1b40f35a61 Update debian package generation. spiro 2012-01-15 12:52:39 +00:00
  • a8a8b5a89e Added articles (last chapterstill todo). ol.sc 2012-01-15 00:32:23 +00:00
  • 2d9e5955a8 The "Hitchhiker's Guide To GEOS" is the only publicly available document containing the addresses of GEOS symbols for Apple GEOS. ol.sc 2012-01-14 11:09:40 +00:00
  • 261f52c502 Fixed typo. ol.sc 2012-01-14 08:22:07 +00:00
  • 6c490ba16c Add some warnings about using .DEFINE. uz 2012-01-13 15:58:17 +00:00
  • 8ddcbc5f01 Fixed an error in calculation of the fill bytes necessary for alignment. uz 2012-01-11 18:30:25 +00:00
  • 9820c3212c Restored compatibility with info. ol.sc 2012-01-07 22:17:19 +00:00
  • f164a96cc2 Fixed several build warnings. uz 2012-01-06 21:31:22 +00:00
  • 3677e722cc An export has been missing for BRKVec (Stefan Haubenthal). uz 2012-01-06 15:53:07 +00:00
  • 77b84429a3 reset_brk is not __fastcall__. By Stefan Haubenthal. uz 2012-01-06 15:50:59 +00:00
  • 8f5f3f56cb Patch by Greg King: Improved the mkdir rule. Adjusted some rules for grc65 and geos-*.cfg name changes. uz 2012-01-06 15:45:50 +00:00
  • fb3c3f6a68 Replace some more instance of geos.lib with geos-cbm.lib. ol.sc 2012-01-05 16:36:27 +00:00
  • d273c5de93 Adjusted line endings and fixed some more typos. ol.sc 2012-01-05 16:24:39 +00:00
  • 90631777fc grc is now named grc65. uz 2012-01-05 09:44:51 +00:00
  • 8f374fc084 Fixed a typo. uz 2012-01-05 09:31:53 +00:00
  • 8cf0794c3e Updated second part of the grc65 doc. ol.sc 2012-01-05 01:10:00 +00:00
  • 463dc19c5c Resource compiling has to come first. ol.sc 2012-01-05 01:08:15 +00:00
  • 1fccae4cff Finish support for .BANK. uz 2012-01-04 22:45:26 +00:00
  • e7e4877e6e Mark segments that are referenced in a .BANK statement. uz 2012-01-04 22:15:47 +00:00
  • 3b2672ebcd Add the new include files geos-apple.inc and geos-cbm.inc to the svn ignore list. uz 2012-01-04 22:03:43 +00:00
  • 02cbc7da25 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. uz 2012-01-04 22:02:02 +00:00
  • ad88e77f43 Fixed an error in file offset calculation. uz 2012-01-04 21:45:11 +00:00
  • cb4ba24089 Fixed copy & paste errors in comments. uz 2012-01-04 21:44:46 +00:00
  • 68589fc963 Adjusted resource file to recent syntax changes. ol.sc 2012-01-04 15:24:18 +00:00
  • e58e20b99f Updated first part of the grc65 doc. ol.sc 2012-01-03 23:05:02 +00:00
  • ebc519ee0e Added a sample demonstrating how to create a VLIR overlay program. ol.sc 2012-01-03 21:55:34 +00:00
  • 9e68be3842 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. uz 2012-01-03 21:41:34 +00:00
  • 74be82e77e Minimal beautification. ol.sc 2012-01-03 21:14:33 +00:00
  • 9c2cb68b50 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. ol.sc 2012-01-03 21:12:43 +00:00
  • be77192bcf No need to simplify an expression in SegDone() if it is replaced by a constant anyway. uz 2012-01-03 19:40:00 +00:00
  • b16a12d260 Adjusted/added names of geos include files. uz 2012-01-03 08:25:04 +00:00
  • 5863777995 Introduced __BACKBUFSIZE__ which can be set to zero in order to disable the GEOS background buffering. ol.sc 2012-01-03 00:32:46 +00:00
  • 803686e179 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. ol.sc 2012-01-02 23:30:55 +00:00
  • 110bbeafde 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. ol.sc 2012-01-02 12:45:25 +00:00
  • a9f48e663b Symbols imported from the linker config must have the config file position added to the symbol references, not the definitions. uz 2012-01-02 12:39:55 +00:00
  • f24ff82ea2 Renamed apple-geos.cfg to geos-apple.cfg and added it as built-in configuration. ol.sc 2012-01-02 12:28:44 +00:00
  • 4c82d5e0c2 Renamed geos.cfg to geos-cbm.cfg. ol.sc 2012-01-02 12:18:18 +00:00
  • 6fa0564790 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. ol.sc 2012-01-02 12:07:03 +00:00
  • 2bac717dee Another try in normalizing C coding style. ol.sc 2012-01-02 12:01:43 +00:00
  • 8abedd2bae Another try in normalizing C coding style. ol.sc 2012-01-02 11:54:15 +00:00
  • 0cb60439c8 Replaced <target>-geos with geos-<target>. ol.sc 2012-01-02 11:25:36 +00:00
  • cd291d3eb4 Normalized style of fragment-type GEOS samples. ol.sc 2012-01-02 11:12:38 +00:00
  • 64ac28c102 Added GEOS Kernal call showing what the struct is for - like the other fragment-type GEOS samples do. ol.sc 2012-01-02 11:11:19 +00:00
  • 80a7a8df00 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. ol.sc 2012-01-02 11:09:25 +00:00
  • e935c8fead 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. uz 2012-01-01 20:29:42 +00:00
  • 4127923ad1 Code optimization contributed by Kajtar Zsolt, soci@c64.rulez.org uz 2012-01-01 20:03:33 +00:00
  • 5b659547b8 Removed the jump to RESTOR on exit for all the CBM platforms. uz 2012-01-01 19:58:31 +00:00
  • 0692c66db3 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. uz 2012-01-01 18:26:39 +00:00
  • 9c841c19c8 NES TGI Update by Stefan Haubenthal. uz 2012-01-01 12:14:17 +00:00
  • 081308942c 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. uz 2011-12-31 15:21:33 +00:00
  • 45f7cc1403 Support for the Mitsubishi 740 CPU for da65. Written and contributed by Chris Baird, cjb@brushtail.apana.org.au. uz 2011-12-31 13:09:55 +00:00
  • af12aa8b2d Fix SVN version stuff. The old implementation apparently had problems with subversion >= 1.7. uz 2011-12-29 21:18:23 +00:00
  • a37c0427a7 removed one conditional in the cc65 Makefile gcc.mak in order to make SVN version work also with SVN 1.7.x working copies silverdr 2011-12-29 20:37:32 +00:00
  • 27c28bd078 Changed docs for options. uz 2011-12-28 18:20:14 +00:00
  • 049ff2ce3e Change option processing and options to be more compatible with the other tools. Support long options. Remove unnecessary newlines from error messages. uz 2011-12-28 18:12:47 +00:00
  • 3364c1d779 Renamed the main file to main.c for consistency reasons. uz 2011-12-28 17:46:17 +00:00
  • 8fb6d2c3b1 Removed an anused constant. uz 2011-12-28 17:43:48 +00:00
  • e6d74e7205 Renamed the old geos target to geos-cbm. uz 2011-12-28 17:11:21 +00:00
  • 70a3bcb0df Order of table entries was wrong, so bsearch failed. uz 2011-12-28 17:09:26 +00:00
  • 6ead4abf24 Added support for arbitrary alignments. uz 2011-12-28 16:28:19 +00:00
  • 5bcbb39bba 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. uz 2011-12-28 16:00:16 +00:00
  • dba7806ab4 New behaviour of .ALIGN, new option --large-alignment. uz 2011-12-28 14:02:09 +00:00
  • 4bdcad03a0 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. uz 2011-12-28 13:33:38 +00:00
  • 5be3aeab7f Fixed a compiler warning. uz 2011-12-28 13:29:09 +00:00
  • 920a3eb794 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. ol.sc 2011-12-27 23:36:05 +00:00
  • 2a18b0dd1d Small changes for arbitrary alignment in object files. uz 2011-12-27 22:56:39 +00:00
  • badfe85991 Allow arbitrary alignments, not just powers of two. Beware: This needs support in the linker which is currently missing. uz 2011-12-27 22:54:52 +00:00
  • be14b8e5e4 Bumped object file version since file format has changed. uz 2011-12-27 22:53:42 +00:00
  • 281b04d066 Added LARGE_ALIGNMENT. uz 2011-12-27 22:53:15 +00:00
  • 71b134db78 Fix warning about possibly uninitialized variable. uz 2011-12-27 22:45:20 +00:00
  • 7d187fe92c Export MAX_ALIGNMENT. uz 2011-12-27 22:36:28 +00:00
  • d0555c400e New function AlignCount. uz 2011-12-27 22:31:36 +00:00
  • d956320687 Fix the factorization routine and hide it in the module. The others don't need to know about it, they can use the lcm calculation routine. uz 2011-12-27 22:18:05 +00:00
  • 143dcec5e6 Added preliminary support for -t option. ol.sc 2011-12-27 16:53:11 +00:00
  • 6dc42b30a3 Unified GEOS sample resource file names. ol.sc 2011-12-27 16:29:30 +00:00
  • 98a378b963 - Removed -f option. - Replaced references to target 'geos' with references to (the to-be renamed) 'cbm-geos'. ol.sc 2011-12-27 15:30:34 +00:00
  • e2781c4388 Replaced references to target 'geos' with references to (the upcoming) 'apple-geos' and (the to-be renamed) 'cbm-geos'. ol.sc 2011-12-27 15:24:30 +00:00
  • e10e029e8c Removed -f option. Just always overwrite files - as the other tools do. ol.sc 2011-12-27 14:29:59 +00:00
  • f1c2684c5b Added functions to factorize a value and to create the lcm of two factorized numbers. uz 2011-12-27 12:58:15 +00:00
  • 9b1ff636c5 Updated first part of the grc65 doc. ol.sc 2011-12-27 02:09:27 +00:00
  • 2f646eb01a Renamed to follow .grc naming scheme. ol.sc 2011-12-27 01:30:41 +00:00
  • 5f9a3d2502 Fixed typo. ol.sc 2011-12-27 01:23:01 +00:00
  • 90621257e7 Allow for custom icon for a GEOS app by allowing user to specify an external 63-byte sprite file - which is simply translated to an '.incbin' command. ol.sc 2011-12-27 01:11:22 +00:00
  • ee9558f616 Deleted empty directory. ol.sc 2011-12-27 00:31:32 +00:00
  • 6ff1d8314d Moved GEOS VLIR assembler sample from 'samples' to 'testcode' because: - It relies on include files which are not part of the cc65 distribution (but only present in the cc65 source tree). - An upcoming GEOS VLIR C sample will obsolete it - as sample. ol.sc 2011-12-27 00:25:17 +00:00