1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
Commit Graph

619 Commits

Author SHA1 Message Date
cuz
a96da498f5 Renamed the functions working with "struct Function".
Fixed a problem with K&R functions: In a function with no return type
specified, the compiler did not allow a simple "return" statement. However,
there was no "void" type at that time, so it was not possible to specify
something else. The solution is to allow omission of a return value in a
K&R function with an implicit int type. Other types or an explicit int is
still checked.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-12 12:12:04 +00:00
cuz
606ecafccd New target: oric atmos
git-svn-id: svn://svn.cc65.org/cc65/trunk@1296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-03 20:14:11 +00:00
cuz
ec0c01728d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-27 09:57:50 +00:00
cuz
21afe25e90 Indirect fastcall functions with no parameters may be called as if it were
cdecl functions, this generates better code.
Remove a small error that caused indirect non fastcall function to always be
handled as variadic, which meant a useless load of the Y register was added.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 11:08:17 +00:00
cuz
ec8ccd24a7 Fixed zero page handling for o65 modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@1287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-25 15:58:00 +00:00
cuz
effacc8d8b Fix o65 zeropage handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@1286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-25 15:52:05 +00:00
cuz
67ebea8efa Renamed spawn.c -> spawn-unix.c
Added spawn-amiga.c


git-svn-id: svn://svn.cc65.org/cc65/trunk@1282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-22 08:30:06 +00:00
cuz
93813611e5 Added JUMPTABLE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:39:50 +00:00
cuz
b0ceece52a Fixed a bug (offset was not correct if more than one module was used).
Added support for the new simple o65 addressing format.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:39:35 +00:00
cuz
3292569a89 One less bug in sizeof ("ABC").
git-svn-id: svn://svn.cc65.org/cc65/trunk@1274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 17:05:36 +00:00
cuz
badef3c8e5 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-02 12:46:03 +00:00
cuz
6ff2aeb8df Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@1268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-26 11:09:28 +00:00
cuz
17503f9030 More changes for module support
git-svn-id: svn://svn.cc65.org/cc65/trunk@1267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 20:06:04 +00:00
cuz
6e32cf4b11 Add support for a module id
git-svn-id: svn://svn.cc65.org/cc65/trunk@1266 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 18:11:05 +00:00
cuz
1e0b7c15ad Added support for modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@1265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 18:03:17 +00:00
cuz
0ac54f6f22 Add the 'module' target
git-svn-id: svn://svn.cc65.org/cc65/trunk@1264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 05:21:03 +00:00
cuz
dab745e4b1 New target 'module'
git-svn-id: svn://svn.cc65.org/cc65/trunk@1263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 05:14:14 +00:00
cuz
563a3b3579 Add new target 'module'
git-svn-id: svn://svn.cc65.org/cc65/trunk@1262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 05:08:51 +00:00
cuz
0041c3c8ac Added configuration for cc65 modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@1261 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-25 05:07:12 +00:00
cuz
2a921c4498 Export start and size of the ZP memory area
git-svn-id: svn://svn.cc65.org/cc65/trunk@1258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-23 20:11:36 +00:00
cuz
3f9e7b56ae Support additional o65 attributes.
Add a special ID for the cc65 operating system that is written to the OS
field of the options header.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 20:00:04 +00:00
cuz
1c3e74a148 Add new o65 operating system
git-svn-id: svn://svn.cc65.org/cc65/trunk@1253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:30:40 +00:00
cuz
0a68498252 Use cc65 character classification routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-20 11:49:53 +00:00
cuz
99de22ffe2 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-17 18:52:03 +00:00
cuz
3dcb7dba3b Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-14 19:14:52 +00:00
cuz
c285fe7788 Fixed a message output
git-svn-id: svn://svn.cc65.org/cc65/trunk@1236 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-09 19:04:11 +00:00
cuz
040475613e Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@1235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-09 19:00:57 +00:00
cuz
8701a2c8d5 Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1234 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 20:05:05 +00:00
cuz
3f503a78e5 New pattern matching module matchpat.[ch]
git-svn-id: svn://svn.cc65.org/cc65/trunk@1233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 19:55:12 +00:00
cuz
19aa50b7b9 Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@1231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 19:08:27 +00:00
cuz
09f288e43d Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 18:52:47 +00:00
cuz
a8698b30e8 Remove duplicate line feed
git-svn-id: svn://svn.cc65.org/cc65/trunk@1229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 18:42:44 +00:00
cuz
bcec4ba223 Add --config option to usage
git-svn-id: svn://svn.cc65.org/cc65/trunk@1227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 18:39:51 +00:00
cuz
3bf4a3a735 Cosmetic change
git-svn-id: svn://svn.cc65.org/cc65/trunk@1226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 18:35:58 +00:00
cuz
e0d9f2817e Cosmetic change
git-svn-id: svn://svn.cc65.org/cc65/trunk@1225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-08 18:31:25 +00:00
cuz
569c0f451f New plugin stdio
git-svn-id: svn://svn.cc65.org/cc65/trunk@1224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-07 20:52:04 +00:00
cuz
77308fe20f Working on the plugins
git-svn-id: svn://svn.cc65.org/cc65/trunk@1223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-07 20:39:35 +00:00
cuz
58b5779f35 Working on the plugins
git-svn-id: svn://svn.cc65.org/cc65/trunk@1222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-07 20:00:39 +00:00
cuz
6c3720686b First test plugin
git-svn-id: svn://svn.cc65.org/cc65/trunk@1221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-07 13:42:45 +00:00
cuz
9abe1e62e7 Working on the plugin interface
git-svn-id: svn://svn.cc65.org/cc65/trunk@1220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 22:11:09 +00:00
cuz
4a4e24623b Add info about the boolxx functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 15:06:03 +00:00
cuz
c6fe12ef6b Fixed a code generation bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 14:51:27 +00:00
cuz
2a7a410532 Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-01 17:55:22 +00:00
cuz
d17936488c Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-01 17:42:24 +00:00
cuz
7b89ebcecb Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-31 20:46:53 +00:00
cuz
56caf8f80d Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-30 22:04:40 +00:00
cuz
febf56a10b First import
git-svn-id: svn://svn.cc65.org/cc65/trunk@1209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-30 16:43:27 +00:00
cuz
a07e05beb8 Include name of errorneous symbol in error message
git-svn-id: svn://svn.cc65.org/cc65/trunk@1203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:04:24 +00:00
cuz
83e73742c8 Prepare for separate ASM name in symbol table entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@1202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-18 20:04:03 +00:00
cuz
5bdb19f63c Attribute work
git-svn-id: svn://svn.cc65.org/cc65/trunk@1201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-18 06:05:04 +00:00