1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-14 16:33:00 +00:00

168 Commits

Author SHA1 Message Date
cuz
c05f6064a4 Add an include file
git-svn-id: svn://svn.cc65.org/cc65/trunk@331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 14:54:15 +00:00
cuz
1b4039be3b Initialize translation tables
git-svn-id: svn://svn.cc65.org/cc65/trunk@327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:26:13 +00:00
cuz
2ff9f2fc1d Export/rename init function
git-svn-id: svn://svn.cc65.org/cc65/trunk@326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:24:14 +00:00
cuz
5126ae8f4c Fix the atari config
git-svn-id: svn://svn.cc65.org/cc65/trunk@324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:56 +00:00
cuz
b36de422ec Use a separate ZEROPAGE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:32 +00:00
cuz
5446245eb4 Comment changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:32:54 +00:00
cuz
34651d3518 Fixed the help text
git-svn-id: svn://svn.cc65.org/cc65/trunk@318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:06:04 +00:00
cuz
56df2ea164 Added -l and --listing options.
git-svn-id: svn://svn.cc65.org/cc65/trunk@317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:05:10 +00:00
cuz
d27cd62465 Added new emulation feature: loose_char_term
git-svn-id: svn://svn.cc65.org/cc65/trunk@316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:01:40 +00:00
cuz
a41de0ea3f Added .a65 as an assembler extension
git-svn-id: svn://svn.cc65.org/cc65/trunk@315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:52:14 +00:00
cuz
8198af9844 Added CollLast
git-svn-id: svn://svn.cc65.org/cc65/trunk@314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:47:08 +00:00
cuz
6bf763ff08 Added the --feature option
git-svn-id: svn://svn.cc65.org/cc65/trunk@312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:42:44 +00:00
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