1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
Commit Graph

2715 Commits

Author SHA1 Message Date
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
cuz
2ed253d417 Command line arguments are now supported
git-svn-id: svn://svn.cc65.org/cc65/trunk@2999 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:08:54 +00:00
cuz
f77feb7452 Added the mouse_move module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:06:14 +00:00
cuz
feff4843ed Copy mouse drivers using new names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2997 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:06:00 +00:00
cuz
29d453d5dd Added routine to parse command line args
git-svn-id: svn://svn.cc65.org/cc65/trunk@2996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:05:30 +00:00
cuz
215955ecba Added address of FETCH routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2995 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:03:09 +00:00
cuz
e68196c252 Add command line evaluation for the Plus/4
git-svn-id: svn://svn.cc65.org/cc65/trunk@2994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:57:50 +00:00
cuz
c62b4ae73f Rename INBUF to FNBUF, add basic buffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@2993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:55:43 +00:00
cuz
dadaf734af Rename FNAM_ADR to FNAM, use new := operator for addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@2992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 11:53:59 +00:00
cuz
2ca1fbab34 The C128 runtime now takes command line arguments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2991 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:53:30 +00:00
cuz
6211fe8205 New command line parsing routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2990 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:48:06 +00:00
cuz
6aae136a00 Set FNAM_BANK *after* calling constructors
git-svn-id: svn://svn.cc65.org/cc65/trunk@2989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:47:57 +00:00
cuz
657f495500 Use new := operator, added a few addresses
git-svn-id: svn://svn.cc65.org/cc65/trunk@2988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:47:33 +00:00
cuz
28eec78cad Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 09:10:23 +00:00
cuz
9d9c45a1f7 Fixed a problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2986 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 08:57:46 +00:00