]> git.sur5r.net Git - cc65/log
cc65
24 years agoPlace shared modules into the common dir
cuz [Wed, 14 Jun 2000 09:57:42 +0000 (09:57 +0000)]
Place shared modules into the common dir

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

24 years agoMove stuff into the common directory
cuz [Wed, 14 Jun 2000 09:38:07 +0000 (09:38 +0000)]
Move stuff into the common directory

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

24 years agoMore common subroutines
cuz [Wed, 14 Jun 2000 09:32:22 +0000 (09:32 +0000)]
More common subroutines

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

24 years agoSome basic support for the 65C02 CPU.
cuz [Wed, 14 Jun 2000 08:18:19 +0000 (08:18 +0000)]
Some basic support for the 65C02 CPU.
Use the command line module from common/ and support long options.
Rename the include module to incpath (as in the assembler).

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

24 years agoRename a function
cuz [Wed, 14 Jun 2000 07:48:27 +0000 (07:48 +0000)]
Rename a function

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

24 years agoFixed an error
cuz [Wed, 14 Jun 2000 07:35:00 +0000 (07:35 +0000)]
Fixed an error

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

24 years agoUse new cmdline module
cuz [Wed, 14 Jun 2000 07:22:25 +0000 (07:22 +0000)]
Use new cmdline module

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

24 years agoNew module for command line parsing
cuz [Wed, 14 Jun 2000 07:09:10 +0000 (07:09 +0000)]
New module for command line parsing

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

24 years agoAdded support for old style (K&R) function declarations.
cuz [Mon, 12 Jun 2000 18:31:40 +0000 (18:31 +0000)]
Added support for old style (K&R) function declarations.
Several renames for better readibility.
Removed separate struct and enum symbol tables in favour of one tag table.
Check for some more error conditions or dubious constructs.

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

24 years agoMinor changes for MSC compatibility
cuz [Mon, 12 Jun 2000 12:32:39 +0000 (12:32 +0000)]
Minor changes for MSC compatibility

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

24 years agoRemoved a duplicate line
cuz [Mon, 12 Jun 2000 09:29:13 +0000 (09:29 +0000)]
Removed a duplicate line

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

24 years agostupid: put local vars of newfd function into .bss instead of .data
cpg [Mon, 12 Jun 2000 00:16:21 +0000 (00:16 +0000)]
stupid: put local vars of newfd function into .bss instead of .data

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

24 years agodescribes the files in this directory
cpg [Sun, 11 Jun 2000 23:56:41 +0000 (23:56 +0000)]
describes the files in this directory

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

24 years agotest program for cprintf()
cpg [Sun, 11 Jun 2000 23:56:09 +0000 (23:56 +0000)]
test program for cprintf()

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

24 years agoadded file I/O test program
cpg [Sun, 11 Jun 2000 23:36:16 +0000 (23:36 +0000)]
added file I/O test program

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

24 years agoallocate local vars in .data, don't use the stack (we don't need to
cpg [Sun, 11 Jun 2000 23:21:30 +0000 (23:21 +0000)]
allocate local vars in .data, don't use the stack (we don't need to
be reentrant here :-)

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

24 years agoFixed a typo
cuz [Sun, 11 Jun 2000 16:49:00 +0000 (16:49 +0000)]
Fixed a typo

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

24 years agoFix minor function handling stuff
cuz [Sat, 10 Jun 2000 16:33:25 +0000 (16:33 +0000)]
Fix minor function handling stuff

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

24 years agoAdd knowledge about a few more runtime functions
cuz [Sat, 10 Jun 2000 16:32:54 +0000 (16:32 +0000)]
Add knowledge about a few more runtime functions

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

24 years agoRemove functions that do no longer exist
cuz [Sat, 10 Jun 2000 16:32:37 +0000 (16:32 +0000)]
Remove functions that do no longer exist

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

24 years agoExplicitly clear reserved storage with $00.
cuz [Sat, 10 Jun 2000 16:32:12 +0000 (16:32 +0000)]
Explicitly clear reserved storage with $00.

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

24 years agoRemove/rename more code
cuz [Sat, 10 Jun 2000 16:13:50 +0000 (16:13 +0000)]
Remove/rename more code

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

24 years agoRenamed module, part of code no longer needed
cuz [Sat, 10 Jun 2000 16:11:27 +0000 (16:11 +0000)]
Renamed module, part of code no longer needed

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

24 years agoRoutines no longer used
cuz [Sat, 10 Jun 2000 16:06:05 +0000 (16:06 +0000)]
Routines no longer used

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

24 years agoMinor optimization
cuz [Sat, 10 Jun 2000 16:05:59 +0000 (16:05 +0000)]
Minor optimization

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

24 years agoMinor optimization
cuz [Sat, 10 Jun 2000 15:48:54 +0000 (15:48 +0000)]
Minor optimization

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

24 years agoRemove value test code (no longer needed)
cuz [Sat, 10 Jun 2000 15:48:44 +0000 (15:48 +0000)]
Remove value test code (no longer needed)

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

24 years agoFixed a bug
cuz [Sat, 10 Jun 2000 10:24:28 +0000 (10:24 +0000)]
Fixed a bug

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

24 years agoAdded the capability to search for the terminating zero of the given string.
cuz [Fri, 9 Jun 2000 12:07:53 +0000 (12:07 +0000)]
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

24 years agoVC++ fixes
cuz [Fri, 9 Jun 2000 08:25:15 +0000 (08:25 +0000)]
VC++ fixes

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

24 years agoFix several VC++ warnings
cuz [Thu, 8 Jun 2000 21:11:48 +0000 (21:11 +0000)]
Fix several VC++ warnings

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

24 years agoFix several VC++ warnings
cuz [Thu, 8 Jun 2000 21:02:46 +0000 (21:02 +0000)]
Fix several VC++ warnings

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

24 years agoFix several VC++ Warnings
cuz [Thu, 8 Jun 2000 20:55:04 +0000 (20:55 +0000)]
Fix several VC++ Warnings

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

24 years agoWatcom/NT fixes
cuz [Thu, 8 Jun 2000 20:32:44 +0000 (20:32 +0000)]
Watcom/NT fixes

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

24 years agoSome work on function stuff.
cuz [Thu, 8 Jun 2000 20:27:05 +0000 (20:27 +0000)]
Some work on function stuff.
Use xsprintf from the common directory.
Use hashstr from the common directory.

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

24 years agoRemove paragraph about limitations that do no longer exist
cuz [Thu, 8 Jun 2000 18:51:37 +0000 (18:51 +0000)]
Remove paragraph about limitations that do no longer exist

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

24 years agoRemove some comments about limitations that do no longer exist, resp. add
cuz [Thu, 8 Jun 2000 18:45:51 +0000 (18:45 +0000)]
Remove some comments about limitations that do no longer exist, resp. add
new stuff where needed.

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

24 years agoiscntrl was not mentioned in the Makefile and therefor not built.
cuz [Thu, 8 Jun 2000 18:35:04 +0000 (18:35 +0000)]
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

24 years agoUse xsprintf in common library
cuz [Thu, 8 Jun 2000 18:18:40 +0000 (18:18 +0000)]
Use xsprintf in common library

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

24 years agoAdd #define for MSC
cuz [Thu, 8 Jun 2000 18:18:20 +0000 (18:18 +0000)]
Add #define for MSC

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

24 years agoFixed cr/lf handling
cuz [Thu, 8 Jun 2000 18:02:13 +0000 (18:02 +0000)]
Fixed cr/lf handling

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

24 years agoadded joytest.c - readjoy test program
cpg [Wed, 7 Jun 2000 22:35:44 +0000 (22:35 +0000)]
added joytest.c - readjoy test program

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

24 years agodon't import newline
cpg [Wed, 7 Jun 2000 22:32:12 +0000 (22:32 +0000)]
don't import newline

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

24 years agofixed it and saved 1 byte
cpg [Wed, 7 Jun 2000 22:10:45 +0000 (22:10 +0000)]
fixed it and saved 1 byte

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

24 years agoadapted for atari
cpg [Wed, 7 Jun 2000 21:22:30 +0000 (21:22 +0000)]
adapted for atari

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

24 years agoApply FreeBSD patch (adds comment to Makefile)
cuz [Tue, 6 Jun 2000 17:45:06 +0000 (17:45 +0000)]
Apply FreeBSD patch (adds comment to Makefile)

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

24 years agoAdded a more generic way to push sources that deliver a token stream
cuz [Sat, 3 Jun 2000 11:15:11 +0000 (11:15 +0000)]
Added a more generic way to push sources that deliver a token stream
independent of the actual input from the file. Change macro handling
to use the new input stack.
Fixed an error in FreeIf: If an unexpected .ENDIF was reached, the
assembler started an endless loop printing error messages.

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

24 years ago?
izydorst [Fri, 2 Jun 2000 02:33:28 +0000 (02:33 +0000)]
?

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

24 years ago*** empty log message ***
izydorst [Fri, 2 Jun 2000 02:13:19 +0000 (02:13 +0000)]
*** empty log message ***

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

24 years agoAbort on string overflow
cuz [Thu, 1 Jun 2000 16:41:28 +0000 (16:41 +0000)]
Abort on string overflow

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

24 years agoAdded xsprint to the watcom makefile
cuz [Thu, 1 Jun 2000 16:25:05 +0000 (16:25 +0000)]
Added xsprint to the watcom makefile

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

24 years agoAdded portability sprintf function
cuz [Thu, 1 Jun 2000 16:22:30 +0000 (16:22 +0000)]
Added portability sprintf function

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

24 years agofirst working version (with filenames at least, devices not tested yet)
cpg [Tue, 30 May 2000 22:28:30 +0000 (22:28 +0000)]
first working version (with filenames at least, devices not tested yet)

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

24 years agoinitialze stdin/stdout/stderr correctly
cpg [Tue, 30 May 2000 22:21:40 +0000 (22:21 +0000)]
initialze stdin/stdout/stderr correctly

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

24 years agodon't use INVFLG but our own variable to indicate revers - the
cpg [Tue, 30 May 2000 22:20:01 +0000 (22:20 +0000)]
don't use INVFLG but our own variable to indicate revers - the
INVFLG is changed by the Atari key

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

24 years agoFixed a bug
cuz [Tue, 30 May 2000 17:40:38 +0000 (17:40 +0000)]
Fixed a bug

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

24 years agoChange the implementation of Add() so it won't modify it's argument.
cuz [Tue, 30 May 2000 06:31:09 +0000 (06:31 +0000)]
Change the implementation of Add() so it won't modify it's argument.

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

24 years agoAdded long options. Added --asm-include-dir to set the include path for
cuz [Mon, 29 May 2000 18:41:25 +0000 (18:41 +0000)]
Added long options. Added --asm-include-dir to set the include path for
the assembler.

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

24 years agoAdded functions to remember a set of include search paths and to search
cuz [Mon, 29 May 2000 18:40:56 +0000 (18:40 +0000)]
Added functions to remember a set of include search paths and to search
for includes in these directories. Extended the scanner to use the new
functions.
Added several command line switches, including -I (--include-dir) to use
the new include search feature.

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

24 years agofixed a typo
cpg [Sun, 28 May 2000 21:54:19 +0000 (21:54 +0000)]
fixed a typo

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

24 years agofirst hack at newfd function: compiles but doesn't work yet
cpg [Sun, 28 May 2000 21:53:09 +0000 (21:53 +0000)]
first hack at newfd function: compiles but doesn't work yet

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

24 years agoadded support for fd indirection
cpg [Sun, 28 May 2000 21:51:06 +0000 (21:51 +0000)]
added support for fd indirection

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

24 years agoThis commit was generated by cvs2svn to compensate for changes in r2,
uz [Sun, 28 May 2000 13:40:48 +0000 (13:40 +0000)]
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

24 years agoStandard project directories initialized by cvs2svn.
(no author) [Sun, 28 May 2000 13:40:48 +0000 (13:40 +0000)]
Standard project directories initialized by cvs2svn.

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