1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
Commit Graph

450 Commits

Author SHA1 Message Date
cuz
2f65b8f5c6 Remove #pragmas to switch to the RODATA segment since the compiler will do
this now without help.


git-svn-id: svn://svn.cc65.org/cc65/trunk@263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:45:31 +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
85d8b3badf Minor changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 07:41:56 +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
ac8e170215 Replaced the cl65 docs by an sgml version
git-svn-id: svn://svn.cc65.org/cc65/trunk@256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:57:01 +00:00
cuz
8495034385 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:56:36 +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
f1453ff273 Changes from Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:04:21 +00:00
cuz
150db59a80 Update by Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 21:49:20 +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
cuz
2e3b545bdb Move store out of region with interrupts disabled to improve interrupt
latency.


git-svn-id: svn://svn.cc65.org/cc65/trunk@236 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:30:58 +00:00
cuz
dcb557517e Bug fixes from Maciej and Dirk
git-svn-id: svn://svn.cc65.org/cc65/trunk@235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:28:54 +00:00
cuz
47d9d11fc9 Doc fixes from Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@234 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:26:50 +00:00
cuz
4e6faabc21 File no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:24:28 +00:00
cuz
8dbc44fed4 Better handling of missing flags and wrong files
git-svn-id: svn://svn.cc65.org/cc65/trunk@232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:39:39 +00:00
cuz
7158553772 Added the od65 directory
git-svn-id: svn://svn.cc65.org/cc65/trunk@231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:35:34 +00:00
cuz
8f320c4ab4 First rudimentary version - can dump xo65 headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:34:15 +00:00
cuz
a20f4dd8c8 Fixed two typos
git-svn-id: svn://svn.cc65.org/cc65/trunk@229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:45:12 +00:00
cpg
a08257b851 added standard copyright header
git-svn-id: svn://svn.cc65.org/cc65/trunk@228 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:41:06 +00:00
cpg
7fa0e2e8ee some small fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:25:43 +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
b40d409c4f Output an error message when trying to determine the size of type void.
git-svn-id: svn://svn.cc65.org/cc65/trunk@224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:07:04 +00:00
cuz
c0f16c531b Check segment in in #pragma for validity
git-svn-id: svn://svn.cc65.org/cc65/trunk@223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:03:29 +00:00
cuz
9d85d084d0 Moved segment name handling into a separate module.
New compiler options to set the default segment names from the command line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 11:49:34 +00:00
cuz
28c25a9bdb Added new assembler commands
git-svn-id: svn://svn.cc65.org/cc65/trunk@221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:57:09 +00:00
cuz
9fa11093eb Added a watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:51 +00:00
cuz
b933cd1ee3 Added a DOS target
git-svn-id: svn://svn.cc65.org/cc65/trunk@219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:21 +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
07ce8ae322 Add the common library
git-svn-id: svn://svn.cc65.org/cc65/trunk@217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:06:08 +00:00
cuz
f05e1ccc5f Added the io module
git-svn-id: svn://svn.cc65.org/cc65/trunk@216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:05:43 +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
77e8bffa81 Use gcc function attributes, fix several format related problems
git-svn-id: svn://svn.cc65.org/cc65/trunk@214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:08:52 +00:00
cuz
ef579c4015 More attribute use
git-svn-id: svn://svn.cc65.org/cc65/trunk@213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:07:01 +00:00