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

2902 Commits

Author SHA1 Message Date
cuz
fa41731700 Replace a return value of 0 by 1 as expected by the C standard.
git-svn-id: svn://svn.cc65.org/cc65/trunk@189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 18:26:31 +00:00
cuz
1627af5de8 Replace strdup by an assembler implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-22 11:10:34 +00:00
cuz
8db1fa3aa0 Rewrite _hadd in assembler (a huge speedup!) and integrate it with free
for even faster code. The old _hadd function is now also written in
assembler but does only setup variables and calls the internal function
that is part of free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 21:36:06 +00:00
cuz
950a88d55e Replace malloc() by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 16:57:58 +00:00
cpg
02bbe5289b set default screen mode to 0
git-svn-id: svn://svn.cc65.org/cc65/trunk@177 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 09:20:09 +00:00
cpg
72294dc011 removed DIRECT_SCREEN define
git-svn-id: svn://svn.cc65.org/cc65/trunk@176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-21 08:26:44 +00:00
cuz
bb4f3c4475 Use macpack for debugging, cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-19 09:23:51 +00:00
cuz
e3a6f3b6e1 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 21:30:48 +00:00
cpg
badf78999f added PAL/NTSC check for 1200xl + XL/XE systems
git-svn-id: svn://svn.cc65.org/cc65/trunk@162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-17 00:30:01 +00:00
cuz
bc320797c6 Replaced free.c by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@158 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 22:09:58 +00:00
cuz
c6546592b6 newline is used elsewhere and must be exported
git-svn-id: svn://svn.cc65.org/cc65/trunk@157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:54:53 +00:00
cuz
f3605c162b Fixed a bug in LF handling for the CBM machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-16 20:24:10 +00:00
cpg
fed0a0a52d determines OS version
git-svn-id: svn://svn.cc65.org/cc65/trunk@146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:38:14 +00:00
cpg
49df1600cb ostype.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-10 23:14:14 +00:00
cpg
0c85406f52 replaced multiple lines of "rm" commands with a single "rm" line in the
clean target. on some rm lines the argument was empty which caused the
NetBSD rm command to complain...


git-svn-id: svn://svn.cc65.org/cc65/trunk@135 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-03 21:03:41 +00:00
cuz
a992dd05a0 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 13:17:26 +00:00
cpg
1d934b205f provides default value for __graphmode_used variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:50:43 +00:00
cpg
6f05785aa9 adapt reserved memory with _graphmode_used variable (user settable)
git-svn-id: svn://svn.cc65.org/cc65/trunk@124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:45:30 +00:00
cpg
4a27cbd9a7 graphuse.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:43:36 +00:00
cpg
695f260449 renamed fd_table, fd_index to __fd_table and __fd_index (C naming)
git-svn-id: svn://svn.cc65.org/cc65/trunk@122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 01:40:29 +00:00
cuz
9468b05231 Separated _maperrno and _errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:10:16 +00:00
cuz
48f1d0ad28 Fixed errno handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-24 09:02:08 +00:00
cpg
668c031c32 full-screen scroll routine (up and down)
git-svn-id: svn://svn.cc65.org/cc65/trunk@119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:10:25 +00:00
cpg
e51b5c8b59 multiply by 40 routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:06:37 +00:00
cpg
7b944cae11 use mul40 routine instead of doing the multiplication myself
git-svn-id: svn://svn.cc65.org/cc65/trunk@117 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:05:59 +00:00
cpg
70dbbb542f sroll.o, mul40.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@116 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 22:03:57 +00:00
cpg
7198329ce3 setcolor, getcolor and setcolor_low functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@93 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:42:26 +00:00
cpg
564eed1a2d setcolor.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@92 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 00:39:59 +00:00
cuz
ea2f5c1309 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@88 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-19 06:14:44 +00:00
cuz
a66cf46549 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@86 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-15 18:06:18 +00:00
cpg
3b63322f99 stupid: put local vars of newfd function into .bss instead of .data
git-svn-id: svn://svn.cc65.org/cc65/trunk@59 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 00:16:21 +00:00
cpg
af33f993e1 allocate local vars in .data, don't use the stack (we don't need to
be reentrant here :-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@55 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:21:30 +00:00
cuz
269ae9606d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@54 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 16:49:00 +00:00
cuz
c8193d6364 Remove/rename more code
git-svn-id: svn://svn.cc65.org/cc65/trunk@49 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:13:50 +00:00
cuz
78b07cc6f4 Renamed module, part of code no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:11:27 +00:00
cuz
61ca3a4abe Routines no longer used
git-svn-id: svn://svn.cc65.org/cc65/trunk@47 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:06:05 +00:00
cuz
6481395a94 Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@46 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:05:59 +00:00
cuz
66e7d9cd1b Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@45 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:54 +00:00
cuz
01b788b1fc Remove value test code (no longer needed)
git-svn-id: svn://svn.cc65.org/cc65/trunk@44 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:44 +00:00
cuz
4744e3602c Added the capability to search for the terminating zero of the given string.
Don't know what the standard says about it, but the feature seems reasonable
and other compilers handle it this way.


git-svn-id: svn://svn.cc65.org/cc65/trunk@42 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-09 12:07:53 +00:00
cuz
ca815af077 iscntrl was not mentioned in the Makefile and therefor not built.
Change the isxxx functions to correctly handle values outside of character
range.


git-svn-id: svn://svn.cc65.org/cc65/trunk@33 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:35:04 +00:00
cuz
874b728ecd Fixed cr/lf handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:02:13 +00:00
cpg
e8c6996e00 don't import newline
git-svn-id: svn://svn.cc65.org/cc65/trunk@28 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:32:12 +00:00
cpg
87fa3e147f fixed it and saved 1 byte
git-svn-id: svn://svn.cc65.org/cc65/trunk@27 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:10:45 +00:00
cpg
68cf78c01d adapted for atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@26 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 21:22:30 +00:00
cpg
ca35829405 first working version (with filenames at least, devices not tested yet)
git-svn-id: svn://svn.cc65.org/cc65/trunk@18 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:28:30 +00:00
cpg
d1d9ebe9e7 initialze stdin/stdout/stderr correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@17 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:21:40 +00:00
cpg
247c29f7a5 don't use INVFLG but our own variable to indicate revers - the
INVFLG is changed by the Atari key


git-svn-id: svn://svn.cc65.org/cc65/trunk@16 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:20:01 +00:00
cpg
285c097fdb fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@11 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:54:19 +00:00
cpg
5e3b46a37f first hack at newfd function: compiles but doesn't work yet
git-svn-id: svn://svn.cc65.org/cc65/trunk@10 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:53:09 +00:00
cpg
62d883157a added support for fd indirection
git-svn-id: svn://svn.cc65.org/cc65/trunk@9 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:51:06 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00