1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
Commit Graph

3476 Commits

Author SHA1 Message Date
cuz
e5782fdc20 Allow an optional '+' sign before an exponent of a floating point constant.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3827 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-31 21:17:27 +00:00
cuz
3f44e21b12 Fixed bugs in the macro versions of the GetStringId inline functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-31 21:13:10 +00:00
cuz
9174f65e54 Make 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.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-31 20:54:45 +00:00
cuz
6a7e844500 The conversion specifier to output a StrBuf had to be changed, because gcc
emits a warning for each such unknown conversion specifier.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3824 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-31 20:51:31 +00:00
cuz
528dff89b1 Removed an unused module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-30 08:41:26 +00:00
cuz
46286ccffa Fixed an error in the type comparison code. Function declarators were not
considered equal, if the functions defined different local structs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3822 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-29 12:17:32 +00:00
cuz
e917645145 New functions SB_ToLower and SB_ToUpper.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-27 13:40:38 +00:00
cuz
79fdf9e7c6 Quite some functions mentioned as "unsupported" are available in the meantime
(Stefan Haubenthal).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-26 08:39:36 +00:00
cuz
d20b12bef7 Fixed a few typos (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3819 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-26 08:35:50 +00:00
cuz
966843dc1d The value of COLOR_WHITE changed from 1 to 3.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3818 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-25 19:08:26 +00:00
cuz
1a5a724f1b Removed obsolete files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3817 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-25 19:07:52 +00:00
cuz
feae688346 Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:37:22 +00:00
cuz
c7ddd12bba Oliver Schmidt added test output for second fire button.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3815 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:27:20 +00:00
cuz
ef6d87f20e Ignore all the generated text files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3814 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:01:28 +00:00
cuz
a21bf773e1 Fixed 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).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3813 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-27 20:37:02 +00:00
cuz
263b7863a3 Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3812 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-25 07:47:04 +00:00
cuz
fbbab1655f The descriptions of the CLI and SEI functions were reversed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3811 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-21 16:59:57 +00:00
cuz
f1ea61581f Patch for ca65html by Greg King:
The "ca65html.sgml" patch:
1) Removes text that says that the colorize option is non-standard.
2) Corrects the information about what is put on the index page.

The "ca65html" patch:
1) Looks for "?" and "@" at the front of cheap local labels.
2) Handles label assignment statements.
3) Parses many more ca65 dot-directives.
4) Handles every official op-code mnemonic that ca65 knows.
5) Recognizes both upper- and lower-case directives and mnemonics.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3810 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-20 17:27:19 +00:00
cuz
94f3a578a5 Allow optional assignments in .export and .exportzp statements.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3809 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-02-19 21:01:07 +00:00
cuz
b582ad7ed1 Fixed an error (Oliver Schmidt).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3808 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-12-12 19:16:52 +00:00
cuz
b7cc6b82d7 Document segment support for da65 (which is not completely done).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3807 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-09-02 19:57:34 +00:00
cuz
a4b43370e7 More segment support stuff.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3806 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-09-02 19:49:12 +00:00
cuz
8db6dcd414 Started to add support for segments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-31 20:27:53 +00:00
cuz
10efd998e0 Move code to a subroutine.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3804 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-31 20:23:37 +00:00
cuz
e8b90752d9 Preprocess 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.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3803 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-31 16:02:03 +00:00
cuz
47860910e0 Renamed the Val field to IVal to allow values of other types later.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3802 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-30 20:24:16 +00:00
cuz
3894b074a6 Move more stuff from scanner.c into the new module token.c.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3801 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-28 21:14:21 +00:00
cuz
aa4df9f98b Fixed the name of the assembler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3800 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-28 19:54:48 +00:00
cuz
79a89299b9 Added #warning (suggestion by Rudolf Schubert).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3799 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-28 12:53:43 +00:00
cuz
0b4a94a65e Preparation for introducing token sources.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3798 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-27 20:39:02 +00:00
cuz
10c949062b Fixed 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.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3797 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-26 18:53:46 +00:00
cuz
a47008cca0 Fixed a bug: Byte three of the remainder was overwritten by byte 4.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3796 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-26 17:25:21 +00:00
cuz
d06e60731b Added Peter Wendrich <pwsoft@syntiac.com> to the CREDITS file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3795 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-23 19:50:17 +00:00
cuz
a7358314a0 New .FEATURE org_per_seg. If enabled, .org/.reloc do only influence the
current segment. Idea by Peter Wendrich <pwsoft@syntiac.com>.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-23 19:48:43 +00:00
cuz
5eadec958c Remove the #error statement if the platform is unknown. This allows use of
conio.h in custom targets.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-21 13:16:53 +00:00
cuz
9cc9628f72 Don't try to strip the ca65html perl script.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3791 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-20 09:24:04 +00:00
cuz
f14b3fd057 Added an URL tag
git-svn-id: svn://svn.cc65.org/cc65/trunk@3790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-20 08:43:45 +00:00
cuz
ceab56494e Replaced "Copyright" tag by "License".
git-svn-id: svn://svn.cc65.org/cc65/trunk@3789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-20 08:40:23 +00:00
cuz
24709a67d7 Applied Magervalps colorization changes with some minor modifications.
Colorization is now done by using CSS style sheets, so even colorized pages
are valid HTML.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3788 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-19 12:54:45 +00:00
cuz
363ff21b9c Fixed umlauts
git-svn-id: svn://svn.cc65.org/cc65/trunk@3787 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-19 12:23:24 +00:00
cuz
a84080febe Amiga install files by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3786 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-19 12:12:33 +00:00
cuz
57c2e0cc0b Fixed an error handling SC_EXTERN.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3785 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-07-03 16:02:04 +00:00
cuz
fd7e66f24c Fixed an error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3784 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-07-03 16:01:51 +00:00
cuz
7e44cdbd5f Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3783 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-06-28 10:28:34 +00:00
cuz
5683177b81 Changes from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3782 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-06-21 20:42:16 +00:00
cuz
d1e184f93b Fixed wrong spelling of ".dbyt".
git-svn-id: svn://svn.cc65.org/cc65/trunk@3781 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-06-12 15:51:48 +00:00
cuz
519730612e Fixed hangs on certain info files. PC was not incremented when DataByteLine
is called.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3780 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-06-12 07:29:25 +00:00
cuz
0315173bb0 The copyright tag is deprecated.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3779 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-05-26 19:59:06 +00:00
cuz
fe52694b61 Fixed a problem with MagerValps changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3778 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-05-21 20:51:55 +00:00
cpg
b66b04f289 space optimization by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-03-28 19:34:48 +00:00