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
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
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
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
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
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
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
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
b9b6657c29
Adjusted language and TABs.
ol.sc
2011-12-26 23:50:55 +00:00
d810ed97d2
Redesigned GEOS VLIR linking: - No more post-linking with resource compiler, rather ld65 directly creates the VLIR CVT file. - No more dynamic linker config creation, rather the built-in 'geos' config is usable both for SEQ CVT and VLIR CVT files.
ol.sc
2011-12-26 22:54:04 +00:00
1947d15c48
New include file for address alignment.
uz
2011-12-26 22:38:06 +00:00
2947c5f0ae
changed wording of the message
silverdr
2011-12-26 16:50:23 +00:00
f8c9188cc6
Minor formatting adjustment.
ol.sc
2011-12-19 14:49:40 +00:00
e8174de0f1
Fixed an error introduced in revision 4427: The list of 65816 instructions contained two items less than the counter said (because in 4427 two were deleted without adjusting the counter). Depending on the compilers implementation of bsearch(), some of the 65826 instructions were not found when searching the table.
uz
2011-12-11 23:40:53 +00:00
0d04730ddf
Documented the .SET operator that has been available for about 6 years now :-)
uz
2011-12-10 12:09:46 +00:00
494b0619d7
Added more sample for the inline assembler. Contributed by Steffen Görzig.
uz
2011-12-07 21:08:14 +00:00
5449f21d9f
When generating the dependency file, escape spaces in file names.
uz
2011-12-05 21:32:59 +00:00
e23d0e511c
Describe the atari macro package.
uz
2011-12-02 17:34:19 +00:00
d1e7773245
Adjustments to recent adding of get/set prefix to tgi function names.
ol.sc
2011-11-29 21:36:42 +00:00
74eb60df41
Some small documentation updates by Stefan Haubenthal.
uz
2011-11-07 21:27:16 +00:00
49c457f518
Disallow __asm__ on global level.
uz
2011-11-07 21:25:20 +00:00
eef45199d5
Remove ldiv_t - it should only be in stdlib.h. Reported by Marc Rintsch.
uz
2011-11-05 19:49:34 +00:00
ab83d5cd78
Fixed an internal error caused by muddling through after an error occurred and trying to add a duplicate identifier into the symbol table.
uz
2011-09-18 20:36:19 +00:00
a9de1a9e89
Fixed an error: The LINE function mistakenly enabled the BASIC ROM. (Greg King)
uz
2011-09-13 18:50:29 +00:00
6a716ae43b
Fixed an error: The output file shouldn't be opened in binary mode (thefox).
uz
2011-09-04 10:41:43 +00:00
76e9fc8c65
Small fix for an error message.
uz
2011-09-03 19:11:12 +00:00
5050157eda
Make the type of a C symbol available.
uz
2011-09-01 20:53:42 +00:00
3ec4b296ba
Added functions to access the c symbols in the debug info file.
uz
2011-09-01 20:51:07 +00:00
8504f42497
Postprocess and cross-reference C symbol infos.
uz
2011-09-01 10:21:25 +00:00
e63dcb46f1
Fixed an error: Symbol references for csyms were output as local, not global ids.
uz
2011-09-01 10:00:31 +00:00
d1abb7e808
New flag that tells if the HLL symbol has an asm symbol attached.
uz
2011-08-31 21:00:20 +00:00