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

3103 Commits

Author SHA1 Message Date
cpg
3b63322f99 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
2000-06-12 00:16:21 +00:00
cpg
731534dec7 describes the files in this directory
git-svn-id: svn://svn.cc65.org/cc65/trunk@58 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:56:41 +00:00
cpg
4c5bd4bf32 test program for cprintf()
git-svn-id: svn://svn.cc65.org/cc65/trunk@57 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:56:09 +00:00
cpg
22a7951bde added file I/O test program
git-svn-id: svn://svn.cc65.org/cc65/trunk@56 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 23:36:16 +00:00
cpg
af33f993e1 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
2000-06-11 23:21:30 +00:00
cuz
269ae9606d Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@54 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-11 16:49:00 +00:00
cuz
4219ffcb6a Fix minor function handling stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@53 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:33:25 +00:00
cuz
e932798ead Add knowledge about a few more runtime functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@52 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:54 +00:00
cuz
699a7cbf3f Remove functions that do no longer exist
git-svn-id: svn://svn.cc65.org/cc65/trunk@51 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:37 +00:00
cuz
2e532d9ccd Explicitly clear reserved storage with $00.
git-svn-id: svn://svn.cc65.org/cc65/trunk@50 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:12 +00:00
cuz
c8193d6364 Remove/rename more code
git-svn-id: svn://svn.cc65.org/cc65/trunk@49 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:13:50 +00:00
cuz
78b07cc6f4 Renamed module, part of code no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:11:27 +00:00
cuz
61ca3a4abe Routines no longer used
git-svn-id: svn://svn.cc65.org/cc65/trunk@47 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:06:05 +00:00
cuz
6481395a94 Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@46 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:05:59 +00:00
cuz
66e7d9cd1b Minor optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@45 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:54 +00:00
cuz
01b788b1fc Remove value test code (no longer needed)
git-svn-id: svn://svn.cc65.org/cc65/trunk@44 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 15:48:44 +00:00
cuz
97c9226c1e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@43 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 10:24:28 +00:00
cuz
4744e3602c 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
2000-06-09 12:07:53 +00:00
cuz
84066d5f1c VC++ fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@41 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-09 08:25:15 +00:00
cuz
f24375b241 Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@40 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 21:11:48 +00:00
cuz
048930265c Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@39 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 21:02:46 +00:00
cuz
386c3d412d Fix several VC++ Warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@38 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 20:55:04 +00:00
cuz
612627f5ca Watcom/NT fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@37 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 20:32:44 +00:00
cuz
774b4bb424 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
2000-06-08 20:27:05 +00:00
cuz
012470bdcb Remove paragraph about limitations that do no longer exist
git-svn-id: svn://svn.cc65.org/cc65/trunk@35 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:51:37 +00:00
cuz
7f563d0349 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
2000-06-08 18:45:51 +00:00
cuz
ca815af077 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
2000-06-08 18:35:04 +00:00
cuz
b05c1e1111 Use xsprintf in common library
git-svn-id: svn://svn.cc65.org/cc65/trunk@32 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:18:40 +00:00
cuz
12b2ee8f60 Add #define for MSC
git-svn-id: svn://svn.cc65.org/cc65/trunk@31 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:18:20 +00:00
cuz
874b728ecd Fixed cr/lf handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@30 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:02:13 +00:00
cpg
f49423682e added joytest.c - readjoy test program
git-svn-id: svn://svn.cc65.org/cc65/trunk@29 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:35:44 +00:00
cpg
e8c6996e00 don't import newline
git-svn-id: svn://svn.cc65.org/cc65/trunk@28 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:32:12 +00:00
cpg
87fa3e147f fixed it and saved 1 byte
git-svn-id: svn://svn.cc65.org/cc65/trunk@27 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 22:10:45 +00:00
cpg
68cf78c01d adapted for atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@26 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-07 21:22:30 +00:00
cuz
a168e6ed64 Apply FreeBSD patch (adds comment to Makefile)
git-svn-id: svn://svn.cc65.org/cc65/trunk@25 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-06 17:45:06 +00:00
cuz
522c7e8c46 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
2000-06-03 11:15:11 +00:00
izydorst
5e561a0f40 ?
git-svn-id: svn://svn.cc65.org/cc65/trunk@23 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-02 02:33:28 +00:00
izydorst
dee6b970a1 *** empty log message ***
git-svn-id: svn://svn.cc65.org/cc65/trunk@22 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-02 02:13:19 +00:00
cuz
58a9481d8d Abort on string overflow
git-svn-id: svn://svn.cc65.org/cc65/trunk@21 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:41:28 +00:00
cuz
2d99d910b2 Added xsprint to the watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@20 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:25:05 +00:00
cuz
a561fc35bb Added portability sprintf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@19 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:22:30 +00:00
cpg
ca35829405 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
2000-05-30 22:28:30 +00:00
cpg
d1d9ebe9e7 initialze stdin/stdout/stderr correctly
git-svn-id: svn://svn.cc65.org/cc65/trunk@17 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 22:21:40 +00:00
cpg
247c29f7a5 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
2000-05-30 22:20:01 +00:00
cuz
1a679b3a20 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@15 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 17:40:38 +00:00
cuz
a1c89d9aed 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
2000-05-30 06:31:09 +00:00
cuz
bca9ccd5b8 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
2000-05-29 18:41:25 +00:00
cuz
78057df08b 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
2000-05-29 18:40:56 +00:00
cpg
285c097fdb fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@11 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 21:54:19 +00:00
cpg
5e3b46a37f 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
2000-05-28 21:53:09 +00:00