1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-14 20:05:05 +00:00
Commit Graph

287 Commits

Author SHA1 Message Date
cuz
975eefc7c2 Added a dummy system() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 18:23:38 +00:00
cuz
32389dc678 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:19:48 +00:00
cuz
ebb44b8a4f Another small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:07:14 +00:00
cuz
62dbbcc4b6 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:05:22 +00:00
cuz
cfe7a8c246 Another small improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:27:20 +00:00
cuz
c0ca2e2a62 Improved strncpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:21:13 +00:00
cuz
c09ecf0efd Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-03 08:49:51 +00:00
cuz
55d0596aba Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 16:01:03 +00:00
cuz
254f8a9cd6 Added _poserror, made perror __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-24 20:55:55 +00:00
cuz
2cad9e701b Fix problem with signal.o/raise.o/sigtab.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 11:12:38 +00:00
cuz
722581ecee Reset signal handler to SIG_DFL on a call to raise()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:08:35 +00:00
cuz
c556f14e66 Add signal() and raise()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2017 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:58 +00:00
cuz
a39db251a2 Make fputs __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:47 +00:00
cuz
06c1fafdcd Raise SIGABRT
git-svn-id: svn://svn.cc65.org/cc65/trunk@2015 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:31 +00:00
cuz
fff5fe59e6 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1976 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-12 19:56:00 +00:00
cuz
0b04a2e823 Use new o65 definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1935 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-07 11:03:30 +00:00
cuz
a8810a464d Make sure the zap target is available
git-svn-id: svn://svn.cc65.org/cc65/trunk@1932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 15:35:30 +00:00
cuz
cecd88d36b Moved conio related files from common/ to conio/
git-svn-id: svn://svn.cc65.org/cc65/trunk@1916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 21:49:55 +00:00
cuz
581c12ce40 Move _heap.h to the compiler include dir.
Create heap.inc and use that from the assembler code.
Rename heap related _h... variables to _heap...
Add _heapmaxavail and _heapmemavail functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:22:09 +00:00
cuz
8012074ea0 Renamed _hadd to _heapadd
git-svn-id: svn://svn.cc65.org/cc65/trunk@1911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 10:20:35 +00:00
cuz
80a5fe182a Keep unknown flag bits, restore known flags on exit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1901 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-15 17:19:12 +00:00
cuz
fb81235769 Fix comments and remove whitespace from __asm__ macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@1895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 11:34:23 +00:00
cuz
91e960f391 Removed closeallstreams
git-svn-id: svn://svn.cc65.org/cc65/trunk@1874 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-03 07:58:25 +00:00
cuz
3b4112ae0c Somewhat shorter code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1858 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:30:09 +00:00
cuz
b1f8ab7810 Fixed an error: The final linefeed got removed
git-svn-id: svn://svn.cc65.org/cc65/trunk@1857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:19:37 +00:00
cuz
82a0184c26 Use callay instead of jmpvec
git-svn-id: svn://svn.cc65.org/cc65/trunk@1850 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-26 16:00:35 +00:00
izydorst
df88fc0a8a 65c02 optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-25 03:24:09 +00:00
cuz
ebba65b0b3 Make read and write __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:31:06 +00:00
cuz
6ad3b3078f Close all open files on exit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 21:44:58 +00:00
cuz
ab9eb876b9 Change constructor priority
git-svn-id: svn://svn.cc65.org/cc65/trunk@1705 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 20:01:43 +00:00
cuz
0edf53fd2f Use the constants from _file.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1650 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 21:59:35 +00:00
cuz
12a1f1afd4 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1623 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 19:17:16 +00:00
cuz
5d0ebf8b96 Rewrote fclose() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1621 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 19:13:38 +00:00
cuz
8070250984 Rewrote fread in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:05:00 +00:00
cuz
40a53d37e2 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:04:50 +00:00
cuz
79396d8acd Rewrote fwrite in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1614 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 22:51:25 +00:00
cuz
6195f87f6a Rewrote fopen in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 18:46:40 +00:00
cuz
6f198ae131 Rewrote _fopen in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@1607 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 17:52:38 +00:00
cuz
d7a5fbeb1a Removed __cdiff. Since the assembler does character set translation for
some time now, it is no longer needed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:53:46 +00:00
cuz
fc714f33c2 Removed comment about a cast that is no longer necessary
git-svn-id: svn://svn.cc65.org/cc65/trunk@1564 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:29:15 +00:00
cuz
9c7d2191aa New calling conventions for read
git-svn-id: svn://svn.cc65.org/cc65/trunk@1548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:21:10 +00:00
cuz
3b081086f3 Fixed open flags for append mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-19 14:35:07 +00:00
cuz
3a95ae002b Fixed a bug: Because of a wrong label position the code that cleared the
BSS was skipped.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1540 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-18 18:54:36 +00:00
cuz
a3c8336725 Fix open flags, minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1526 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 23:52:39 +00:00
cuz
1407208c4c Fixed %W/%U
git-svn-id: svn://svn.cc65.org/cc65/trunk@1517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 18:08:36 +00:00
cuz
521f30c011 Call strftime instead of formatting the time manually
git-svn-id: svn://svn.cc65.org/cc65/trunk@1515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:28:45 +00:00
cuz
3ed8d565d4 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:26:05 +00:00
cuz
1455555c57 Fixed precision bug in printf family
git-svn-id: svn://svn.cc65.org/cc65/trunk@1513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:17:28 +00:00
cuz
5dba474030 Added strftime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:08:46 +00:00
cuz
e7db3d83ea Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 08:56:45 +00:00
cuz
de7bb15dee Call _systime instead of always returning -1
git-svn-id: svn://svn.cc65.org/cc65/trunk@1509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:36:02 +00:00
cuz
43d8ecd567 Added lots of functions from time.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:06:02 +00:00
cuz
35aaf34e20 Add the time() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 19:54:30 +00:00
cuz
bafba1d673 Handle arguments outside char range correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@1501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-11 11:58:20 +00:00
cuz
abec29c613 Make realloc a __fastcall__ function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:21:14 +00:00
cuz
839b425890 Change initial seed to 1
git-svn-id: svn://svn.cc65.org/cc65/trunk@1488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 13:19:43 +00:00
cuz
2275e4c2a8 Moved divt.s from runtime into common because it's a C library function, not a
runtime support function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-02 10:52:36 +00:00
cuz
89fe03a728 Fixed a problem with perror: The error code may get overwritten before it
can be output. Report from Greg King.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-18 13:38:23 +00:00
cuz
c2b550abf9 vsscanf is a C file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:47:22 +00:00
cuz
2a8e2d422c Reverse the last change, brain error :-(
git-svn-id: svn://svn.cc65.org/cc65/trunk@1374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 07:44:51 +00:00
cuz
58ef7c8df5 Reintroduce a patch for a bug that has been lost between version 1.2 and 1.3
of the vsprintf module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 07:31:13 +00:00
cuz
fcd582e3cb Added _stroserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@1365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-18 13:29:04 +00:00
cuz
87fa3fbdaa Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1358 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 09:41:00 +00:00
cuz
d4e71bfb59 Removed a JMP (ind)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 09:40:45 +00:00
cuz
84cb41f625 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1328 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-23 14:02:09 +00:00
cuz
0ee967fe17 Changed function prototype
git-svn-id: svn://svn.cc65.org/cc65/trunk@1316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 16:26:15 +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
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
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
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
0e4eef1f0f New files for loading modules at runtime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:29:30 +00:00
cuz
d0599a24fe Move include files into /asminc, changed include file paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@1249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:19:16 +00:00
cuz
7d11fa012c Straighten checking of the initialized flag in both, the C64 and C128
versions of rs232.s.
New include file common/rs232.inc, use the constants from this file instead
of defining them separately in each platform specific rs232 module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-25 06:06:52 +00:00
cuz
6e37905b18 Completed _scanf.c, added vsscanf.c, rewrote sscanf.c.
Added an assembler include _file.inc and changed asm code that uses struct
FILE to be independent of its size.
Fixed return codes in several files to use EOF instead of -1.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:26:18 +00:00
cuz
d4cb713197 Fix return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1204 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:23:59 +00:00
cuz
d036b8946f Working on the _scanf implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:11:54 +00:00
cuz
f901555264 The %p format specifier was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 16:50:35 +00:00
cuz
38f716079a Replaced calloc by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1119 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:00 +00:00
cuz
40a9055be8 Fixed a bug in the return value of the sprintf and vsprintf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1067 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 15:23:34 +00:00
cuz
def6300556 Use constants for the bits in the _ctype array.
git-svn-id: svn://svn.cc65.org/cc65/trunk@865 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 14:00:41 +00:00
cuz
5e14218975 Fixed geos portion of Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@780 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:41:30 +00:00
cuz
71e40d42f5 Working on the ..scanf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@691 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-19 06:46:30 +00:00
cuz
dccc89edae Squeezed a few cycles/bytes out of tolower and toupper.
git-svn-id: svn://svn.cc65.org/cc65/trunk@690 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-19 06:46:01 +00:00
cuz
e93f1574f4 Use decsp instead of subysp
git-svn-id: svn://svn.cc65.org/cc65/trunk@663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 15:59:54 +00:00
cuz
0bac28d96f decspX will no longer save a
git-svn-id: svn://svn.cc65.org/cc65/trunk@662 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 15:57:32 +00:00
cuz
b5914306cd Remove va_fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:21:27 +00:00
cuz
01ffedd363 Removed the old stack checking routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@630 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:00:45 +00:00
cuz
7c4bcbd569 scanf modules (currently not working)
git-svn-id: svn://svn.cc65.org/cc65/trunk@624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 07:59:17 +00:00
cuz
e32d5a4a4b Use the linker define stacksize instead of a variable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@621 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:19:21 +00:00
cuz
a4b921ca7e Fixed email address
git-svn-id: svn://svn.cc65.org/cc65/trunk@604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-03 12:04:01 +00:00
cuz
adabe02bbd Added a speed optimization. Makes the code somewhat larger, but is a huge
improvement speedwise.


git-svn-id: svn://svn.cc65.org/cc65/trunk@567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-08 11:37:01 +00:00
cuz
355569d960 Rewrote vcprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:15:43 +00:00
cuz
62cfc60f00 Removed unused stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@520 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 09:04:27 +00:00
cuz
d3cda84f60 Rewrote vsprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 22:57:32 +00:00
cuz
b0779f4a76 Fixed wrong comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@517 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 21:43:07 +00:00
cuz
e3022d904d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 21:41:28 +00:00
cuz
b46dab6d44 Rewrote sprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:32:59 +00:00
cuz
13be3ba3ef Rewrote fprintf in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 17:25:07 +00:00
cuz
aa10775c66 Rewrote cprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 15:13:07 +00:00
cuz
9333d5a839 Rewrote vfprintf() in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 15:05:46 +00:00
cuz
27f600e986 Make _printf() __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:21:18 +00:00
cuz
88fc6399db Rewrote printf in assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:08:47 +00:00
cuz
c02683ec94 Ignore assembler listings
git-svn-id: svn://svn.cc65.org/cc65/trunk@505 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:41:10 +00:00
cuz
047233fed2 Cleanup and optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:36:57 +00:00
cuz
643f468295 _printf rewritten in assembler - basic tests ok, needs some more tests and
optimizations.


git-svn-id: svn://svn.cc65.org/cc65/trunk@502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 23:04:24 +00:00
cuz
33bd9b5b51 Sqeezed one byte out of the zerobss routine:-)
git-svn-id: svn://svn.cc65.org/cc65/trunk@480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 22:15:57 +00:00
cuz
f3b93741ab Use the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 22:19:09 +00:00
cuz
c37d0e10d3 Changed doatexit destructor priority
git-svn-id: svn://svn.cc65.org/cc65/trunk@465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-21 10:56:34 +00:00
cuz
23937f1dac First condes feature test
git-svn-id: svn://svn.cc65.org/cc65/trunk@463 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 23:05:52 +00:00
cuz
ce76aba929 Moved the jmpvec module from common to runtime
git-svn-id: svn://svn.cc65.org/cc65/trunk@457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 21:59:43 +00:00
cuz
623fd3e103 Splitted the atexit module. Minor cleanup in doatexit.
git-svn-id: svn://svn.cc65.org/cc65/trunk@395 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-26 06:36:29 +00:00
cuz
3b7f8eeaab Handling of the '+' and ' ' flags was incorrect if the value was negative
git-svn-id: svn://svn.cc65.org/cc65/trunk@389 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-21 21:52:21 +00:00
cuz
d6fb2d94bf Rewrote memcmp. The old version was buggy, the new one is faster and
hopefully error free.


git-svn-id: svn://svn.cc65.org/cc65/trunk@330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-15 17:23:19 +00:00
cuz
dcc0fe91a2 Several type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:16:40 +00:00
cuz
84f74b4393 Type qualifier fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 21:50:56 +00:00
cuz
114acc4d79 Fixed param type qualifiers in several function definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-13 16:16:49 +00:00
cuz
c70c5197e1 Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-12 12:27:17 +00:00
cpg
f756e60532 initial check-in of file positioning stdio functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:53:56 +00:00
cpg
d6a3b84948 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:51:03 +00:00
cpg
43344ef154 fsetpos.o fgetpos.o rewind.o fseek.o ftell.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:44:39 +00:00
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
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
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
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
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
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
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
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
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