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

63 Commits

Author SHA1 Message Date
cuz
3ef00e7d2a The .defined function (and .ifdef/.ifndef) flagged an imported symbol as
"defined". I'm not sure whichever is correct, but I changed it now and
will introduce an additional function .isimport if necessary.


git-svn-id: svn://svn.cc65.org/cc65/trunk@721 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-08 17:56:39 +00:00
cuz
abb1362389 Fixed a bug with the .incbin command
git-svn-id: svn://svn.cc65.org/cc65/trunk@697 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-30 15:42:52 +00:00
cuz
45cf0c2dd9 Changed TgtTranslateBuf
git-svn-id: svn://svn.cc65.org/cc65/trunk@649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 17:56:28 +00:00
cuz
857a362e78 Partially fixed a bug with the long addressing modes that was introduced
with a change in the scanner and went undetected since then. Use of symbols
as lower part of the address does still not work.


git-svn-id: svn://svn.cc65.org/cc65/trunk@632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:02:38 +00:00
cuz
b86a6b9749 Some more debuginfo implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@626 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-18 17:55:36 +00:00
cuz
1eff067ff9 Moved verbose output to a shared module in the common/ directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 10:21:03 +00:00
cuz
27a55ba085 Added optional start and count arguments to .INCBIN
git-svn-id: svn://svn.cc65.org/cc65/trunk@617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 23:12:34 +00:00
cuz
697abf3ed7 Added command line response files
git-svn-id: svn://svn.cc65.org/cc65/trunk@616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 21:59:23 +00:00
cuz
8add1ad057 Use chartype.h instead of ctype.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:24:47 +00:00
cuz
1bb9d0fa70 Changed the makefiles to work under OS/2 using EMX (Changes from
Mirco Miranda).


git-svn-id: svn://svn.cc65.org/cc65/trunk@590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 16:59:41 +00:00
cuz
77ec52a06d OS/2 EMX fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-03 20:49:07 +00:00
cuz
a5d8a5a94f Translate chars returned by .strat into the target charset
git-svn-id: svn://svn.cc65.org/cc65/trunk@509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:37:41 +00:00
cuz
81249b8d92 Fix detection of byte sized expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:04:07 +00:00
cuz
2df60e5033 Use the new TgtTranslateBuf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:22:06 +00:00
cuz
0adf3945b7 Implementation for the .IFPxx commands was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 20:55:12 +00:00
cuz
0beeda5852 Debugging the condes support
git-svn-id: svn://svn.cc65.org/cc65/trunk@461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:59:11 +00:00
cuz
b9970cb7da Working on the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 15:22:57 +00:00
cuz
0dce6a79b6 Removed underlines from struct names
git-svn-id: svn://svn.cc65.org/cc65/trunk@431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 22:11:48 +00:00
cuz
db656c5e38 Added missing params to Error function
git-svn-id: svn://svn.cc65.org/cc65/trunk@424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 19:12:27 +00:00
cuz
72e32b332b Working on initializers
git-svn-id: svn://svn.cc65.org/cc65/trunk@411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 20:48:11 +00:00
cuz
99c9f4fe4e Renamed EXP_INITIALIZER
git-svn-id: svn://svn.cc65.org/cc65/trunk@409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:52:22 +00:00
cuz
c4778045f9 Add initializer bit in debug syms
git-svn-id: svn://svn.cc65.org/cc65/trunk@407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:33:04 +00:00
cuz
9977ddd973 Add initializer
git-svn-id: svn://svn.cc65.org/cc65/trunk@406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:30:26 +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
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
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
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
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
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
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
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
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
f9b58c50dd Add common dir in more search paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 16:01:54 +00:00
cuz
0a57d32509 Renamed several expression ops and added others.
Placed the DumpExpr function into the common directory, since it is
used by the assembler and linker.


git-svn-id: svn://svn.cc65.org/cc65/trunk@225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 15:53:33 +00:00
cuz
9200dbb247 Add the include dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:11:59 +00:00
cuz
44a11218e1 Added .REPEAT pseudo instruction
git-svn-id: svn://svn.cc65.org/cc65/trunk@215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 12:15:40 +00:00
cuz
3c5ae1b3c4 Added .WARNING
git-svn-id: svn://svn.cc65.org/cc65/trunk@204 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 18:47:57 +00:00
cuz
8972f1db97 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:38:36 +00:00
cuz
2311661a0e Fixed a bug in the .ERROR directive
git-svn-id: svn://svn.cc65.org/cc65/trunk@202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:38:22 +00:00
cuz
1c715a5ee3 Added ERR_EXPECTED_EOF
git-svn-id: svn://svn.cc65.org/cc65/trunk@201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:37:53 +00:00
cuz
62abe29353 Added string handling functions: .STRLEN and .STRAT
git-svn-id: svn://svn.cc65.org/cc65/trunk@199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 21:32:11 +00:00
cuz
5ee142c7c2 Bumped the .IF nesting to 256
git-svn-id: svn://svn.cc65.org/cc65/trunk@198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 21:31:54 +00:00
cuz
a7e0a65131 Fixed a problem with the add and sub macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@172 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-19 09:24:12 +00:00
cuz
110b322903 Fix some gcc warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 22:32:50 +00:00
cuz
359a89d0bf Added the .TCOUNT function
git-svn-id: svn://svn.cc65.org/cc65/trunk@151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 10:33:32 +00:00
cuz
0e460243fd Fix macro output in the listing
git-svn-id: svn://svn.cc65.org/cc65/trunk@141 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-09 13:19:25 +00:00
cuz
3f4da40d6d Added -h option
git-svn-id: svn://svn.cc65.org/cc65/trunk@137 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-08 21:01:02 +00:00