7877d9c326Removed flushall, since it is non-standard and not used anyway.
uz
2008-08-25 20:49:52 +00:00
5abf880933Added reference to dio_query_sectcount().
ol.sc
2008-08-25 20:23:12 +00:00
8f59614438Fixed Plus/4 info. This is a test commit by uz using the ol.sc account.
ol.sc
2008-08-25 17:41:16 +00:00
cc36f8a93aMoved the fascall and near/far flags from the function desriptor into the type. Started to add general handling of address size flags in types.
uz
2008-08-24 17:33:30 +00:00
f1e0de512aDocument the new c_comments feature.
uz
2008-08-21 19:42:52 +00:00
5d4790a137Enable use of new C like comments only if the new feature "c_comments" is enabled.
uz
2008-08-21 19:35:39 +00:00
9f7fc6f4c8Added C like /* */ comments.
uz
2008-08-19 21:26:23 +00:00
53352d8a56Checked in a small test routine for the serial drivers. It has been lying around for some time here.
uz
2008-08-14 19:17:34 +00:00
0b4f6426e2Some more floating point support.
uz
2008-08-11 17:51:00 +00:00
0b60ac4716Use GlobalModeFlags() if apropriate.
uz
2008-08-09 20:33:11 +00:00
1b29b536f3Fixed a bug: Structure assignment was broken.
uz
2008-08-08 16:47:43 +00:00
1e672a3169Fixed a bug: The op= operators (+=, -=, etc.) worked on const qualified objects.
uz
2008-08-07 22:22:58 +00:00
66b3f9d974Fixed a bug: It was possible to increment or decrement const qualified objects.
uz
2008-08-07 22:18:12 +00:00
92a4690ac3Ignore files/file types.
uz
2008-08-05 21:55:14 +00:00
5cd0b86a1aIndexing a string by an expression which was not a simple variable didn't work: "abcd"[atoi("2")];
uz
2008-08-05 21:20:42 +00:00
9127774a4dPass a complete ExprDesc and not just the Flags field to GlobalModeFlags to allow for better debugging (output) in case of problems.
uz
2008-08-05 21:11:26 +00:00
ac895ef921DoneStrBuf -> SB_Done (Stefan Haubenthal).
uz
2008-08-05 20:56:35 +00:00
2b098710d9Added Koala Pad mouse drivers written by Stefan Haubenthal.
uz
2008-08-05 20:54:35 +00:00
80fb3323b3Ignore a few files/file types.
uz
2008-08-05 19:48:33 +00:00
dbb9a31fd9Fixed wrong code generation for ((unsigned char *)(&shadow))[reg & 0x0f] = value;
uz
2008-08-05 19:47:57 +00:00
a42140c8c9Ignore some files/file types.
uz
2008-08-05 17:07:15 +00:00
82f1baab4aIgnore a few files/file types.
uz
2008-08-05 15:53:40 +00:00
d10f8525dbFixed a comment.
uz
2008-08-05 15:52:25 +00:00
e401b035b6Ignore dbg.s, it's a generated file.
uz
2008-08-03 21:07:42 +00:00
aadac56a97Ignore several generated files.
uz
2008-08-03 21:02:38 +00:00
a1d7fed128Fixed several problems with old style (K&R) declarations and a mix of old and new style decls.
uz
2008-08-03 20:55:36 +00:00
3482a9e7ceFixed a comment
uz
2008-08-03 20:09:03 +00:00
24c6e1ce5bMove some storage class handling and checking for implicit into from locals.c and compile.c into ParseDecl() (declare.c).
uz
2008-08-03 18:20:12 +00:00
841ea0e686Transfer the storage class flags from struct DeclSpec into struct Declaration.
uz
2008-08-03 18:00:05 +00:00
c76a8657b3Fixed handling of function definitions with an empty parameter list. According to the standard, an empty parameter list in a function declarator that is not a definition means that the function may have any number of parameters. In a function definition, it means that there are no parameters (as if the function were declared with a "void" parameter list).
uz
2008-08-03 15:30:03 +00:00
af9286852fA label must always be followed by a statement. This wasn't checked by the compiler before.
uz
2008-08-03 12:54:11 +00:00
4812feb44bgit-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
uz
2008-08-02 22:02:54 +00:00
6ecca264e4In an old style function definition, print a diagnostic if a type is assigned twice to a parameter.
cuz
2008-08-01 21:40:07 +00:00
357118697dA label must always be followed by a statement. Check for this.
cuz
2008-08-01 20:00:23 +00:00
64ec376140Switch statement may now contain arbitrary code as the standard requires. The compiler will now accept stuff like Duffs device.
cuz
2008-08-01 19:44:01 +00:00
22d89f558eAdded several type checks, especially for functions. Moved check for implicit int return type.
cuz
2008-07-31 18:31:15 +00:00
52c0c284daCalling an undefined function is an error in C99.
cuz
2008-07-31 18:30:33 +00:00
b5511acf6fFixed an error
cuz
2008-07-26 22:19:01 +00:00
855bfce20cFixed a typo.
cuz
2008-07-21 18:42:46 +00:00
4084f2e0f0add CONIO section (from Stefan Haubenthal)
cpg
2008-07-16 20:42:38 +00:00
258a8e7d4cMove zpsave into its own segment to decrease the executable size.
cuz
2008-07-15 18:34:20 +00:00
e64672acc7use __ZPSAVE_LOAD__ instead of __BSS_LOAD__ to create EXEHDR
cpg
2008-07-04 17:32:00 +00:00
254b252167add "define=yes" for ZPSAVE segment, since it's needed by crt0.s
cpg
2008-07-04 17:31:14 +00:00
f257b2ee81Moved the data that keeps a copy of the used zero page locations in its own segment to reduce the executable size.
cuz
2008-07-03 19:39:14 +00:00
ab39981db1fix comments for LMARGN and RMARGN
cpg
2008-07-01 21:05:28 +00:00
baf1e77645Use RMARGN instead of a hard coded value for compatibility with XEP80. Patch by Stefan Haubenthal.
cpg
2008-07-01 20:58:03 +00:00
c7aae0d3d8Fixed an error in .out
cuz
2008-06-29 20:13:37 +00:00
e1adb1ee57Several updates by Oliver Schmidt.
cuz
2008-06-16 17:32:33 +00:00
7e682896b1Updates and hints regarding AppleCommander by Oliver Schmidt.
cuz
2008-06-16 17:25:01 +00:00
9dcd19eac9Bumped the version number
cuz
2008-04-21 20:14:29 +00:00
a623013e66Bumped the version number
cuz
2008-04-21 20:11:14 +00:00
545df804bbRenamed setoserror to seterrnofromoserror to avoid clashes.
cuz
2008-04-15 06:55:35 +00:00
6c5c0be79fFixed an error.
cuz
2008-04-15 06:44:46 +00:00
3293330f31New entry point setoserror
cuz
2008-04-13 17:35:15 +00:00
8440c13eddNew function fndefunit.
cuz
2008-04-13 14:49:16 +00:00
aea6afa2d3Added information about the DTV extended memory driver.
cuz
2008-04-10 20:29:25 +00:00
e0822357c7New get_tv function by Stefan Haubenthal.
cuz
2008-04-10 20:20:26 +00:00
1a0c871976NTSC/PAL update by Stefan Haubenthal.
cuz
2008-04-10 20:15:28 +00:00
6787fb362fNew get_tv module from Stefan Haubenthal.
cuz
2008-04-10 20:12:20 +00:00
225e1ca58eMore fixes for Watcom C / C89.
cuz
2008-03-31 21:28:50 +00:00
11e0421fa7Fixed another problem with the macros.
cuz
2008-03-31 21:23:10 +00:00
e5782fdc20Allow an optional '+' sign before an exponent of a floating point constant.
cuz
2008-03-31 21:17:27 +00:00
3f44e21b12Fixed bugs in the macro versions of the GetStringId inline functions.
cuz
2008-03-31 21:13:10 +00:00
9174f65e54Make much more usage of dynamic strings (StrBufs) instead of char* and friends. Since names and other strings are now StrBufs in many places, code for output had to be changed. Added support for string literals to StrBuf.
cuz
2008-03-31 20:54:45 +00:00
6a7e844500The conversion specifier to output a StrBuf had to be changed, because gcc emits a warning for each such unknown conversion specifier.
cuz
2008-03-31 20:51:31 +00:00
528dff89b1Removed an unused module.
cuz
2008-03-30 08:41:26 +00:00
46286ccffaFixed an error in the type comparison code. Function declarators were not considered equal, if the functions defined different local structs.
cuz
2008-03-29 12:17:32 +00:00
e917645145New functions SB_ToLower and SB_ToUpper.
cuz
2008-03-27 13:40:38 +00:00
79fdf9e7c6Quite some functions mentioned as "unsupported" are available in the meantime (Stefan Haubenthal).
cuz
2008-03-26 08:39:36 +00:00
d20b12bef7Fixed a few typos (Stefan Haubenthal).
cuz
2008-03-26 08:35:50 +00:00
966843dc1dThe value of COLOR_WHITE changed from 1 to 3.
cuz
2008-03-25 19:08:26 +00:00
feae688346Oliver Schmidt updated the graphics drivers and part of the C library for the Apple machines.
cuz
2008-03-16 09:37:22 +00:00
c7ddd12bbaOliver Schmidt added test output for second fire button.
cuz
2008-03-16 09:27:20 +00:00
ef6d87f20eIgnore all the generated text files.
cuz
2008-03-16 09:01:28 +00:00
a21bf773e1Fixed a bug in the optimizer. Loads of X and Y from memory were sometimes replaced by loads of A with an immediate value (which is stored in said memory location).
cuz
2008-02-27 20:37:02 +00:00
263b7863a3Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines.
cuz
2008-02-25 07:47:04 +00:00
fbbab1655fThe descriptions of the CLI and SEI functions were reversed.
cuz
2008-02-21 16:59:57 +00:00
f1ea61581fPatch for ca65html by Greg King:
cuz
2008-02-20 17:27:19 +00:00
94f3a578a5Allow optional assignments in .export and .exportzp statements.
cuz
2008-02-19 21:01:07 +00:00
b582ad7ed1Fixed an error (Oliver Schmidt).
cuz
2007-12-12 19:16:52 +00:00
b7cc6b82d7Document segment support for da65 (which is not completely done).
cuz
2007-09-02 19:57:34 +00:00
a4b43370e7More segment support stuff.
cuz
2007-09-02 19:49:12 +00:00
8db6dcd414Started to add support for segments.
cuz
2007-08-31 20:27:53 +00:00
10efd998e0Move code to a subroutine.
cuz
2007-08-31 20:23:37 +00:00
e8b90752d9Preprocess the remainder of the line in a #include preprocessor directive. This allows use of macros in the file spec and is a requirement of the C standard.
cuz
2007-08-31 16:02:03 +00:00
47860910e0Renamed the Val field to IVal to allow values of other types later.
cuz
2007-08-30 20:24:16 +00:00
3894b074a6Move more stuff from scanner.c into the new module token.c.
cuz
2007-08-28 21:14:21 +00:00
aa4df9f98bFixed the name of the assembler.
cuz
2007-08-28 19:54:48 +00:00
79a89299b9Added #warning (suggestion by Rudolf Schubert).
cuz
2007-08-28 12:53:43 +00:00
0b4a94a65ePreparation for introducing token sources.
cuz
2007-08-27 20:39:02 +00:00
10c949062bFixed a bug: The compiler evaluated constant expressions internally always using signed integers as data types. This led to wrong results for mod, div and compares.
cuz
2007-08-26 18:53:46 +00:00
a47008cca0Fixed a bug: Byte three of the remainder was overwritten by byte 4.
cuz
2007-08-26 17:25:21 +00:00
a7358314a0New .FEATURE org_per_seg. If enabled, .org/.reloc do only influence the current segment. Idea by Peter Wendrich <pwsoft@syntiac.com>.
cuz
2007-08-23 19:48:43 +00:00
5eadec958cRemove the #error statement if the platform is unknown. This allows use of conio.h in custom targets.
cuz
2007-08-21 13:16:53 +00:00
9cc9628f72Don't try to strip the ca65html perl script.
cuz
2007-08-20 09:24:04 +00:00
f14b3fd057Added an URL tag
cuz
2007-08-20 08:43:45 +00:00
ceab56494eReplaced "Copyright" tag by "License".
cuz
2007-08-20 08:40:23 +00:00