uz
c69e2d9f0f
Fixed a bug: Function designators are converted to rvalues of type "pointer to
...
function", so dereferencing a function is a legal operation. The result is
immediately converted back to "pointer to function" again. Note: Because of
performance considerations, cc65 does treat functions as "pointer to function"
internally, but nevertheless dereferencing a function must be possible.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-05 17:49:45 +00:00
uz
43c89d5fd0
Fixed a bug: A struct field has all qualifiers from its definition plus the
...
qualifiers of the struct.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-05 17:37:45 +00:00
uz
8348f62114
Must link libdl to use dynamic libraries.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4328 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 18:52:27 +00:00
uz
8b7c9fdc4f
Added decimal mode (untested): http://www.6502.org/tutorials/decimal_mode.html
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 18:52:10 +00:00
ol.sc
ca5ada12ba
Added note on the necessity of tab chars at the beginning of make command lines.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 16:30:56 +00:00
uz
ed15f337d9
Use a simple expression now that ldwarning is available as an assert action.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 13:04:53 +00:00
uz
44311c2b2e
Documented the new .assert actions.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 13:03:56 +00:00
uz
7ecdaf3d6e
Use the new ldwarning assert action.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 12:42:32 +00:00
uz
1efebb9024
Add .assert actions that aren't evaluated at assembly time.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-04 12:40:19 +00:00
uz
a3529cd048
Ignore start address in cbm_opendir. Rearrange the code somewhat to make it
...
shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4319 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 18:38:39 +00:00
ol.sc
82c312bd72
Updated (and sorted) sample program info.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:28:42 +00:00
ol.sc
2b7e9ecebc
Made compatible with the Apple ][ machines, but without timing (like mandelbrot).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:17:39 +00:00
ol.sc
a84229dcaf
Leveraged tgi_stddrv (like tgidemo).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:10:26 +00:00
ol.sc
cb5ce7da5a
Adjusted error message to recent change.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:07:10 +00:00
uz
6bf42548d9
Added a note about the builtin search paths
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-02 20:52:40 +00:00
ol.sc
c45442692c
Fixed messed up line endings.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-02 20:15:14 +00:00
uz
6c0960819e
Added docs for all the tgi functions and improved Lynx documentation
...
(contributed by Karri Kaksonen).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-02 14:29:17 +00:00
uz
b75bdc65d3
Fixed problems that were introduced with r4287.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 21:53:55 +00:00
uz
8e35f0d9c8
The combined assignment operator (-=, +=, ...) did not check that the rhs is
...
actually an integer.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 19:41:40 +00:00
ol.sc
ba46bab009
Made stacksize user-adjustable on the cmdline.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 17:00:10 +00:00
ol.sc
7608ec3c63
Fixed typos and line endings.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 15:41:24 +00:00
uz
811ef2f04c
Fixed a naming problem (Stefan Haubenthal).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:46:26 +00:00
uz
911355178d
Added an additional precondition before replacing code in OptPushPop. Fixed a
...
few places where new code was inserted after existing code instead the other
way round.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:39:26 +00:00
uz
d42ce3b59e
Lynx updates by Karri Kaksonen.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:09:19 +00:00
ol.sc
ce778c4bb8
Updated doc to better reflect current code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-30 21:54:20 +00:00
uz
9ba5252a01
Another small change in OptJumpTarget3.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-30 14:52:46 +00:00
uz
a532a52113
Added an additional precondition check to OptJumpTarget3.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-30 14:10:13 +00:00
ol.sc
5f609164d6
This is what was actually meant in the first place.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-30 08:04:34 +00:00
uz
c2b03e0208
New optimization step
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 18:46:25 +00:00
uz
0b4c486a49
Replace tabs by spaces in file lists.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:32:09 +00:00
uz
3d1ee0f974
Fixes for the watcom makefiles:
...
* Increase the stack size to 64K (instead of 4096). This solves a
memory overwrite problem with the DOS version.
* Generate a mapfile, but set it to "ignored" in svn.
* Be somewhat more specific in zap.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:08:23 +00:00
uz
4056e97587
Use "override" when appending to CFLAGS, so this works even when CFLAGS is
...
specified on the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 13:06:35 +00:00
uz
16f05a78c2
Create the .inc files before creating the dependency file, so we avoid
...
problems with files that weren't found.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-29 11:59:10 +00:00
uz
b5f25efad5
Small doc update by Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 22:25:00 +00:00
uz
d54a1ba3d2
Improved cbm_dir routines by Thomas Giesel.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 22:01:58 +00:00
ol.sc
01a11b2dd9
Added documentation on using GNU Make for building cc65 projects.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 21:55:51 +00:00
uz
7b847321a8
Move the version numbers from the interface of the version module into a new
...
implementation. Allow for release candidates to be specified and disinguished.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 20:10:01 +00:00
uz
3c6e8087f1
Improved Makefile by Greg King.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 19:22:02 +00:00
uz
e4d9fd3bd1
Fixed more bugs, shortened the code where possible.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 18:39:55 +00:00
uz
6c8fab8e51
Fixed two bugs, made the sources somewhat better readable.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 17:47:33 +00:00
uz
85f96a7d6f
Fixed warnings generated by clang (run by Per Olofsson).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 15:59:18 +00:00
uz
de7a7fe271
New version by Greg King.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 15:31:03 +00:00
uz
4e1faa0b01
Makefile simplification by Greg King
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 15:30:10 +00:00
uz
9329908927
Stefan Haubenthal fixed a few typos.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 07:29:56 +00:00
ol.sc
fd0fa0241e
Adjusted driver to the recent kernel interface change (code rearrange ment necessary to stay in 6502 branch reach).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 23:26:41 +00:00
ol.sc
72f1b11545
Made sure the bounding box coordinates stay in reasonable ranges.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 22:33:12 +00:00
uz
d55fb5217e
Changed the solution for the PLOT problem with old -02 kernals to that used
...
for the VIC20: PLOT is not an kernal entry but a library function that will
do the right stuff. This makes it work with other stuff that calls PLOT, too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 18:45:08 +00:00
uz
2cc68784cc
Make the watcom makefiles a bit more openwatcom compatible.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 18:40:00 +00:00
uz
5967b4845e
Let vsprintf call vsnprintf to save code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:18:06 +00:00
uz
067383eb6a
Added an untested implementation of snprintf.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:11:05 +00:00