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

230 Commits

Author SHA1 Message Date
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