1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
Commit Graph

345 Commits

Author SHA1 Message Date
uz
4b84d95891 labs() is also imaxabs().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 18:06:43 +00:00
uz
feb31603da Use named constants from ctype.inc instead of hard coded numeric values.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3929 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 22:11:56 +00:00
uz
b6d7dba170 Removed an unused import.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3928 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 22:08:43 +00:00
cpg
b68094a2f6 add strnicmp.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3924 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:15:51 +00:00
cpg
222a421969 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3923 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:15:21 +00:00
uz
0ec5268baa Made strxfrm fastcall, added docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-27 20:02:48 +00:00
uz
af9286852f A label must always be followed by a statement. This wasn't checked by the
compiler before.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3864 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-03 12:54:11 +00:00
uz
4812feb44b git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
cuz
545df804bb Renamed setoserror to seterrnofromoserror to avoid clashes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-15 06:55:35 +00:00
cuz
6c5c0be79f Fixed an error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3837 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-15 06:44:46 +00:00
cuz
3293330f31 New entry point setoserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@3835 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-13 17:35:15 +00:00
cuz
1184d5ad43 putchar didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-12-20 22:58:16 +00:00
cuz
c732d3e360 New stuff contributed by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-31 20:11:45 +00:00
cuz
50f707dd39 Ignore pmemalign.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3544 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 15:15:03 +00:00
cuz
7a624b8901 Replaced _aligned_malloc by the POSIX compatible function posix_memalign
(Greg King).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 12:57:00 +00:00
cuz
c2140cdb08 Make strtok __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@3514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-17 21:11:09 +00:00
cuz
5c2eebcda1 The 65C02 code didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-23 14:12:19 +00:00
cuz
148dc9e5bf Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:32:29 +00:00
cuz
e0319679f0 Added environment routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@3483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:26:15 +00:00
cuz
00633945b8 Leave __cwd_buf_size intact
git-svn-id: svn://svn.cc65.org/cc65/trunk@3467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:48:05 +00:00
cuz
ee81f9a686 Make the size of _cwd FILENAME_MAX chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 11:28:11 +00:00
cuz
19e2d56016 Initialize _cwd by use of a constructor that calls a platform specific
function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-16 14:43:22 +00:00
cuz
624c808dbc Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 in the headers.
Squeezed one precious byte out of the loader code:-)


git-svn-id: svn://svn.cc65.org/cc65/trunk@3445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 08:23:56 +00:00
cuz
6ec87c5dd9 Move initialization code into the init segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:06:46 +00:00
cuz
6c796774d8 Code improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@3385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 10:28:54 +00:00
cuz
100fbfc0d1 Fixed a bug (report and patch by Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:59:54 +00:00
cuz
bc5d046503 Fixed tab removal which somehow went wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@3382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:38:30 +00:00
cuz
de4162a63f Removed tabs from the foreign sources
git-svn-id: svn://svn.cc65.org/cc65/trunk@3379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:22:37 +00:00
cuz
d406a9f677 Scanf improvements by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:19:59 +00:00
cuz
a4f6f14a6b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-08 20:53:48 +00:00
cuz
7caee98fc0 New function: _aligned_malloc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:07:23 +00:00
cuz
18e3e7cb11 Added a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:35 +00:00
cuz
842ff39d4c New used block structure for the heap
git-svn-id: svn://svn.cc65.org/cc65/trunk@3347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:11 +00:00
cuz
802f259b37 Fixed an identifier (cosmetic change)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:04:35 +00:00
cuz
2342052bc3 Slice blocks even if the remainder is just sizeof(freeblock) bytes in size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:06:13 +00:00
cuz
d8fa43d7a6 Save a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:05:27 +00:00
cuz
e55a4bcfd4 Changed the way, used blocks are managed
git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 23:09:38 +00:00
cuz
569f57bc1b Fixed minor issues with the modifiers: Some modifiers where accepted (and
ignored) that do not exist.
Added C99 modifiers z, j and t.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 18:33:49 +00:00
cuz
95f66b8ca9 Disable interrupts while modifying the signal table
git-svn-id: svn://svn.cc65.org/cc65/trunk@3324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-10 11:50:54 +00:00
cuz
6de079ee57 Sqeezed a few bytes out of the copydata function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-01 12:00:50 +00:00
cuz
0ab513b254 Use register to improve the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3319 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-30 20:17:44 +00:00
cuz
08074a2ee3 Fixed an error and improved the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-30 18:47:25 +00:00
cuz
18b154e6b1 Replaced vsscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:45:13 +00:00
cuz
501cc4c6c8 Replace sscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:23:16 +00:00
cuz
c74253d081 Replaced fscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3313 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:11:17 +00:00
cuz
163c4e2fc8 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:10:47 +00:00
cuz
928acfee6c Removed an unused import
git-svn-id: svn://svn.cc65.org/cc65/trunk@3311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:09:56 +00:00
cuz
626314e4cb Replace vscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 18:23:24 +00:00
cuz
35b7d549f4 Replace vfscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:56:54 +00:00
cuz
dbb003c9ac Added assembler include function for _scanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:45:49 +00:00
cuz
7cf5f27ec6 Added vscanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 23:16:57 +00:00
cuz
b1d4e1613b Rewrote _scanf. It does need some tests and improvements, but it's a more
standard version than before, and it does support the necessary functionality
to support scanf functions for files.
Added vfscanf, fscanf and vfscanf.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:16:54 +00:00
cuz
303304fe90 Add definitions for tools so the makefile is useful by itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:28:26 +00:00
cuz
cfe3eda416 Replaced putchar by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-06 21:42:17 +00:00
cuz
8eb898d0d1 Adjust result to user visible size
git-svn-id: svn://svn.cc65.org/cc65/trunk@3159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:18:51 +00:00
cuz
16f2918902 New function heapblocksize()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:05:36 +00:00
cuz
0b6da0f1e4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3087 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 14:47:21 +00:00
cuz
1d7884fa94 Add support for pushed back characters from ungetc()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3043 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 20:54:46 +00:00
cuz
b61b5f3ec5 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3041 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 14:33:43 +00:00
cuz
57851eda12 Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3039 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 23:01:53 +00:00
cuz
d44cdad9ce Add support for ungetc, fix non standard compliant behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3037 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:54:01 +00:00
cuz
dc16edb6b2 Implemented the ungetc function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3036 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:39:17 +00:00
cuz
f36b52f2aa Make fseek support ungetc, fix non standard compliant behaviour
git-svn-id: svn://svn.cc65.org/cc65/trunk@3035 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:29:18 +00:00
cuz
51752caa56 Squeezed out a few bytes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3034 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:17:58 +00:00
cuz
35aea65c61 Add support for pushed back chars
git-svn-id: svn://svn.cc65.org/cc65/trunk@3033 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:13:51 +00:00
cuz
8f7b91eea6 Use a subroutine to set errno to save some space.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3032 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:09:08 +00:00
cuz
d2351bba49 Added pushback char to struct FILE
git-svn-id: svn://svn.cc65.org/cc65/trunk@3028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:16:36 +00:00
cuz
51d536da7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 12:58:25 +00:00
cuz
86b00e8157 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3007 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 21:01:12 +00:00
cuz
96b5da41f1 Invalid error codes will set errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@2784 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 18:45:26 +00:00
cuz
cb9a4e91e1 Use .repeat to unroll the loop.
Squeeze out two bytes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:10:18 +00:00
cuz
298767d71a Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:54:43 +00:00
cuz
a1092ca7da Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:23:09 +00:00
cuz
4fa1f8ba97 Use structs/enums
git-svn-id: svn://svn.cc65.org/cc65/trunk@2709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:57:27 +00:00
cuz
c15fd58d3b Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:15:33 +00:00
cuz
227f4a7bc2 Removed useless __errno imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@2657 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 00:12:56 +00:00
cuz
94e041264e Optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2642 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 22:33:42 +00:00
cuz
6966ccda7e Fixed the return code of fgetpos and ftell.
Made lots of functions __fastcall__.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 18:04:07 +00:00
cuz
9c04edfaaa Make qsort __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2585 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:59:19 +00:00
cuz
76bbc48b99 Make bsearch __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:51:59 +00:00
cuz
2c7218b5d9 Fixed a bug in memcpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 21:04:22 +00:00
cuz
3f06947b36 Squeeze two cycles out of the abs() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:59:00 +00:00
cuz
23c35f27f8 Improved 65c02 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:52:12 +00:00
cuz
c5e5205e94 Make setlocale __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-02 21:44:56 +00:00
cuz
fe37c38972 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 09:48:10 +00:00
cuz
2d168babe9 Split memcpy and memmove, since the former is used a lot more often than
the latter.
Optimized the code for smaller size and greater speed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 10:17:53 +00:00
cuz
833702e25f Speed optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 11:25:31 +00:00
cuz
3a78b76b95 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 20:15:01 +00:00
cuz
c52034c59a Cleanup use of predefined data types / defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-16 08:23:01 +00:00
cuz
6f986fd8ac Build remove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 07:31:01 +00:00
cuz
4e76d0155d New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:24:02 +00:00
cuz
8bc9f321ec New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 14:24:34 +00:00
cuz
6fcf735744 Fixes to the code just written
git-svn-id: svn://svn.cc65.org/cc65/trunk@2276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:58:17 +00:00
cuz
8bfaa09b77 Added a getcwd function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:51:11 +00:00
cuz
20e805a124 New error code ERANGE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:48:45 +00:00
cuz
ad569c8f2f New chdir() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:24:25 +00:00
cuz
b7d7e6bb04 Moved reusable parts of remove into oserrcheck.
Rewrote remove().
Added rename().


git-svn-id: svn://svn.cc65.org/cc65/trunk@2272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:06:43 +00:00
cuz
c63d25f43f Renamed one letter label
git-svn-id: svn://svn.cc65.org/cc65/trunk@2223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-17 20:52:33 +00:00
cuz
a8534fbb7c sleep.c doesn't compile on platforms without a clock function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:46 +00:00
cuz
286a9e3f8a lseek is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@2217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:25 +00:00
cuz
a1d914d52d Restructured former fcntl.h, added new include files unistd.h and sys/types.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:08:23 +00:00
cuz
86881f6b38 Make sleep() __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:13:35 +00:00
cuz
7c29033b58 Added creat()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:10:50 +00:00
cuz
737bf33c38 Added unlink()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:43:57 +00:00
cuz
d8449e18cd Added sleep.c from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:28:54 +00:00
cuz
ea7b1f5312 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 12:15:57 +00:00
cuz
6e301bc88e Added remove()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2187 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:10:54 +00:00
cuz
7b3f6f9369 Rewrote vprintf in assembler and made it __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:08:26 +00:00
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