1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-25 01:29:15 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
cuz
6288682343 Separated the emulation features in a module.
Add a new command line option --feature that allows to set emulation
features from the command line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:35:22 +00:00
cuz
f55d0ccee1 Added new .feature: pc_assignment
git-svn-id: svn://svn.cc65.org/cc65/trunk@310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:05:32 +00:00
cuz
5abb3954a6 Rewrote the input file management.
Added preliminary version of the dependency file creation.


git-svn-id: svn://svn.cc65.org/cc65/trunk@309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 19:20:32 +00:00
cuz
d62e48f14a Allow static initialization of collections
git-svn-id: svn://svn.cc65.org/cc65/trunk@308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 14:48:04 +00:00
cuz
0d7763cedb New long option: --start-addr
git-svn-id: svn://svn.cc65.org/cc65/trunk@307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-24 06:41:55 +00:00
cuz
8a79129caa Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 20:16:02 +00:00
cuz
a30ea446e8 Check for the presence of an argument if the option requires one.
git-svn-id: svn://svn.cc65.org/cc65/trunk@304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:18:03 +00:00
cuz
01bdac2907 Remove checks for an argument in the option handling functions, since the
check is done by the cmdline module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:16:16 +00:00
cuz
c3105a4e5d Change target handling, use modules from the common directory.
New long options: --config and --mapfile.


git-svn-id: svn://svn.cc65.org/cc65/trunk@302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:13:24 +00:00
cuz
e163b07d1b The checks if there is an argument are not needed since this is done by the
cmdline module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:09:44 +00:00
cuz
dacd2bb457 No need to check/set Target
git-svn-id: svn://svn.cc65.org/cc65/trunk@300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:36 +00:00
cuz
f871ab4ba6 Move target handling routines into the common directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:18 +00:00
cuz
7691c3cdcc Simplify target handling, use common modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:56:14 +00:00
cuz
0335765223 Move target handling and character set translation into the common directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:45:55 +00:00
cuz
5d504a0637 Move target type and character translation into the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-22 07:03:44 +00:00
cuz
c77d0dea94 Implement character set translation and different target systems
git-svn-id: svn://svn.cc65.org/cc65/trunk@295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:40 +00:00
cuz
6f4a92b259 Set the target system also for the assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:16 +00:00
cuz
1c14beb82d Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 19:12:43 +00:00
cuz
64dac7e7b7 Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 09:25:47 +00:00
cuz
7e59a882c5 Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 21:55:06 +00:00
cuz
66b40d1a84 Use more gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:54 +00:00
cuz
58e6c61a68 Added a module that implements dynamic arrays.
git-svn-id: svn://svn.cc65.org/cc65/trunk@288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:41 +00:00
cuz
2bcb747b58 Added first code for a parse tree implementation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-16 09:10:50 +00:00
cuz
25f5c69efa Reworked type comparison and handling of type qualifiers
git-svn-id: svn://svn.cc65.org/cc65/trunk@285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:18:26 +00:00
cuz
4f8a02e253 Added an os2 target
git-svn-id: svn://svn.cc65.org/cc65/trunk@281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:46 +00:00
cuz
614b50a9b0 Watcom make fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:26 +00:00
cuz
d8337840c1 Added watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:08 +00:00
cuz
ebed04f6b2 BIT encoding was wrong for the 65SC02 in immidiate addressing mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 20:15:44 +00:00
cuz
3b2f6679b5 Don't create code for a subtraction of zero
git-svn-id: svn://svn.cc65.org/cc65/trunk@267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 19:26:19 +00:00
cuz
679570ce45 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 11:02:06 +00:00
cuz
bb115c8ae2 Change the implementation of the file table. It may now grow to an arbitrary
size. It is also possible to search in the table by name, which will be
needed later to add line debug information.


git-svn-id: svn://svn.cc65.org/cc65/trunk@262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 14:12:36 +00:00
cuz
097a01094e Added a method to write variable sized unsigned values. Use this method for
all sorts of things in the object files. This does not only make the object
files smaller, but does also remove several limits (strings may be longer
than 255 bytes, several counters no longer have 8 or 16 bit limits).


git-svn-id: svn://svn.cc65.org/cc65/trunk@260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 13:23:06 +00:00
cuz
51543fddb0 Increased the file count to 16 bits when written to the object file.
Moved the input file table to a separate module and added an AddFile()
function to add files to this table.
Removed the 8 bit limit for the file number in several places (the file
number is still 8 bits in the file position structure).
Added a pseudo instruction .dbg that will be used to add debug info from
high level code to the assembler source.
Added a subkey "file" to the .dbg command that allows to add a file to the
file table that is later written to the object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 21:36:45 +00:00
cuz
6b3b938945 Filecount is now an u16
git-svn-id: svn://svn.cc65.org/cc65/trunk@257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 20:32:46 +00:00
cuz
929c6ab2af Remove the check.x modules since they are now in common/
git-svn-id: svn://svn.cc65.org/cc65/trunk@254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:11:36 +00:00
cuz
d171b3dac9 Check for const in function parameters (first level only).
Place local static const data into the RODATA segment.


git-svn-id: svn://svn.cc65.org/cc65/trunk@253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:05:24 +00:00
cuz
85417b6d1b Some changes in the way, types and type strings are handled.
Check for and honour const in several places: Assignment to const is flagged
with an error. Const data is placed in the rodata segment.


git-svn-id: svn://svn.cc65.org/cc65/trunk@252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 18:45:08 +00:00
cuz
5ee8618510 Use the CHECK macros from the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:17:43 +00:00
cuz
7e4a0ed5c6 Remove remaining stuff from the old CHECK macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:07:15 +00:00
cuz
887ce0c1d7 Use the CHECK macros from the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:05:48 +00:00
cuz
e133416d05 Moved the check module to the common dir.
Replaced the type constants by something more expandable.


git-svn-id: svn://svn.cc65.org/cc65/trunk@248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:04:35 +00:00
cuz
9e47a53bb7 Move the check module to common/
git-svn-id: svn://svn.cc65.org/cc65/trunk@247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:01:21 +00:00
cuz
89dccd5a23 Added dump of debug symbols and output of values for the exports, in those
cases where the export is a constant.


git-svn-id: svn://svn.cc65.org/cc65/trunk@246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:21:37 +00:00
cuz
b01c0adf49 Include file path changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:27:37 +00:00
cuz
a01a9429ba Renamed x65 to xo65
git-svn-id: svn://svn.cc65.org/cc65/trunk@242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:10:32 +00:00
cuz
80e1e6f673 Added --dump-all
git-svn-id: svn://svn.cc65.org/cc65/trunk@241 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:09:52 +00:00
cuz
3eabe5026f Added dump of exports and imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:02:44 +00:00
cuz
f91833caef Added dump of segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 19:51:33 +00:00
cuz
a63d35278c Added dump of the file list
git-svn-id: svn://svn.cc65.org/cc65/trunk@238 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 16:15:04 +00:00
cuz
697f6e1cfa Add dumping of options
git-svn-id: svn://svn.cc65.org/cc65/trunk@237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 14:25:30 +00:00