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

1188 Commits

Author SHA1 Message Date
cuz
bf42f56500 Fixed zero page segment size
git-svn-id: svn://svn.cc65.org/cc65/trunk@1306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-15 11:25:10 +00:00
cuz
a1fa833da3 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-14 13:13:27 +00:00
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
izydorst
fc3d55d196 put segment keywords so bss, data and rodata are used for storage
git-svn-id: svn://svn.cc65.org/cc65/trunk@1301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 22:49:09 +00:00
izydorst
593797f9eb fixed LoadW for doing 16-bit offsets loads, not only constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 11:20:29 +00:00
cuz
8d8ec57003 Added atmos.h from Jede
git-svn-id: svn://svn.cc65.org/cc65/trunk@1299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 07:03:38 +00:00
cuz
dbf942a339 Added Debrune Jérôme
git-svn-id: svn://svn.cc65.org/cc65/trunk@1298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-03 20:34:44 +00:00
cuz
eb568293d7 Added support for the Oric atmos (with some help by Debrune Jérôme
<jede@oric.org>)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-03 20:23:15 +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
0e76f703c9 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-31 10:07:58 +00:00
cpg
86f74d96ab added ICAX3, ICAX4, ICAX5
git-svn-id: svn://svn.cc65.org/cc65/trunk@1294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-30 12:48:58 +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
33c1e82bda Move zp space out of crt0.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 09:09:10 +00:00
cuz
3aadd7f62b Combine the existing include files, move zp space out of crt0.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 09:08:52 +00:00
cuz
9556117f0f zpspace cannot be an external symbol
git-svn-id: svn://svn.cc65.org/cc65/trunk@1289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:32:47 +00:00
cuz
a1a147ee08 Added module with zero page locations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 08:29:31 +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
cpg
f1625eb89d initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@1285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-23 21:58:36 +00:00
cpg
52bc49952f implementation which supports SpartaDOS format disks on SpartaDOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1284 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-23 21:29:55 +00:00
cpg
094231be21 updated comment about fdtoiocb return values
git-svn-id: svn://svn.cc65.org/cc65/trunk@1283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-23 21:26:25 +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
25c317dcc3 New o65 defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:38:30 +00:00
cuz
9364b206ab Added check/support for simple addressing format.
Check the operating system option and return the module id to the caller.
Use bzero instead of memset.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:38:01 +00:00
cuz
009df2d6b5 New entry points for bzero and _bzero
git-svn-id: svn://svn.cc65.org/cc65/trunk@1277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:18:45 +00:00
cuz
4cb4751164 New o65 defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:52 +00:00
cuz
b44f593ac3 Added bzero, _bzero
git-svn-id: svn://svn.cc65.org/cc65/trunk@1275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:40 +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
cpg
5c2e2e5a96 support append mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:28:07 +00:00
cpg
e79d285671 amode_to_bmode fixes: support "a", be more restrictive about the position
of the char (r, w, and a must appear as the first char only)


git-svn-id: svn://svn.cc65.org/cc65/trunk@1271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:25:48 +00:00
cpg
f25f2196dd fixed O_CREAT, O_TRUNC, O_APPEND to match the C headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@1270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 15:14:04 +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
231fed08f2 mod_ctrl struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:47:11 +00:00
cuz
5c4205b284 Struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:46:49 +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
6bdf186607 Streamlined the code, add zero page relocations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-23 19:51:45 +00:00
cuz
5d567426cb Removed duplicate defs
git-svn-id: svn://svn.cc65.org/cc65/trunk@1256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-23 19:51:25 +00:00
cuz
04834a5cea Start to describe the FILES and FORMAT sections
git-svn-id: svn://svn.cc65.org/cc65/trunk@1255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 20:12:06 +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