bfbe531f33New install script from Stefan Haubenthal that (among other things) sets CC65_HOME.
uz
2010-06-03 12:02:26 +00:00
710f59b654Align rootdir() return value rather with POSIX functions than with DIO functions.
ol.sc
2010-06-02 07:03:54 +00:00
2e0ab6f863Set _oserror only on error.
ol.sc
2010-06-01 21:01:59 +00:00
5b2de2d9f0Fixed several errors in the description of _poserror.
uz
2010-06-01 20:46:48 +00:00
125ab37c09Added relative include path handling: The path of an input file is now pushed onto the search path list, so include files will be searched relative to this path first.
uz
2010-05-30 13:31:09 +00:00
b942fd0b56Check for a size of zero in SB_CopyBuf to make the code somewhat faster.
uz
2010-05-29 21:23:34 +00:00
314893619aDon't ignore empty paths when adding the path of a file to the search path list.
uz
2010-05-29 21:20:48 +00:00
02f5b5499eChanged search path logic: Include files are now search first in the directory containing the file that had the #include statement. The path of the main file will also added to the front of the search path list, so includes will not be search in the current directory first, but in the directory that contains the main file.
uz
2010-05-28 12:00:12 +00:00
9a6f97cfe1PushSearchPath will add the path only if it's not already there.
uz
2010-05-28 11:56:01 +00:00
ebd679dd57New functions PushSearchPath and PopSearchPath.
uz
2010-05-28 11:22:44 +00:00
64b597017aFix the check for constant static local data, which was wrong when the data was an array. It should go into RODATA, not DATA.
uz
2010-05-27 19:47:13 +00:00
05b23194d9Added function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.
ol.sc
2010-05-26 21:02:35 +00:00
096cb9c0a8Added missing docs for predefined macros, sorted them alphabetically.
uz
2010-05-25 20:36:40 +00:00
7df459aefeAdded a(nother) link to the o65 binary format specification.
uz
2010-05-25 15:49:14 +00:00
1bbbed5e96Added functions to learn about the unit numbers of the ProDOS 8 devices found.
ol.sc
2010-05-24 20:10:19 +00:00
05f7296369Restructured search path handling.
uz
2010-05-09 10:54:15 +00:00
d95bb2e600New option --bin-include-dir which is passed to the assembler.
uz
2010-05-04 20:19:54 +00:00
d54ca88743Added a new option --dep-target to the compiler. This option allows to set the target in the generated dependency file. The cl65 utility will use this option to override the depdendency target, if actual object files are to be generated from C input. So the generated dependency will not have the intermediate .s file as target, but the final .o file, which allows to use the dependency files without further processing.
uz
2010-05-02 09:56:40 +00:00
e61bf7094cRestructured the code for better reada- and maintainability.
uz
2010-05-02 09:32:42 +00:00
84b1e343b5syschdir by Stefan Haubenthal
cpg
2010-05-01 22:33:25 +00:00
c24fc36d36Added a more detailed explanation of the --standard command line switch.
uz
2010-05-01 16:22:54 +00:00
0695f39611Added --create-dep and --create-full-dep to the cl65 utility.
uz
2010-05-01 14:47:09 +00:00
39108e20b5Rewrote the search path routines to use collections internally.
uz
2010-05-01 14:44:14 +00:00
3fd52eb57fAdded dependency file generation to the assembler. This includes two new options, --create-dep and --create-full-dep. The latter will include files that are passed via debug info to the assembler.
uz
2010-05-01 11:59:55 +00:00
96cf7f6271Changed generation of makefile dependencies: * There are now two options, --create-dep and --create-full-dep. One will add system includes, the other not. * Both options require a file name. This is an incompatible change(!) but has the advantage that the user is in control of extension and path of the generated file. * Output will always include a phony target for the input files. This may not work with all make programs.
uz
2010-05-01 09:42:12 +00:00
54740da820More preparations for an extension of the calling conventions.
uz
2010-04-29 20:30:49 +00:00
77bfcc1ff0Change the OptStackOps function so that it adjusts the instruction pointer after changing code. Without this correction, the insn pointer may be wrong after one of the subfunctions has changed code, which may cause a valid sequence not to be detected. This change (when proven good) may also go into 2.13.
uz
2010-04-25 21:51:59 +00:00
c63ecc8c28Added a paragraph about the order in which the command line is parsed.
uz
2010-04-23 18:34:52 +00:00
186657e5adSave some cycles.
ol.sc
2010-04-22 19:51:34 +00:00
2e6d218801Remember the type of the input file. This may be used later to create more variants of dependency files.
uz
2010-04-22 19:40:50 +00:00
bfd8f4e108Implemented new .PUSHCPU and .POPCPU commands.
uz
2010-04-18 18:47:16 +00:00
922cbf08ebAdded several functions to the intstack module.
uz
2010-04-18 18:40:59 +00:00
48c647b6bdAdded while loop inversion.
uz
2010-04-17 15:19:35 +00:00
32be81510aMinor corrections by Robert Hurst for use with RPMFusion.
uz
2010-04-16 19:37:59 +00:00
6b3e515573Reverted part of change 4108 that prevented an optimization step to find proper replacements. Some other rearrangements for slightly better code.
uz
2010-04-10 11:23:39 +00:00
4299e2db05Added the cdecl keyword
uz
2010-04-09 19:47:33 +00:00
ca9170cd20More strcmp inlining.
uz
2010-03-23 21:47:12 +00:00
8e26fef105Fixed the size of the RAM segment for the CBM610. The routine that does cross-bank calls is located at $FECB and the stack grows downwards from there.
uz
2010-03-23 19:40:48 +00:00
e4d63daff1Comment fix.
uz
2010-03-23 19:39:32 +00:00
e192edd021Inline some occurances of strcmp.
uz
2010-03-22 22:28:45 +00:00
3d06780f6dFor the CBM 510, the stack is not part of RAM. And, because of the cross-bacnk routine, it is smaller than the number used before.
uz
2010-03-21 21:39:44 +00:00
4b689107a4- No more HEAP segment - RAM reduced by __STACKSIZE__ - Unified formatting
ol.sc
2010-03-21 17:10:17 +00:00
0e60a60c3eFixed an optimizer problem.
uz
2010-03-21 14:08:46 +00:00
1a4e2ededeReenable compile time evaluation of strlen for string literals.
uz
2010-03-20 18:51:59 +00:00
15f95d7623Changed the size of available RAM so that the last used address is $7FFF.
uz
2010-03-20 18:08:27 +00:00
38b0dbde84Document the new linker config file string behaviour.
uz
2010-03-20 17:56:27 +00:00
7450c25404Allow escape sequences prefixed by '%' in strings. '%%' denotes a single percent sign, %O is the name of the output file.
uz
2010-03-20 17:48:15 +00:00
b759e753e4Changed the type of CfgSVal to a string buffer and removed the upper limit for the length.
uz
2010-03-20 17:23:51 +00:00
bf12833d12Added a paragraph about the new c64-dqbb.emd driver.
uz
2010-03-19 20:51:47 +00:00
09adce2fecAdded patches to make systime work correctly with the different video systems (Stefan Haubenthal).
uz
2010-03-19 20:46:56 +00:00
21c38fa7dbRemoved a forgotten ScrollSave variable (Stefan Haubenthal).
uz
2010-03-17 17:09:24 +00:00
af27ae6d79Fixed two issues with macros: * A newline between the macro name and the argument list of a function like macro was not accepted. * An unterminated macro argument list was not always detected.
uz
2010-03-14 17:46:02 +00:00
44852e317eShortened the code
uz
2010-03-08 18:40:55 +00:00
8663ae5975Fixed line endings I broke with recent change.
ol.sc
2010-03-07 21:00:42 +00:00
9656dde9e3Fix scrolling (again). The old code switched off scrolling completely, as a consequence it didn't work when write(FILENO_STDOUT, ...) was used. So we will have to disable scrolling on a per character basis in cputc.
uz
2010-03-07 13:37:58 +00:00
28736e9a17The C16 is not really a separate machine, but identical to the Plus/4, so the include file must just include the file for the Plus/4.
uz
2010-03-06 15:17:08 +00:00
38a1690968Replaced '=' by ':=' where applicable and moved the atmos specific assembler include into the asminc directory.
uz
2010-02-28 10:22:26 +00:00
207a8ea10dFixes for the pet-ptvjoy driver and a new standard joystick driver by Marco van den Heuvel. Cleanup and integration by me.
uz
2010-02-28 09:56:51 +00:00
a284d8ffebMoved the pet.inc file into the asminc subdirectory. Added definitions for the 6522 VIA and fixed the assignments for addresses to use ':=' instead of '='.
uz
2010-02-28 09:55:12 +00:00
4cf5b40849Removed pet.inc, since the real file is still in the pet directory and this one was added erronously.
uz
2010-02-28 09:53:04 +00:00
2469af49d7Added definitions for the 6522 VIA.
uz
2010-02-28 09:47:32 +00:00
8b6a40c04ePatch by Marco van den Heuvel that adds detection of GEOS 1.1 and the plus4 GEOS to the get_ostype function.
uz
2010-02-27 14:46:43 +00:00
5e065391fdAdded a new document that describes how to use the cc65 toolset with a currently unsupported hardware platform. Written and constributed by Bruce Reidenbach.
uz
2010-02-25 21:51:00 +00:00
b256d6fb46Made Olivers devnum patch (r4588) work with the PET-II models. On these machines, the program runs in a separate 64K bank, and zeropage variables need to be copied from the system bank into the execution bank to read by a simple load operation. The change is currently untested!
uz
2010-02-20 19:46:51 +00:00
9ef9396b71Added comment based on mailing list posting by Greg King.
ol.sc
2010-02-20 09:52:05 +00:00
2bd1f2f69fFixed a problem with a disabled cursor: Switching off the cursor using the kernal routine does not work, when the cursor is not at the same position where it was switched on, because when switching it on, the kernal remembers the character attribute and restores this when switching it off. So characters may get the wrong attribute. The solution is to always switch the cursor on, before switching it off.
uz
2010-02-18 20:31:50 +00:00
4bf888aa62Fixed a video problem: When switching the display, the SCROLL flag gets cleared, which in turn causes the display to scroll when a character is output in the lower right corner.
uz
2010-02-15 18:32:15 +00:00
5f18ddbec9Patches by Greg King to avoid crosstalk between mouse and keyboard.
uz
2010-02-15 17:52:41 +00:00
d1aad57b98Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors.
ol.sc
2010-02-14 23:12:54 +00:00
d4592d1a7cNew EMD driver for the Double Quick Brown Box cartridge, written and contributed by Marco van den Heuvel with quite some cleanup by me.
uz
2010-02-12 11:09:23 +00:00
49f6f3972bMake PIA upper case for orthogonality.
uz
2010-02-12 11:07:07 +00:00
6a712d8b9eMore driver cleanup.
uz
2010-02-12 10:46:57 +00:00
8bae793f48Use the .max function to calculate the backup space.
uz
2010-02-11 18:56:47 +00:00
61b69316c5Added builtin .min() and .max() pseudo functions to the assembler.
uz
2010-02-11 18:54:08 +00:00
c72cf88723Comment update.
uz
2010-02-04 22:29:57 +00:00
7d03059240Fixes for the ptvjoy drivers by Marco van den Heuvel.
uz
2010-02-04 21:02:00 +00:00
e65f966d25Added DTV detection code by Marco van den Heuvel.
uz
2010-02-04 20:27:48 +00:00
aa6a507991Some more improvements (untested).
uz
2010-02-04 20:08:50 +00:00
b93a0b0511Added doc for the isepic extended memory driver.
uz
2010-02-04 19:21:18 +00:00
37fbe08df2New extended memory driver for the C256K memory extension. Written and contributed by Marco van den Heuvel with several changes by me.
uz
2010-02-04 19:19:17 +00:00
074cd57d84Doc update for the georam emd driver.
uz
2010-02-04 19:15:18 +00:00
44bb5c62e6Moved the extended RAM driver to c128-ram2.emd and restored the old one. Machines with RAM in pages 2+3 are quite rare, so it's better to have the additional code+features in a separate driver.
uz
2010-02-04 18:28:56 +00:00
4e18dad55aNew EMD driver for the ISEPIC cartridge written and contributed by Marco van den Heuvel with some cleanup by me.
uz
2010-02-02 18:32:34 +00:00
31819685afFixes for joysticks 3+4 in the ptv joystick driver. Contributed by Marco van den Heuvel.
uz
2010-02-02 17:05:18 +00:00
972c3fd7caAdd MMU config registers 2+3 (Marco van den Heuvel).
uz
2010-02-02 08:19:19 +00:00
9d440c0102Added new return code for get_ostype().
uz
2010-02-01 18:04:31 +00:00
7d731dce02Marco van den Heuvel contributed code to detect a C64 DTV.
uz
2010-02-01 18:04:14 +00:00
1524b0c13fAdded code to the driver to use also banks 2 and 3 if present. Contributed by Marco van den Heuvel.
uz
2010-02-01 17:56:37 +00:00
6c2fb80084Added size checking code contributed by Marco van den Heuvel.
uz
2010-02-01 07:20:06 +00:00
cf4d3d0a16No need to save the Y register in INSTALL.
uz
2010-02-01 07:19:47 +00:00
3bf4afae50Added size checking code contributed by Marco van den Heuvel.
uz
2010-02-01 07:15:41 +00:00
80b1dddb7fAdded size checking routine contributed by Marco van den Heuvel.
uz
2010-02-01 07:07:24 +00:00
5477e62e3aFixed open mode for second try in DoIncBin (Greg King).
uz
2010-01-31 20:49:40 +00:00
b02cc40bc0Fixed a copy&paste error.
uz
2010-01-31 11:10:45 +00:00
e5c0077b88Added explicit tgi_clear() after tgi_init() now that this isn't done by tgi_init() anymore.
ol.sc
2010-01-26 20:12:35 +00:00
cbd2ffdf29Fixed formatting (broken due to wrong tab settings).
ol.sc
2010-01-26 20:04:51 +00:00
6d89093d4bRemoved the call to tgi_clear from tgi_init, so the screen is not automatically cleared.
uz
2010-01-26 16:51:03 +00:00
79820fe4ecAdded a separate include search path for binary includes. These aren't searched any longer in the standard include path.
uz
2010-01-25 20:33:01 +00:00