]> git.sur5r.net Git - cc65/log
cc65
19 years agoFixed zeropage segment declaration (syntax had changed some time ago).
cuz [Fri, 21 Jan 2005 10:35:50 +0000 (10:35 +0000)]
Fixed zeropage segment declaration (syntax had changed some time ago).
Added support for exports.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3370 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoBetter error message when a file is not found in the FILES section.
cuz [Thu, 20 Jan 2005 07:55:38 +0000 (07:55 +0000)]
Better error message when a file is not found in the FILES section.
Better error messages in case of a wrong section order in the config file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3369 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoRecoded the last change
cuz [Fri, 14 Jan 2005 18:52:30 +0000 (18:52 +0000)]
Recoded the last change

git-svn-id: svn://svn.cc65.org/cc65/trunk@3368 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed a bug (Report from Greg King)
cuz [Fri, 14 Jan 2005 18:40:33 +0000 (18:40 +0000)]
Fixed a bug (Report from Greg King)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3367 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoImproved mainargs code from Stefan Haubenthal
cuz [Tue, 11 Jan 2005 07:02:43 +0000 (07:02 +0000)]
Improved mainargs code from Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@3366 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoImprove doc for .struct/.union
cuz [Tue, 11 Jan 2005 06:51:24 +0000 (06:51 +0000)]
Improve doc for .struct/.union

git-svn-id: svn://svn.cc65.org/cc65/trunk@3365 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed a bug (hopefully).
cuz [Sun, 9 Jan 2005 21:17:19 +0000 (21:17 +0000)]
Fixed a bug (hopefully).
The ArrayRef() does really need a rewrite, now since we have better
expression info.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3364 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoDon't treat K&R functions as variadic. The standard (at least the C99 one)
cuz [Sun, 9 Jan 2005 21:16:32 +0000 (21:16 +0000)]
Don't treat K&R functions as variadic. The standard (at least the C99 one)
says that passing an invalid number of parameters causes undefined behaviour,
so we don't need to handle that case.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3363 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoTest file for illegal 6502 opcodes
cuz [Sun, 9 Jan 2005 19:07:45 +0000 (19:07 +0000)]
Test file for illegal 6502 opcodes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3362 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoOutput warnings for implicit int types if std >= C99.
cuz [Sun, 9 Jan 2005 18:03:55 +0000 (18:03 +0000)]
Output warnings for implicit int types if std >= C99.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3361 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed a bug: If all output data was discarded (by using file = "" in the
cuz [Sun, 9 Jan 2005 13:16:51 +0000 (13:16 +0000)]
Fixed a bug: If all output data was discarded (by using file = "" in the
linker config), CheckExports was never called, which in turn meant that
the list of all exports was never built. This caused a crash later when
the linker tried to generate a map file. The solution is to separate the
creation of the exports list and the check for unresolved imports.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3360 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoMore CfgName issues.
cuz [Sat, 8 Jan 2005 21:38:17 +0000 (21:38 +0000)]
More CfgName issues.
Use CfgError instead of calling Error directly.
Use dynamically allocated string buffers in the CfgError and CfgWarning
functions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3359 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed several places were CfgName was used directly instead of calling
cuz [Sat, 8 Jan 2005 21:08:59 +0000 (21:08 +0000)]
Fixed several places were CfgName was used directly instead of calling
CfgGetName(). The former may be NULL, while the latter maps that to a
string like "builtin config".

git-svn-id: svn://svn.cc65.org/cc65/trunk@3358 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplace obsolete "wprot" segment type by "ro".
cuz [Sat, 8 Jan 2005 21:08:04 +0000 (21:08 +0000)]
Replace obsolete "wprot" segment type by "ro".

git-svn-id: svn://svn.cc65.org/cc65/trunk@3357 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoDescribe the new asminc feature
cuz [Sat, 8 Jan 2005 20:33:27 +0000 (20:33 +0000)]
Describe the new asminc feature

git-svn-id: svn://svn.cc65.org/cc65/trunk@3356 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew info file statement "asminc" that allows to read in a file containing
cuz [Sat, 8 Jan 2005 20:16:57 +0000 (20:16 +0000)]
New info file statement "asminc" that allows to read in a file containing
symbol values in asm syntax.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3355 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoDescribe new align_load attribute
cuz [Sat, 8 Jan 2005 13:52:07 +0000 (13:52 +0000)]
Describe new align_load attribute

git-svn-id: svn://svn.cc65.org/cc65/trunk@3354 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew segment attribute ALIGN_LOAD. Some cleanup.
cuz [Sat, 8 Jan 2005 13:44:11 +0000 (13:44 +0000)]
New segment attribute ALIGN_LOAD. Some cleanup.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3353 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew segment APPZP
cuz [Thu, 6 Jan 2005 13:20:23 +0000 (13:20 +0000)]
New segment APPZP

git-svn-id: svn://svn.cc65.org/cc65/trunk@3352 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew code from Oliver Schmidt
cuz [Thu, 6 Jan 2005 12:26:47 +0000 (12:26 +0000)]
New code from Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3351 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed a typo
cuz [Wed, 5 Jan 2005 21:28:54 +0000 (21:28 +0000)]
Fixed a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3350 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew function: _aligned_malloc
cuz [Wed, 5 Jan 2005 21:07:23 +0000 (21:07 +0000)]
New function: _aligned_malloc

git-svn-id: svn://svn.cc65.org/cc65/trunk@3349 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded a comment
cuz [Wed, 5 Jan 2005 21:05:35 +0000 (21:05 +0000)]
Added a comment

git-svn-id: svn://svn.cc65.org/cc65/trunk@3348 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew used block structure for the heap
cuz [Wed, 5 Jan 2005 21:05:11 +0000 (21:05 +0000)]
New used block structure for the heap

git-svn-id: svn://svn.cc65.org/cc65/trunk@3347 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed an identifier (cosmetic change)
cuz [Wed, 5 Jan 2005 21:04:35 +0000 (21:04 +0000)]
Fixed an identifier (cosmetic change)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3346 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSlice blocks even if the remainder is just sizeof(freeblock) bytes in size.
cuz [Wed, 5 Jan 2005 20:06:13 +0000 (20:06 +0000)]
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

19 years agoSave a few bytes
cuz [Wed, 5 Jan 2005 20:05:27 +0000 (20:05 +0000)]
Save a few bytes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3344 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSmall changes by Oliver Schmidt
cuz [Tue, 21 Dec 2004 16:25:29 +0000 (16:25 +0000)]
Small changes by Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3343 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded Oliver Schmidt
cuz [Tue, 21 Dec 2004 16:01:21 +0000 (16:01 +0000)]
Added Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3342 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded an exit handler - code from Oliver Schmidt
cuz [Tue, 21 Dec 2004 15:56:48 +0000 (15:56 +0000)]
Added an exit handler - code from Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3341 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoChanged the way, used blocks are managed
cuz [Sun, 19 Dec 2004 23:09:38 +0000 (23:09 +0000)]
Changed the way, used blocks are managed

git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSeveral improvements and a few bug fixes
cuz [Sun, 19 Dec 2004 22:15:43 +0000 (22:15 +0000)]
Several improvements and a few bug fixes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3339 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixes for the Watcom compiler and some general improvements for older
cuz [Sat, 18 Dec 2004 14:28:42 +0000 (14:28 +0000)]
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

19 years agofix tmp3 return value if DEFAULT_DEVICE is enabled
cpg [Fri, 17 Dec 2004 14:33:32 +0000 (14:33 +0000)]
fix tmp3 return value if DEFAULT_DEVICE is enabled

git-svn-id: svn://svn.cc65.org/cc65/trunk@3337 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agorename defdev to __defdev and export it; add support for
cpg [Thu, 16 Dec 2004 22:46:28 +0000 (22:46 +0000)]
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

19 years agoSome improvements using the new SB_Printf for string buffers
cuz [Thu, 16 Dec 2004 22:43:52 +0000 (22:43 +0000)]
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

19 years agoDYNAMIC_DD support
cpg [Thu, 16 Dec 2004 22:43:47 +0000 (22:43 +0000)]
DYNAMIC_DD support

git-svn-id: svn://svn.cc65.org/cc65/trunk@3334 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoDYNAMIC_DD
cpg [Thu, 16 Dec 2004 22:41:14 +0000 (22:41 +0000)]
DYNAMIC_DD

git-svn-id: svn://svn.cc65.org/cc65/trunk@3333 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoUse inttypes.h and the intmax_t/uintmax_t types
cuz [Thu, 16 Dec 2004 22:38:07 +0000 (22:38 +0000)]
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

19 years agoNew module inttypes.h
cuz [Thu, 16 Dec 2004 22:37:30 +0000 (22:37 +0000)]
New module inttypes.h

git-svn-id: svn://svn.cc65.org/cc65/trunk@3331 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agouse DEFAULT_DEVICE definition for the default drive
cpg [Thu, 16 Dec 2004 22:19:46 +0000 (22:19 +0000)]
use DEFAULT_DEVICE definition for the default drive

git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed another bug
cuz [Thu, 16 Dec 2004 20:26:46 +0000 (20:26 +0000)]
Fixed another bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3329 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed several bugs
cuz [Thu, 16 Dec 2004 20:07:49 +0000 (20:07 +0000)]
Fixed several bugs

git-svn-id: svn://svn.cc65.org/cc65/trunk@3328 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded a basic vsnprintf implementation to work around problems with compilers
cuz [Wed, 15 Dec 2004 21:23:22 +0000 (21:23 +0000)]
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

19 years agoFixed minor issues with the modifiers: Some modifiers where accepted (and
cuz [Sat, 11 Dec 2004 18:33:49 +0000 (18:33 +0000)]
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

19 years agova_copy is only available from C99 and up
cuz [Sat, 11 Dec 2004 14:59:05 +0000 (14:59 +0000)]
va_copy is only available from C99 and up

git-svn-id: svn://svn.cc65.org/cc65/trunk@3325 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoDisable interrupts while modifying the signal table
cuz [Fri, 10 Dec 2004 11:50:54 +0000 (11:50 +0000)]
Disable interrupts while modifying the signal table

git-svn-id: svn://svn.cc65.org/cc65/trunk@3324 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSmall improvement
cuz [Thu, 2 Dec 2004 22:26:17 +0000 (22:26 +0000)]
Small improvement

git-svn-id: svn://svn.cc65.org/cc65/trunk@3323 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAnother fix from Oliver Schmidt
cuz [Wed, 1 Dec 2004 20:25:28 +0000 (20:25 +0000)]
Another fix from Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3322 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSmall change by Oliver Schmidt
cuz [Wed, 1 Dec 2004 16:57:39 +0000 (16:57 +0000)]
Small change by Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@3321 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSqeezed a few bytes out of the copydata function
cuz [Wed, 1 Dec 2004 12:00:50 +0000 (12:00 +0000)]
Sqeezed a few bytes out of the copydata function

git-svn-id: svn://svn.cc65.org/cc65/trunk@3320 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoUse register to improve the code
cuz [Tue, 30 Nov 2004 20:17:44 +0000 (20:17 +0000)]
Use register to improve the code

git-svn-id: svn://svn.cc65.org/cc65/trunk@3319 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed an error and improved the code
cuz [Tue, 30 Nov 2004 18:47:25 +0000 (18:47 +0000)]
Fixed an error and improved the code

git-svn-id: svn://svn.cc65.org/cc65/trunk@3317 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew code from Karri
cuz [Mon, 29 Nov 2004 16:03:00 +0000 (16:03 +0000)]
New code from Karri

git-svn-id: svn://svn.cc65.org/cc65/trunk@3316 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplaced vsscanf by an assembler version
cuz [Sun, 28 Nov 2004 18:45:13 +0000 (18:45 +0000)]
Replaced vsscanf by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3315 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplace sscanf by an assembler version
cuz [Sun, 28 Nov 2004 18:23:16 +0000 (18:23 +0000)]
Replace sscanf by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3314 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplaced fscanf by an assembler version
cuz [Sun, 28 Nov 2004 18:11:17 +0000 (18:11 +0000)]
Replaced fscanf by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3313 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSmall optimization
cuz [Sun, 28 Nov 2004 18:10:47 +0000 (18:10 +0000)]
Small optimization

git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoRemoved an unused import
cuz [Sun, 28 Nov 2004 18:09:56 +0000 (18:09 +0000)]
Removed an unused import

git-svn-id: svn://svn.cc65.org/cc65/trunk@3311 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoNew test optimization
cuz [Sat, 27 Nov 2004 21:13:07 +0000 (21:13 +0000)]
New test optimization

git-svn-id: svn://svn.cc65.org/cc65/trunk@3310 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoOptimization step that handles load from *ptr++ if ptr is a char* register
cuz [Sat, 27 Nov 2004 20:52:46 +0000 (20:52 +0000)]
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

19 years agoHandle static functions correctly with %v.
cuz [Sat, 27 Nov 2004 20:52:06 +0000 (20:52 +0000)]
Handle static functions correctly with %v.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3308 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplace vscanf by an assembler version
cuz [Sat, 27 Nov 2004 18:23:24 +0000 (18:23 +0000)]
Replace vscanf by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3307 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded O_EXCL
cuz [Sat, 27 Nov 2004 15:18:33 +0000 (15:18 +0000)]
Added O_EXCL

git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoReplace vfscanf by an assembler version
cuz [Sat, 27 Nov 2004 14:56:54 +0000 (14:56 +0000)]
Replace vfscanf by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3305 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded assembler include function for _scanf
cuz [Sat, 27 Nov 2004 14:45:49 +0000 (14:45 +0000)]
Added assembler include function for _scanf

git-svn-id: svn://svn.cc65.org/cc65/trunk@3304 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdded vscanf
cuz [Fri, 26 Nov 2004 23:16:57 +0000 (23:16 +0000)]
Added vscanf

git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoRemoved a comment about the scanf functions
cuz [Fri, 26 Nov 2004 22:41:01 +0000 (22:41 +0000)]
Removed a comment about the scanf functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@3302 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoRewrote _scanf. It does need some tests and improvements, but it's a more
cuz [Fri, 26 Nov 2004 22:16:54 +0000 (22:16 +0000)]
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

19 years agoFixed a bug
cuz [Thu, 25 Nov 2004 13:18:20 +0000 (13:18 +0000)]
Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoAdd the lynx
cuz [Thu, 25 Nov 2004 11:57:03 +0000 (11:57 +0000)]
Add the lynx

git-svn-id: svn://svn.cc65.org/cc65/trunk@3299 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoSIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün
cpg [Tue, 23 Nov 2004 21:45:25 +0000 (21:45 +0000)]
SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün

git-svn-id: svn://svn.cc65.org/cc65/trunk@3298 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agofix CH_VLINE definition (noticed by Fatih Aygün)
cpg [Tue, 23 Nov 2004 21:43:53 +0000 (21:43 +0000)]
fix CH_VLINE definition (noticed by Fatih Aygün)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3297 b7a2c559-68d2-44c3-8de9-860c34a00d81

19 years agoFixed a bug in code generation for left shifts
cuz [Tue, 23 Nov 2004 10:04:34 +0000 (10:04 +0000)]
Fixed a bug in code generation for left shifts

git-svn-id: svn://svn.cc65.org/cc65/trunk@3296 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew kbhit and cgetc functions from Karri
cuz [Sat, 13 Nov 2004 10:34:06 +0000 (10:34 +0000)]
New kbhit and cgetc functions from Karri

git-svn-id: svn://svn.cc65.org/cc65/trunk@3295 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoProfreading by Stefan Haubenthal
cuz [Tue, 9 Nov 2004 20:09:16 +0000 (20:09 +0000)]
Profreading by Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@3294 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMake _mouse_geterrormsg public
cuz [Sun, 7 Nov 2004 13:00:29 +0000 (13:00 +0000)]
Make _mouse_geterrormsg public

git-svn-id: svn://svn.cc65.org/cc65/trunk@3293 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoUpdate the mouse demo to run with the new mouse API that uses loadable
cuz [Sun, 7 Nov 2004 12:54:30 +0000 (12:54 +0000)]
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

20 years agoCosmetic changes
cuz [Sun, 7 Nov 2004 12:52:40 +0000 (12:52 +0000)]
Cosmetic changes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3291 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd constant for number of error codes
cuz [Sun, 7 Nov 2004 12:42:30 +0000 (12:42 +0000)]
Add constant for number of error codes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3290 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew function mouse_geterrormsg()
cuz [Sun, 7 Nov 2004 12:41:18 +0000 (12:41 +0000)]
New function mouse_geterrormsg()

git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAutodetect the location of the compiler and tools.
cuz [Sun, 7 Nov 2004 11:33:30 +0000 (11:33 +0000)]
Autodetect the location of the compiler and tools.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3288 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded the IRQ entry
cuz [Sun, 7 Nov 2004 11:33:08 +0000 (11:33 +0000)]
Added the IRQ entry

git-svn-id: svn://svn.cc65.org/cc65/trunk@3287 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemoved the tgi_header structure because it is of no use for C programs
cuz [Sun, 7 Nov 2004 11:32:49 +0000 (11:32 +0000)]
Removed the tgi_header structure because it is of no use for C programs
anyway, but needs maintainance.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3286 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoUse a structure for the TGI header as with other drivers.
cuz [Sun, 7 Nov 2004 11:30:45 +0000 (11:30 +0000)]
Use a structure for the TGI header as with other drivers.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3285 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoUse the new TGI_HDR structure.
cuz [Sun, 7 Nov 2004 11:30:26 +0000 (11:30 +0000)]
Use the new TGI_HDR structure.
Added an interrupt entry point for the drivers.
Rewrote tgi_unload to avoid problems with the tgi_drv pointer.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3284 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoCosmetic changes
cuz [Sun, 7 Nov 2004 11:24:33 +0000 (11:24 +0000)]
Cosmetic changes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3283 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded the irq vector
cuz [Sun, 7 Nov 2004 10:45:24 +0000 (10:45 +0000)]
Added the irq vector

git-svn-id: svn://svn.cc65.org/cc65/trunk@3282 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMoved additional zeropage variables into an extra module.
cuz [Sat, 6 Nov 2004 13:51:02 +0000 (13:51 +0000)]
Moved additional zeropage variables into an extra module.
Added interrupt vector to joystick driver.
New code from Karri.
Rewrote joystick initialization to make it somewhat shorter.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3281 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd the irq entry point
cuz [Sat, 6 Nov 2004 13:27:38 +0000 (13:27 +0000)]
Add the irq entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@3280 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd the irq entry point
cuz [Sat, 6 Nov 2004 13:12:57 +0000 (13:12 +0000)]
Add the irq entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@3279 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMake _joy_masks global
cuz [Sat, 6 Nov 2004 13:09:17 +0000 (13:09 +0000)]
Make _joy_masks global

git-svn-id: svn://svn.cc65.org/cc65/trunk@3278 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoExport the interrupt entry point
cuz [Sat, 6 Nov 2004 13:09:01 +0000 (13:09 +0000)]
Export the interrupt entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@3277 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded the IRQ entry point
cuz [Sat, 6 Nov 2004 13:05:26 +0000 (13:05 +0000)]
Added the IRQ entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@3276 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded IRQ entry point, bumped the version number
cuz [Sat, 6 Nov 2004 13:01:15 +0000 (13:01 +0000)]
Added IRQ entry point, bumped the version number

git-svn-id: svn://svn.cc65.org/cc65/trunk@3275 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded IRQ entry point
cuz [Sat, 6 Nov 2004 13:00:17 +0000 (13:00 +0000)]
Added IRQ entry point

git-svn-id: svn://svn.cc65.org/cc65/trunk@3274 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoDisable the IRQ before calling mouse_uninstall
cuz [Sat, 6 Nov 2004 12:58:43 +0000 (12:58 +0000)]
Disable the IRQ before calling mouse_uninstall

git-svn-id: svn://svn.cc65.org/cc65/trunk@3273 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoSet view and draw pages
cuz [Wed, 3 Nov 2004 18:33:23 +0000 (18:33 +0000)]
Set view and draw pages

git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew submakefile use
cuz [Tue, 26 Oct 2004 21:21:06 +0000 (21:21 +0000)]
New submakefile use

git-svn-id: svn://svn.cc65.org/cc65/trunk@3271 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoThe NES does now have a joystick driver
cuz [Tue, 26 Oct 2004 21:04:38 +0000 (21:04 +0000)]
The NES does now have a joystick driver

git-svn-id: svn://svn.cc65.org/cc65/trunk@3270 b7a2c559-68d2-44c3-8de9-860c34a00d81