1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-08 13:04:52 +00:00
Commit Graph

2729 Commits

Author SHA1 Message Date
cpg
16634884af fix comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3054 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:05:01 +00:00
cpg
e13ad6372c LINEBUF
git-svn-id: svn://svn.cc65.org/cc65/trunk@3053 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:04:33 +00:00
cpg
0b658d7319 implement line buffered reads, optional with LINEBUF define
git-svn-id: svn://svn.cc65.org/cc65/trunk@3052 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-28 22:01:14 +00:00
cuz
ef6a034153 Removed unused modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@3051 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-27 14:20:16 +00:00
cuz
fedb566ff1 Some renaming and restructuring
git-svn-id: svn://svn.cc65.org/cc65/trunk@3050 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-26 16:15:28 +00:00
cuz
4f024ca81b Added a missing include
git-svn-id: svn://svn.cc65.org/cc65/trunk@3049 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-26 13:55:48 +00:00
cuz
72923eb316 Generate assembler names for symbols
git-svn-id: svn://svn.cc65.org/cc65/trunk@3048 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-26 13:44:53 +00:00
cuz
2cdef2d58f Add standard names for library functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3047 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-26 13:42:19 +00:00
cuz
878e4f1352 Changed the expression parser to return the lvalue flag as part of the
ExprDesc structure, not as separate value.
WARNING: The current code does compile but does not work correctly, because
the lvalue flag is part of ExprDesc.Flags and not masked out in several tests
throughout the code.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3046 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-25 20:59:38 +00:00
cuz
c885a814c7 ungetc is now available
git-svn-id: svn://svn.cc65.org/cc65/trunk@3044 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 20:58:37 +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
556b861640 Better error messages in case of a range error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3042 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 15:05:51 +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
a2ac5ec13c Export __seterrno
git-svn-id: svn://svn.cc65.org/cc65/trunk@3040 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-14 09:44:42 +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
bfdfd83fde __seterrno is now a common function available on all platforms with slightly
different calling conventions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3038 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:56:31 +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
cuz
8f7b91eea6 Use a subroutine to set errno to save some space.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3032 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-13 21:09:08 +00:00
cuz
7a9cabe279 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3031 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 22:09:51 +00:00
cuz
ca4213daf4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3030 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:18:00 +00:00
cuz
424e9fedc8 Mouse position no longer contained in the header
git-svn-id: svn://svn.cc65.org/cc65/trunk@3029 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:17:34 +00:00
cuz
d2351bba49 Added pushback char to struct FILE
git-svn-id: svn://svn.cc65.org/cc65/trunk@3028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 13:16:36 +00:00
cuz
51d536da7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 12:58:25 +00:00
cuz
4d4b29a573 Atari joystick driver filename fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@3026 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 08:53:24 +00:00
cuz
b58b62c77e Better error messages
git-svn-id: svn://svn.cc65.org/cc65/trunk@3025 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-12 08:51:58 +00:00
cpg
5d500fa56a change Atari joystick driver name
git-svn-id: svn://svn.cc65.org/cc65/trunk@3024 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 21:38:41 +00:00
cpg
936e510d48 driver name is ataristd.joy
git-svn-id: svn://svn.cc65.org/cc65/trunk@3023 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 21:25:10 +00:00
cuz
19b9305f02 Added 6502 illegal instructions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3022 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 20:32:36 +00:00
cpg
86960297c3 return correct joystick count for XL and newer machines -- patch from
Stefan Haubenthal


git-svn-id: svn://svn.cc65.org/cc65/trunk@3021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-11 19:31:14 +00:00
cuz
e7f2009fcd Added the new --list-bytes option
git-svn-id: svn://svn.cc65.org/cc65/trunk@3020 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-10 21:53:37 +00:00
cuz
1a68dd715a New --list-bytes option
git-svn-id: svn://svn.cc65.org/cc65/trunk@3019 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-10 21:50:13 +00:00
cuz
ab78147991 Fixed a small memory leak
git-svn-id: svn://svn.cc65.org/cc65/trunk@3018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-10 21:06:53 +00:00
cuz
0effd47c41 Add 6502X cpu
git-svn-id: svn://svn.cc65.org/cc65/trunk@3017 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-10 09:32:01 +00:00
cuz
1286c79d85 Added CPU_6502X for 6502 with illegal opcodes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-09 21:06:36 +00:00
cuz
7d8b69f6f0 Document the new curly braces feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@3015 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-09 20:28:43 +00:00
cuz
b10b7cd3e8 Fixed a problem with {} enclosed token lists and implemented them for
.blank and .tcount.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3014 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-09 20:24:51 +00:00
cuz
fdb685b874 Allow token lists to be optionally enclosed in curly braces. Using such
enclosement, tokens that would otherwise terminate the list can be part
of the list.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3013 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-09 19:45:07 +00:00
cuz
df07cf1114 New module joy_stddrv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3008 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-06 08:16:14 +00:00
cuz
86b00e8157 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3007 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 21:01:12 +00:00
cuz
d7234541e2 Fixed compiler warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@3006 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 19:17:10 +00:00
cuz
fe9c53730c The type parser didn't check bounds for the type string it created in a
fixed size buffer.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3005 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 09:57:05 +00:00
cuz
4add4c3396 More output when using -v.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3004 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 09:50:27 +00:00
cuz
aa5a3035ef New test program arg-test.c
git-svn-id: svn://svn.cc65.org/cc65/trunk@3003 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-02 00:53:39 +00:00
cuz
1ae117fed8 Fixed a bug in the handling of ranges where the granularity is not one: An
internally generated label could disrupt the output of such a range by
adding an offset not equal to the granularity. The solution is to only
add dependent labels within such a range on all addresses that do not
match the granularity (odd addresses for a .word table for example).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3002 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-29 14:00:28 +00:00
cuz
3ccd9f97c7 Use .addr for address tables
git-svn-id: svn://svn.cc65.org/cc65/trunk@3001 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 20:52:28 +00:00
cuz
fd80d1e7c9 Added command line param evaluation
git-svn-id: svn://svn.cc65.org/cc65/trunk@3000 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:16:41 +00:00