cuz
71650c64e4
Added Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 16:01:21 +00:00
cuz
10431b1067
Added an exit handler - code from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 15:56:48 +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
49d1a47269
Several improvements and a few bug fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3339 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 22:15:43 +00:00
cuz
218e722b91
Fixes for the Watcom compiler and some general improvements for older
...
compilers that don't have the va_copy macro.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-18 14:28:42 +00:00
cpg
ad8a481a9e
fix tmp3 return value if DEFAULT_DEVICE is enabled
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-17 14:33:32 +00:00
cpg
47054d90d3
rename defdev to __defdev and export it; add support for
...
DEFAULT_DEVICE and DYNAMIC_DD
git-svn-id: svn://svn.cc65.org/cc65/trunk@3336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:46:28 +00:00
cuz
ae70828938
Some improvements using the new SB_Printf for string buffers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:43:52 +00:00
cpg
1727d49c8d
DYNAMIC_DD support
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:43:47 +00:00
cpg
1cb6868ddd
DYNAMIC_DD
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:41:14 +00:00
cuz
41ec19b72a
Use inttypes.h and the intmax_t/uintmax_t types
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:38:07 +00:00
cuz
3dab55e339
New module inttypes.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:37:30 +00:00
cpg
d27b06ecd2
use DEFAULT_DEVICE definition for the default drive
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:19:46 +00:00
cuz
0ce95ffe6a
Fixed another bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 20:26:46 +00:00
cuz
5b851fb621
Fixed several bugs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3328 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 20:07:49 +00:00
cuz
e43766ea93
Added a basic vsnprintf implementation to work around problems with compilers
...
that don't have it.
Added SB_VPrintf and SB_Printf as safe replacement for sprintf function
with the output going into a string buffer.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-15 21:23:22 +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
5ecda9d204
va_copy is only available from C99 and up
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 14:59:05 +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
48a7d56619
Small improvement
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-02 22:26:17 +00:00
cuz
4f66f980b2
Another fix from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-01 20:25:28 +00:00
cuz
42d8c7a56c
Small change by Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-01 16:57:39 +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
e506719f43
New code from Karri
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-29 16:03:00 +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
3692fd40da
New test optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 21:13:07 +00:00
cuz
9ba5eafedf
Optimization step that handles load from *ptr++ if ptr is a char* register
...
variable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 20:52:46 +00:00
cuz
d2c8a754db
Handle static functions correctly with %v.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 20:52:06 +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
c67ed28f9b
Added O_EXCL
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 15:18:33 +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
fb4613f4ea
Removed a comment about the scanf functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:41:01 +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
e35b91ed3b
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 13:18:20 +00:00
cuz
38f27c1c16
Add the lynx
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 11:57:03 +00:00
cpg
cae4f9b1e8
SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:45:25 +00:00
cpg
6db6a58225
fix CH_VLINE definition (noticed by Fatih Aygün)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:43:53 +00:00
cuz
d46b1a395b
Fixed a bug in code generation for left shifts
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 10:04:34 +00:00
cuz
14e40851e9
New kbhit and cgetc functions from Karri
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-13 10:34:06 +00:00
cuz
4db225ae4a
Profreading by Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-09 20:09:16 +00:00
cuz
71669b5ae3
Make _mouse_geterrormsg public
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 13:00:29 +00:00
cuz
4e81c529d9
Update the mouse demo to run with the new mouse API that uses loadable
...
drivers. Remove Atari support because there are no loadable drivers for
the Atari.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:54:30 +00:00