Commit Graph

4125 Commits

Author SHA1 Message Date
uz 41f7757204 Ignore unknown preprocessor directives in an #if group that is excluded.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4534 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-30 11:20:09 +00:00
uz 63c53b8021 P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4533 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-21 21:15:34 +00:00
uz 62669bcb73 P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-21 21:14:21 +00:00
ol.sc 651df0889c Minor comment adjustment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4531 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-19 13:09:57 +00:00
uz c6831e936a Added --forget-inc-paths to the assembler command line to avoid problems if
more than one version of ca65 is installed on the machine (Spiro Trikaliotis).


git-svn-id: svn://svn.cc65.org/cc65/trunk@4530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-18 11:58:50 +00:00
ol.sc 8ea7c876d6 Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:23:20 +00:00
ol.sc 10e810b623 Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:21:59 +00:00
ol.sc 5de9f6dfe5 Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4526 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:21:22 +00:00
ol.sc b94dfc9025 Added support for the Apple2 machines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:16:38 +00:00
ol.sc e1b8fb85dd Added missing declaration ?!?
git-svn-id: svn://svn.cc65.org/cc65/trunk@4524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 00:13:14 +00:00
ol.sc 4aa2b0c127 git-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81 2009-12-12 23:07:42 +00:00
ol.sc 4c1cd875ee Added ioctl for mixing graphics with 4 lines of text.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 23:07:21 +00:00
ol.sc fd82520622 Added ioctl for mixing graphics with 4 lines of text.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 23:06:58 +00:00
ol.sc 87ab0064f8 Fixed typos.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4519 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 22:44:50 +00:00
uz 36cf23680c MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
the interface more uniform between the driver APIs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-11 14:33:53 +00:00
uz 14030c0852 Added a missing "the".
git-svn-id: svn://svn.cc65.org/cc65/trunk@4517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:48:06 +00:00
uz 7ec8a5b6dc Added some definitions for version 1.3 of the o65 format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:44:27 +00:00
uz c7ff487d6b Cleaned BUGS list (which is rather old anyway).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:30:32 +00:00
uz 6bfa7fbaa2 Added some more detail to the "Binary format" section of the CBM docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:25:17 +00:00
uz 7e2a24176f Replaced $30 by literal '0' for better readability.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:12:24 +00:00
uz 13698871cb Removed the call to CLRCH in the startup code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 21:22:17 +00:00
ol.sc 6b148748a9 Replaced left-over tab with space.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4510 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-09 18:16:02 +00:00
ol.sc bc26bd5097 Fixed typo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-09 18:11:58 +00:00
uz 60bc009991 * Moved the BASIC stub that calls the compiled program into it's own segment
named EXEHDR.
* Renamed BASICHDR to EXEHDR for the PET-II machines.
* Moved the call to CHRCH in front of the code that saves the zero page, since
  open files are sometimes remembered in the zero page, so we need to close
  them before we grab a copy.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-09 12:42:24 +00:00
uz 1fae13274e An assignment for the ZPSAVE segment was missing in the linker config for the
32K memory config of the VIC20. Hint from Robert Hurst.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4505 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-08 20:41:43 +00:00
uz 7d94dc50a1 New option and #pragma --local-strings that causes string literals to be
output immediately.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-08 20:35:24 +00:00
cpg 2bca737f57 more space improvements by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-07 18:58:32 +00:00
uz a467095216 Relax header checking somewhat, so second source fonts are accepted.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-06 12:24:59 +00:00
uz 3976746735 Rewrote literal handling. Literals are now saved together with other function
data, and at the end of compilation merged if possible. Literals for unused
functions are removed together with the function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-05 22:39:45 +00:00
uz 9b7c16ec4c Fixed problem with last change. Wide string constants were not handled
correctly.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4500 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-05 15:14:11 +00:00
uz 50ff6d0768 Create one literal pool per function, so that literal pool data is removed
together with a function, if it is not used. Literal storage can now be
controlled by #pragma writable-strings on a per function basis.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-04 14:12:25 +00:00
uz 1f90ec93a0 Move global segment creation to a better place in source.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-04 13:04:40 +00:00
uz ff4eeebec2 Makefile patch contributed by Greg King:
I added the "MAKEOPTS=" to the top-level "gcc.mak" that he wants, and I
changed the tool source tree's top-level make-file so that it supports
parallel building.  (I added a rule that builds the common library before
building anything else.)


git-svn-id: svn://svn.cc65.org/cc65/trunk@4497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-02 15:21:22 +00:00
uz dc977737aa Patch contributed by Greg King:
1. Implements a real progress bar.
2. Decomposes the timer's result.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-02 15:15:49 +00:00
cpg e65719bf98 don't hardcode 'D' as device name, use __defdev
git-svn-id: svn://svn.cc65.org/cc65/trunk@4495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:47:14 +00:00
cpg 644d44bcae updated with defdev.c and scrcode.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@4494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:22:03 +00:00
cpg 38a061e439 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:19:35 +00:00
cpg 20e9cf6d85 remove check for ATEOL
git-svn-id: svn://svn.cc65.org/cc65/trunk@4492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 18:21:26 +00:00
cpg b0afb15402 save 2 bytes -- patch by Uz
git-svn-id: svn://svn.cc65.org/cc65/trunk@4491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 18:08:56 +00:00
cpg 001b557ff6 include unistd.h -- fix by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:59:55 +00:00
cpg 0b28cda7b0 put _revflag into .bss
git-svn-id: svn://svn.cc65.org/cc65/trunk@4489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:44:54 +00:00
cpg 94f7ce4978 fix comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@4488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:41:00 +00:00
cpg 7fb08aa749 move __do_oserror and __inviocb into their own source files
git-svn-id: svn://svn.cc65.org/cc65/trunk@4487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:35:21 +00:00
cpg 9b058add4a remove not longer needed import of __errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@4486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:08:24 +00:00
cpg daa41d41d6 remove not longer needed import of tmp2 and tmp3
git-svn-id: svn://svn.cc65.org/cc65/trunk@4485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:06:47 +00:00
cpg d17e0f7c02 space improvements by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:03:18 +00:00
uz ce931b85be In case of parse errors for structs, don't just set the type of the result to
"int", return a valid lvalue instead.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 23:02:58 +00:00
uz 3fb0c660dc Fix a problem with error handling: The E_HAVE_MARKS flag must not be removed
from an expression in case of an error.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 22:56:56 +00:00
uz 327c989d8b Support for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 20:04:27 +00:00
uz bfbf94404b Squeezed bytes and cycles out of the kbhit functions for almost all platforms.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 18:31:16 +00:00