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

1240 Commits

Author SHA1 Message Date
cuz
d3d9ab428b Added ctype.s to make the isxxx() functions work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:53:47 +00:00
cuz
4c06d021c6 Move startup code to STARTUP segment.
Added several "do nothing" files.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:52:22 +00:00
cuz
9994e60b49 Started to add lynx files contributed by Karri Kaksonen <karri@sipo.fi>
with minor modifications.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:14:19 +00:00
cuz
fed048bf8a Added lynxlib target
git-svn-id: svn://svn.cc65.org/cc65/trunk@3221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 18:11:29 +00:00
cuz
cfe3eda416 Replaced putchar by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-06 21:42:17 +00:00
cuz
cfef8e1e0d Renamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-09-20 10:24:59 +00:00
cpg
3925f0cac9 fix a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-09-15 19:33:52 +00:00
cuz
5681334d52 Fixed a bug: Closing all files on exit did not work
git-svn-id: svn://svn.cc65.org/cc65/trunk@3175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-08-09 10:38:12 +00:00
cuz
8eb898d0d1 Adjust result to user visible size
git-svn-id: svn://svn.cc65.org/cc65/trunk@3159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:18:51 +00:00
cuz
16f2918902 New function heapblocksize()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-17 12:05:36 +00:00
cpg
449e602e12 zap also deletes *.ser and *.mou files
git-svn-id: svn://svn.cc65.org/cc65/trunk@3151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-09 19:46:30 +00:00
cpg
bb9d07430f revert last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@3148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-09 19:23:13 +00:00
cuz
a4c4e995a3 Added lasr.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-05 22:38:21 +00:00
cuz
c122f18605 New code for the shift functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-05 22:24:06 +00:00
cuz
ddf012b94d Changed an error message
git-svn-id: svn://svn.cc65.org/cc65/trunk@3126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:29:31 +00:00
cuz
9b7fcec4b4 Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:06:36 +00:00
cuz
1297374ea7 New module tgi_geterrormsg.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@3122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:02:05 +00:00
cpg
aeadc056c7 one byte space optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3116 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-09 19:53:13 +00:00
cuz
64fdaa4629 Remove dependency on rom.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@3091 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 17:54:15 +00:00
cuz
0b6da0f1e4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3087 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 14:47:21 +00:00
cuz
9e57bb5dd5 Copy the new atmos tgi driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@3081 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 21:28:56 +00:00
cuz
6f14319eb6 TGI driver by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3080 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 21:27:56 +00:00
cpg
f6d59f6e17 prepend a "_" to clib runtime functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3076 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 19:43:11 +00:00
cuz
2de3291ddb Fixed symbol usage
git-svn-id: svn://svn.cc65.org/cc65/trunk@3075 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 17:42:56 +00:00
cuz
9a1bab361f Improvements by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3074 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 15:05:41 +00:00
cpg
61ca515494 small optimization; fix line buffered read of length 0
git-svn-id: svn://svn.cc65.org/cc65/trunk@3065 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-01 20:25:44 +00:00
cuz
5fc98bd69a Comment fixes by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3061 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:35:30 +00:00
cuz
e625fcea95 Small fix by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3059 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:30:27 +00:00
cuz
01a424b70c Added oserrlist.s from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3058 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:27:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
35a099bb81 Rewrote argument parsing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2984 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 08:43:35 +00:00
cuz
2b57b0e4f4 Small speed improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2979 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-19 11:38:51 +00:00
cuz
368cdbf115 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-05 13:36:10 +00:00
cuz
01f864bcf1 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2974 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-05 12:46:51 +00:00
cuz
4ae1e7bbb7 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:43:08 +00:00
cuz
b67169c979 Fixed NTSC/PAL issue
git-svn-id: svn://svn.cc65.org/cc65/trunk@2972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 20:42:34 +00:00
cuz
61238a6c4c Small fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@2971 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:29:10 +00:00
cuz
0d7cf8ebce Use new callirq function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:28:57 +00:00
cuz
5e50355f2a Ignore mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2969 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:28:26 +00:00
cuz
526b10147d Added a specialized callirq routine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2968 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 14:15:45 +00:00
cuz
71cdffebdd Applied a graphics driver bugfix sent by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2967 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-04 12:30:50 +00:00
cuz
e4de88958e Loadable mouse driver for the C128
git-svn-id: svn://svn.cc65.org/cc65/trunk@2966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 17:27:48 +00:00
cuz
663bce6cd7 Change MOVE routine calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2965 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 16:44:39 +00:00
cuz
a8ec7aafae Removed unused file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 15:22:57 +00:00
cuz
e4554505d6 Optimized the condes routine, because it is used to schedule interrupt
handlers on many platforms, so too many cycles are evil.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-25 07:58:58 +00:00
cuz
5e1bbfce87 New mouse API
git-svn-id: svn://svn.cc65.org/cc65/trunk@2959 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:56:13 +00:00
cuz
cfe8c8d934 Removed the old mouse module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2958 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:55:35 +00:00
cuz
31595342d6 Mouse driver implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:54:24 +00:00
cuz
5f3ed8826f Added an interrupt facility similar to that on the C128 and Plus/4
git-svn-id: svn://svn.cc65.org/cc65/trunk@2956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:50:15 +00:00
cuz
461696e15f Wrapper for mouse_box
git-svn-id: svn://svn.cc65.org/cc65/trunk@2955 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:49:37 +00:00
cuz
e5854b0d7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 20:37:40 +00:00
cuz
3bfbaee6a6 Working on loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
izydorst
e1b4d06d28 - fixed wrong parameters for <, >
git-svn-id: svn://svn.cc65.org/cc65/trunk@2944 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-19 23:03:21 +00:00
cpg
098dfa2168 recognize MyDOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 22:48:20 +00:00
cpg
550afe3afa add MyDOS detection (from Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2935 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 22:47:50 +00:00
cuz
278b62832e New mouse show/hide routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 19:27:48 +00:00
cpg
5f4a3742e6 add MyDOS error codes, contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2932 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-15 21:08:08 +00:00
cpg
d54081896a adapt to new value of dummy error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2931 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-15 21:02:04 +00:00
cuz
c7eaae5d07 New apple2enh target library
git-svn-id: svn://svn.cc65.org/cc65/trunk@2927 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:35 +00:00
cuz
1b588fd831 apple2enh fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2926 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:22 +00:00
cuz
3e6393c279 Added a Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:25:11 +00:00
cuz
0008f12107 Contributed files from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@2920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:42:44 +00:00
cuz
a942017c96 Remove break registers as absolute variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@2919 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:41:30 +00:00
cuz
175cba5701 Fixed key definitions (were removed from apple2.h)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:35:47 +00:00
cuz
a57deeb58a Reworked version by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@2913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-11 21:54:22 +00:00
cuz
7a5d4f3138 Fixed issues with the last change: The return code must be pulled from stack
before the stack pointer is reset.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-08 20:38:58 +00:00
izydorst
d923233a53 - fixed bug which prevented DrawPoint/Line from drawing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 17:13:52 +00:00
cuz
af461406cb Fix: No ST constant available
git-svn-id: svn://svn.cc65.org/cc65/trunk@2885 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 17:10:43 +00:00
cuz
220e5a3898 Place the return code into ST
git-svn-id: svn://svn.cc65.org/cc65/trunk@2884 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 17:08:07 +00:00
cuz
910f9277ac Place the return code into ST
git-svn-id: svn://svn.cc65.org/cc65/trunk@2883 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-02 16:59:52 +00:00
cuz
be5adac693 Use the assembler version as BASIC line number, so the version of the
assembler (and probably compiler) can be determined from a compiled
executable. Nice idea from Stefan Haubenthal.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2880 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 13:34:12 +00:00
cuz
f0250724a1 Working on the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2879 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:26:50 +00:00
cuz
5ed647b99e New joystick driver contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2878 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:23:45 +00:00
cuz
e717b44d4d Fixes/improvements from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2873 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-09 17:39:55 +00:00
cuz
1b73d9d254 New module from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2870 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:24:37 +00:00
cuz
d237a9fa23 Remove an unused include
git-svn-id: svn://svn.cc65.org/cc65/trunk@2867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:14:43 +00:00
cuz
7bea8431e2 Two fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2866 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:12:01 +00:00
izydorst
e94afbc0dd added ExitTurbo before showing DlgBox - this allows for safe recover after ActionReplay freeze
git-svn-id: svn://svn.cc65.org/cc65/trunk@2865 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-02 23:28:00 +00:00
cuz
d428d3cec7 More mouse functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2859 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 19:14:17 +00:00
cuz
904780547c More mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 08:08:07 +00:00
cuz
30d99a4d56 New loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:25:15 +00:00
cuz
96ef6d828f PET-II improvements
git-svn-id: svn://svn.cc65.org/cc65/trunk@2849 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 18:35:00 +00:00
cuz
7c609c4e8e Fix an incomplete statement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 19:31:23 +00:00
cuz
dada43f570 More cbm510 changes to make file I/O and kernal access work
git-svn-id: svn://svn.cc65.org/cc65/trunk@2846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 16:11:14 +00:00
cuz
40a48c59b8 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2845 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 16:10:53 +00:00
cuz
63437207a1 Use direct access to the position variables, since gotoxy uses them also.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2844 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 15:51:11 +00:00
cuz
1af46f9998 The RAM driver operates of course in bank #1 (not #2)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2843 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 15:46:23 +00:00
cuz
f3b1ddfe8a Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2842 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-27 14:32:37 +00:00
cuz
dbbc0032e8 Started to remove obsolete RS232 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:44:52 +00:00
cuz
8636914964 Cleanup and preparation for the new design
git-svn-id: svn://svn.cc65.org/cc65/trunk@2839 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:43:18 +00:00
cuz
b9327d23f8 Removed the old rs232 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:05:25 +00:00
cuz
a60eebad94 Copy the atari joystick driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2824 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 23:19:27 +00:00
cuz
99d1516b86 Prodos does only allows dots in filenames
git-svn-id: svn://svn.cc65.org/cc65/trunk@2821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 21:37:36 +00:00
cuz
97494bc1f3 Design change: Do keyboard polling internally without calling the kernal
in the system bank. For one this performs better (several %), second it
allows to handle the function keys in conformance with other platforms.
Without the custom keyboard routine, we would have to apply some more
magic to the function keys to make them work as with other cc65 targets.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2811 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 18:43:25 +00:00
cuz
028d03b482 Fix a kernal problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2810 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 13:13:26 +00:00
cuz
b7c203856b Fix a Plus/4 kernal problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2809 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 13:11:55 +00:00
cuz
acf1962312 New extended memory driver contributed by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 11:02:52 +00:00
cuz
cf49ca3d0a New mainargs module from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2804 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 10:56:34 +00:00
cuz
16f737af65 Minor changes and cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2796 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:38:42 +00:00
cuz
a7042ddbe4 Complete redesign of the CBM610 support.
Use wrappers to call the kernal in bank 15 instead of implementing kernal
functionality within the cc65 libs (eats performance but is much smaller and
simpler).
Improved startup/shutdown code allows a return to the system bank without
calling the BASIC cold start vector.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:13:26 +00:00
cuz
018a68a2fe Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2792 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:11:30 +00:00
cuz
fa71c0582e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2791 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 22:16:10 +00:00
cuz
e2e6a62e5c Debugged the driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 19:09:30 +00:00
cuz
290de026d1 Changed chip register names, fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 23:04:30 +00:00
cuz
96b5da41f1 Invalid error codes will set errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@2784 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 18:45:26 +00:00
cuz
4b5cd3b981 Fixed variable names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2783 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 12:39:21 +00:00
cuz
bd9328115d Restructuring, added first version of IEC routines (untested)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2782 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 00:12:44 +00:00
cuz
cbc53423c5 kiec.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2781 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-19 00:12:08 +00:00
cuz
c92b4ac06c Changes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2780 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-18 17:41:57 +00:00
cuz
ae8c0dc667 Use new decls
git-svn-id: svn://svn.cc65.org/cc65/trunk@2779 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-17 09:28:28 +00:00
cuz
b15e4106dc Use new joystick decls
git-svn-id: svn://svn.cc65.org/cc65/trunk@2777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 22:38:12 +00:00
cuz
cb9a4e91e1 Use .repeat to unroll the loop.
Squeeze out two bytes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:10:18 +00:00
cuz
5010b8be45 Use changed EM decls
git-svn-id: svn://svn.cc65.org/cc65/trunk@2773 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-16 21:08:13 +00:00
cuz
422ebf76fb Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2764 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-15 23:06:05 +00:00
cuz
1c6de7dab2 New EM driver for the C16
git-svn-id: svn://svn.cc65.org/cc65/trunk@2762 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-15 21:10:24 +00:00
cuz
f210f6db1c Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 18:57:08 +00:00
cuz
e43e9ff7f1 Serial support for the Plus/4
git-svn-id: svn://svn.cc65.org/cc65/trunk@2756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:42:41 +00:00
cuz
9f48c6509c Don't use callax because condes is called in interrupt handlers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2755 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:41:27 +00:00
cuz
ad6a85b255 Added a serial driver for the builtin 6551 of the Plus/4 (untested, but taken
mostly from the C64 version which is tested and works).
Improved interrupt handling (was needed for the driver).


git-svn-id: svn://svn.cc65.org/cc65/trunk@2754 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:40:57 +00:00
cuz
ba079ae6a1 Added an IRQ vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@2753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 17:39:22 +00:00
cuz
042c63f278 Squeezed one precious byte out of the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 20:55:37 +00:00
cuz
3b69c2fd21 Small size optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 15:16:11 +00:00
cuz
aa030c8e6c Ignore serial binary drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:03:10 +00:00
cuz
fb09db833e Added C128 swiftlink driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:02:48 +00:00
cuz
baa1c2060d Use SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 11:02:07 +00:00
cuz
bac72d6b60 Add SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 23:28:58 +00:00
cuz
6ef711ed04 Fixed apple2 tgi names
git-svn-id: svn://svn.cc65.org/cc65/trunk@2726 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-10 07:57:48 +00:00
cuz
8579e0ec01 New apple2 tgi driver from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2724 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-09 20:46:38 +00:00
cuz
7ef718d69e Update from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-05 18:29:06 +00:00
cuz
298767d71a Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:54:43 +00:00
cuz
a1092ca7da Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 20:23:09 +00:00
cuz
4fa1f8ba97 Use structs/enums
git-svn-id: svn://svn.cc65.org/cc65/trunk@2709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:57:27 +00:00
cuz
c15fd58d3b Use structs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:15:33 +00:00
cuz
d7cbbc6f46 Clear high byte of returned value
git-svn-id: svn://svn.cc65.org/cc65/trunk@2689 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-28 15:53:24 +00:00
cuz
20582afca5 Patches by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-26 21:17:29 +00:00
cpg
353b7e66a1 implement DEFAULT_DEVICE support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:41:01 +00:00
cpg
06d79d06df fix newfd comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:40:08 +00:00
cpg
83c2a8d517 DEFAULT_DEVICE; replaced some spaces with tabs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:39:16 +00:00
cpg
178b188eac use tmp4 instead of tmp2; tmp2 might now be used by ucase_fn()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2666 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 22:37:17 +00:00
cuz
227f4a7bc2 Removed useless __errno imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@2657 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 00:12:56 +00:00
cuz
017fc00dc9 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:41:47 +00:00
cuz
905c0e6ef8 New TGI driver by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:41:09 +00:00
cuz
9b24bbc85c Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:40:54 +00:00
cuz
ad2c6a0e18 Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:07:08 +00:00
cuz
f8c840fc55 Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:56:16 +00:00
cuz
7cafe5bbde Removed the HORLINE entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@2646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:54:41 +00:00
cuz
94e041264e Optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2642 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 22:33:42 +00:00
cuz
4b5bf0e3c2 Fix doubtful syntax which causes warnings with new assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@2632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 10:01:27 +00:00
cuz
4698646a64 Use new assembler syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@2631 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 10:00:15 +00:00
cuz
99cca3618c Use new assembler syntax
git-svn-id: svn://svn.cc65.org/cc65/trunk@2629 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 23:00:22 +00:00
cuz
6966ccda7e Fixed the return code of fgetpos and ftell.
Made lots of functions __fastcall__.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 18:04:07 +00:00
cpg
6fda5c6ef7 fix returned X register value (patch by Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2612 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-05 16:41:11 +00:00
cuz
7f12a14e12 Removed emulation for BAR
git-svn-id: svn://svn.cc65.org/cc65/trunk@2605 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 17:39:00 +00:00
cuz
9c04edfaaa Make qsort __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2585 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:59:19 +00:00
cuz
76bbc48b99 Make bsearch __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2584 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 21:51:59 +00:00
cuz
64c3e5fd73 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2580 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 19:00:13 +00:00
cuz
6d8cdae722 Runtime function improvements by Piotr Fusik
git-svn-id: svn://svn.cc65.org/cc65/trunk@2577 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 08:47:47 +00:00
cuz
da6d928afb Use ROM variables MAX_X/MAX_Y
git-svn-id: svn://svn.cc65.org/cc65/trunk@2575 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-24 18:39:48 +00:00
cuz
ed2dfd50e9 Added TEXT entry point, use new assignment operator
git-svn-id: svn://svn.cc65.org/cc65/trunk@2572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 10:02:59 +00:00
cuz
d168bbdb93 DONE/GETPALETTE/GETDEFPALETTE must no longer return an error code.
Used TGI_API_VERSION.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:50:57 +00:00
cuz
d5dc5a7552 DONE does no longer set an error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:38:51 +00:00
cuz
ca72fb45b4 DONE, GETPALETTE and GETDEFPALETTE will no longer return errors.
Use TGI_API_VERSION.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2568 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:29:12 +00:00
cuz
24d58573fe GETDEFPALETTE will no longer return an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@2567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:28:01 +00:00
cuz
e3e7ef9701 Used TGI_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:05:50 +00:00
cuz
2c7218b5d9 Fixed a bug in memcpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 21:04:22 +00:00
cuz
b7b9455fcd Fixed problem with tgi_init and tgi_setpalette
git-svn-id: svn://svn.cc65.org/cc65/trunk@2553 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-21 10:03:09 +00:00
cuz
096d23ccf0 Use the new := operator
git-svn-id: svn://svn.cc65.org/cc65/trunk@2543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:53:14 +00:00
cuz
3f06947b36 Squeeze two cycles out of the abs() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:59:00 +00:00
cuz
23c35f27f8 Improved 65c02 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2507 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:52:12 +00:00
cuz
1a82023fef Replaced /bin/bash0 by new CT_NONE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:59:58 +00:00
cuz
cf49904e69 Added ctype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2498 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:59:41 +00:00
cuz
6afee6fb05 New target supervision
git-svn-id: svn://svn.cc65.org/cc65/trunk@2497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:44:20 +00:00
cuz
5cc79eaf15 Squeezed a few bytes out of the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:09:24 +00:00
cuz
c5e5205e94 Make setlocale __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-02 21:44:56 +00:00
cuz
0f658a210f Add zlib modules for all platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@2465 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 20:59:06 +00:00
cuz
ed6a2f5c86 New joystick driver, converted from c64 one
git-svn-id: svn://svn.cc65.org/cc65/trunk@2458 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:41:15 +00:00
cuz
873d9adde9 Use symbolic names instead of numbers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-28 21:39:20 +00:00
cuz
5a0041df7a Added two more joystick drivers from groepaz
git-svn-id: svn://svn.cc65.org/cc65/trunk@2454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-27 20:14:31 +00:00
cuz
86a2019c50 Fixed sprite expand registers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-25 18:50:14 +00:00
cuz
03560318ef Make the stuff compile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-23 20:11:39 +00:00
cuz
73941d8f48 New version from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-23 20:05:32 +00:00
cuz
fe37c38972 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 09:48:10 +00:00
cuz
a7acdf7072 Fixed a bug, splitted the where.s module into wherex.s and wherey.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2415 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-26 20:14:43 +00:00
cuz
676e8ff513 Working on the serial driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-25 14:52:46 +00:00
cuz
296b417502 API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-22 11:23:48 +00:00
cuz
bc9f2678a2 Fixed a problem and a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-21 20:35:26 +00:00
izydorst
2c56da70fe reverted last change, it was nonsense considering how functions are called
git-svn-id: svn://svn.cc65.org/cc65/trunk@2392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:19:59 +00:00
izydorst
e1c6745c9a fixed a bug (joy #1 would never be tested)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2390 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:09:39 +00:00
cuz
e5613ad9eb Ignore intermediate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2388 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:06:04 +00:00
cuz
6c65ea7d4a memcpy and memmove have been split
git-svn-id: svn://svn.cc65.org/cc65/trunk@2386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 12:04:31 +00:00
cuz
a3109620ab Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:59:27 +00:00
cuz
3ef773058d Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:51:44 +00:00
cuz
2d168babe9 Split memcpy and memmove, since the former is used a lot more often than
the latter.
Optimized the code for smaller size and greater speed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 10:17:53 +00:00
izydorst
78908d8421 removed redundant code; memset == FillRam, bzero == ClearRam with proper return values
git-svn-id: svn://svn.cc65.org/cc65/trunk@2376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 22:56:55 +00:00
izydorst
0ce4187e0e small optimization, 5 bytes saved
git-svn-id: svn://svn.cc65.org/cc65/trunk@2372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 22:38:01 +00:00
cuz
833702e25f Speed optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 11:25:31 +00:00
izydorst
f0e0c9007c documentation updates, EnterDesktop() is equal to exit(0)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 00:05:49 +00:00
izydorst
8426c00f11 fixes for quiet rm on *BSD OSes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 23:43:20 +00:00
cuz
3a78b76b95 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 20:15:01 +00:00
cpg
93f1a5b61a renamed remove.s to sysremove.s and adapted it for common/remove.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:56:14 +00:00
cpg
88243a0b26 renamed remove.o to sysremove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:46 +00:00
cpg
5c712d2087 added dummy error code 177 for sysremove
git-svn-id: svn://svn.cc65.org/cc65/trunk@2352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 19:54:05 +00:00
izydorst
aa87296c1f PutDecimal takes unsigned int as decimal parameter
git-svn-id: svn://svn.cc65.org/cc65/trunk@2350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:54:15 +00:00
izydorst
1c4a581284 boxes with icons don't need click vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@2348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:49:05 +00:00
izydorst
1390fe6edd new MessageBox function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 14:34:05 +00:00
cuz
c52034c59a Cleanup use of predefined data types / defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-16 08:23:01 +00:00
izydorst
b45d25d60f same drawing mode extension like for DrawLine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 23:29:23 +00:00
izydorst
4afe11d314 include omission
git-svn-id: svn://svn.cc65.org/cc65/trunk@2337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:34:07 +00:00
izydorst
9c444a4947 fixed Sleep behavior (now truly works)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:20:45 +00:00
izydorst
c40519859a retouch ('coz I'm not sure if it is in the head)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:19:32 +00:00
izydorst
5b3230c65f fixed problem with I/O access on C64
git-svn-id: svn://svn.cc65.org/cc65/trunk@2333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 22:17:13 +00:00
cuz
d697ff8030 Removed the readjoy module - it was obsolete
git-svn-id: svn://svn.cc65.org/cc65/trunk@2332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:23:32 +00:00
cuz
74b3b70805 Ignore .ser files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:20:07 +00:00
cuz
5efa39491a Working on the serial driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:17:36 +00:00
izydorst
1ce25913dd fixed bug in DrawLine function; extended DrawLine behavior
git-svn-id: svn://svn.cc65.org/cc65/trunk@2326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:55:37 +00:00
izydorst
a0209d0a86 fixed null parameter handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@2325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:54:57 +00:00
izydorst
bc6dadb3db added sleep() implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:24:20 +00:00
izydorst
b499757ee4 geos/process/sleep.s renamed to processsleep.s due to nameclash with common file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:16:01 +00:00
izydorst
476d47dd46 sleep.s renamed to processleep.s due to nameclash with common sleep
git-svn-id: svn://svn.cc65.org/cc65/trunk@2322 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 19:14:55 +00:00
cuz
00b4316ee3 Added first version of swiftlink driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@2321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 12:05:56 +00:00
cuz
6f986fd8ac Build remove.o
git-svn-id: svn://svn.cc65.org/cc65/trunk@2304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 07:31:01 +00:00
cpg
624b88e976 use callmain; don't call getargs, it's now called from initlib
(it's now a constructor)


git-svn-id: svn://svn.cc65.org/cc65/trunk@2298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:59:51 +00:00
cpg
cfa26a93be dosdetect.o, getdefdev.o: new object files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:57:50 +00:00
cpg
645413f431 moved into its own module from getargs.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:55 +00:00
cpg
964f4fcc06 move getdevdef and DOS detection into their own modules; renamed
getargs to initmainargs and constructorfied it


git-svn-id: svn://svn.cc65.org/cc65/trunk@2295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:56:09 +00:00
cpg
ec9b710688 this file is now in asminc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:52:24 +00:00
cuz
f78fce218c Added get_ostype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:48:31 +00:00
cuz
deeecae2ce Added get_ostype.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@2289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:42:03 +00:00
cuz
4e76d0155d New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:24:02 +00:00
izydorst
7cc6ab0c16 fixed line drawing routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:39:39 +00:00
cuz
8bc9f321ec New uname function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 14:24:34 +00:00
cuz
6fcf735744 Fixes to the code just written
git-svn-id: svn://svn.cc65.org/cc65/trunk@2276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:58:17 +00:00
cuz
8bfaa09b77 Added a getcwd function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:51:11 +00:00
cuz
20e805a124 New error code ERANGE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:48:45 +00:00
cuz
ad569c8f2f New chdir() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:24:25 +00:00
cuz
b7d7e6bb04 Moved reusable parts of remove into oserrcheck.
Rewrote remove().
Added rename().


git-svn-id: svn://svn.cc65.org/cc65/trunk@2272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 13:06:43 +00:00
cuz
26201161dd Use new --forget-inc-paths in Makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@2244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 12:04:59 +00:00
izydorst
98ef42aeaf tmp1 is on zeropage hence correct .importzp
git-svn-id: svn://svn.cc65.org/cc65/trunk@2232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-21 18:03:14 +00:00
cuz
c63d25f43f Renamed one letter label
git-svn-id: svn://svn.cc65.org/cc65/trunk@2223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-17 20:52:33 +00:00
cuz
b50ac78a2a read is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@2220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 19:59:13 +00:00
cuz
c798c18088 clean: includes serial/
git-svn-id: svn://svn.cc65.org/cc65/trunk@2219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 19:58:56 +00:00
cuz
a8534fbb7c sleep.c doesn't compile on platforms without a clock function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:46 +00:00
cuz
286a9e3f8a lseek is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@2217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:17:25 +00:00
cuz
a1d914d52d Restructured former fcntl.h, added new include files unistd.h and sys/types.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:08:23 +00:00
cuz
86881f6b38 Make sleep() __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:13:35 +00:00
cuz
7c29033b58 Added creat()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:10:50 +00:00
cuz
737bf33c38 Added unlink()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:43:57 +00:00
cuz
d8449e18cd Added sleep.c from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 08:28:54 +00:00
cuz
ea7b1f5312 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 12:15:57 +00:00
cuz
6e301bc88e Added remove()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2187 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:10:54 +00:00
cuz
7b3f6f9369 Rewrote vprintf in assembler and made it __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:08:26 +00:00
cuz
975eefc7c2 Added a dummy system() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 18:23:38 +00:00
cuz
487ded2ce2 New mainargs.s from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-25 11:46:21 +00:00
cuz
3b3e1bec17 Removed the empty LOWCODE segments from the startup files. This is now
handled by the OPTIONAL segment attribute in the linker config.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:32:04 +00:00
cuz
93d37754fc Handle high 128 chars equal to lower ones
git-svn-id: svn://svn.cc65.org/cc65/trunk@2163 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-22 22:24:59 +00:00
izydorst
741362f830 forgotten name change; fixed to return more verbose information instead of boolean true/false
git-svn-id: svn://svn.cc65.org/cc65/trunk@2161 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-16 15:26:49 +00:00
cuz
43f59de557 Redid the last change, because it was bug (A must be saved across the call)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2157 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-13 10:00:39 +00:00
cuz
32389dc678 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:19:48 +00:00
cuz
ebb44b8a4f Another small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:07:14 +00:00
cuz
62dbbcc4b6 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 17:05:22 +00:00
cuz
7b4d3b9a9f Improved ctype.s from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@2148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 09:04:36 +00:00
cuz
cd4a9e3fb0 Fixed a problem with clock() (Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2147 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-05 08:20:07 +00:00
cuz
1cdb90926a Replaced the incsp functions by faster (but slightly larger) versions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2146 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:34:16 +00:00
cuz
cfe7a8c246 Another small improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@2145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:27:20 +00:00
cuz
c0ca2e2a62 Improved strncpy
git-svn-id: svn://svn.cc65.org/cc65/trunk@2144 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-04 22:21:13 +00:00
cuz
c09ecf0efd Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-03 08:49:51 +00:00
izydorst
788deefec9 fix for name copying - the 16th byte would be overwritten
git-svn-id: svn://svn.cc65.org/cc65/trunk@2134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 21:14:40 +00:00
izydorst
2c825f2bb3 support for arguments (with DeskTop drag&drop feature)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 20:16:32 +00:00
cuz
55d0596aba Use stdio.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2132 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 16:01:03 +00:00