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

410 Commits

Author SHA1 Message Date
cuz
aa0c3bbf81 New function tgi_geterrormsg
git-svn-id: svn://svn.cc65.org/cc65/trunk@3125 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-15 09:08:39 +00:00
cuz
f0b8ea1e14 Fixed a problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@3092 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-04 21:25:54 +00:00
cpg
ebb463fd41 finish last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@3078 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 19:46:16 +00:00
cpg
92621abb86 rename backwards compatibility define
git-svn-id: svn://svn.cc65.org/cc65/trunk@3077 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-03 19:45:50 +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
df4289cd34 Small addition by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3060 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 19:31:53 +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
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
3d8aa8c7d8 Added a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2976 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-08 17:43:28 +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
cuz
3266110927 Platform dependent FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@2952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:10:42 +00:00
cuz
be9ddfd33e mouse_set_callbacks doesn't return anything
git-svn-id: svn://svn.cc65.org/cc65/trunk@2938 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-18 09:42:44 +00:00
cuz
b5fe24f255 Added CH_ENTER
git-svn-id: svn://svn.cc65.org/cc65/trunk@2937 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-18 09:42:02 +00:00
cuz
847e1c62eb Minor fixes for the new apple2enh target
git-svn-id: svn://svn.cc65.org/cc65/trunk@2924 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 23:17:19 +00:00
cuz
0358a14d1f Additional I/O chips added by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2923 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 22:51:29 +00:00
cuz
fd7e7f8e73 New header file from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2922 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 22:46:29 +00:00
cuz
3846e8c536 Fixed inclusion order
git-svn-id: svn://svn.cc65.org/cc65/trunk@2918 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 21:39:01 +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
18a2904921 Added mouse_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@2898 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 18:33:56 +00:00
izydorst
2b66c5e131 - comment fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2896 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-05 17:11:57 +00:00
cuz
51aec21c23 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2874 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-20 21:33:23 +00:00
cuz
5c3b1be529 Removed a few em driver remanents
git-svn-id: svn://svn.cc65.org/cc65/trunk@2868 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-01-04 21:15:23 +00:00
cuz
8d4c661c75 Make mouse driver loadable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:26:11 +00:00
cuz
7e43e5e0e1 New style mouse routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2850 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:05:06 +00:00
cuz
a51631bdcd Removed macro that didn't work
git-svn-id: svn://svn.cc65.org/cc65/trunk@2836 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-23 20:21:45 +00:00
cuz
d19a31626c Added _ted.h header file and TED definition
git-svn-id: svn://svn.cc65.org/cc65/trunk@2761 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 22:03:20 +00:00
cuz
be3ebfd08c Add VDC definition
git-svn-id: svn://svn.cc65.org/cc65/trunk@2760 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-14 22:03:08 +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
9409de20a6 New mode for the apple ][
git-svn-id: svn://svn.cc65.org/cc65/trunk@2645 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 15:46:00 +00:00
cuz
ad1ada49ac Made lots of functions __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 18:04:21 +00:00
cuz
004adaaac2 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2611 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 19:26:24 +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
b7bf38482d tgi_pagecount returns an unsigned, not void
git-svn-id: svn://svn.cc65.org/cc65/trunk@2581 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-29 19:00:42 +00:00
cuz
3531023e22 getpalette and getdefpalette may no longer return a NULL pointer.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 09:30:37 +00:00
cuz
c25385afa2 Fixed _HAVE_off_t
git-svn-id: svn://svn.cc65.org/cc65/trunk@2554 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-21 19:54:35 +00:00
cpg
91f62f4849 removed unimplemented _atari_xxxcolor function declarations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2552 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-20 18:51:04 +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
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
0bd0fb695a Removed comment about old va_fix macro
git-svn-id: svn://svn.cc65.org/cc65/trunk@2464 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 20:58:24 +00:00
cuz
6fd17983ad Introduce COLOR_PURPLE as an alias for COLOR_VIOLET
git-svn-id: svn://svn.cc65.org/cc65/trunk@2462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 17:56:06 +00:00
cuz
c59eb6a6bd New header file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 17:52:27 +00:00
cuz
5ce2540db5 Fixed wrong register assignments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2450 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-25 18:47:28 +00:00
izydorst
2e1db7ae38 removed unnecessary __fastcall__s, some minor cleanups
git-svn-id: svn://svn.cc65.org/cc65/trunk@2420 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-28 20:51:38 +00:00
cuz
1c2bea7c13 Added get_ostype
git-svn-id: svn://svn.cc65.org/cc65/trunk@2417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-26 20:36:44 +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
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
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
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
cuz
09c208ee67 Baud rate #define changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 21:22:58 +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
cpg
73ab1ef8a9 fix CH_CROSS definition
git-svn-id: svn://svn.cc65.org/cc65/trunk@2313 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 14:15:41 +00:00
cpg
0d0977ff69 added _dos_type with defines and getdefdev()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 20:02:01 +00:00
cuz
651e82ac78 New get_ostype function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 17:40:37 +00:00
cuz
60a9a57f06 New field length, added suggestions about contents
git-svn-id: svn://svn.cc65.org/cc65/trunk@2284 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 16:56:54 +00:00
cuz
091207c331 Add getcwd
git-svn-id: svn://svn.cc65.org/cc65/trunk@2283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 16:56:32 +00:00
cuz
ae7c80a3d1 New include file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 14:17:14 +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
fada6651c9 Made rename() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@2271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 12:54:39 +00:00
izydorst
7016496564 clean vector intercepting, added info about that to docs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-16 20:43:13 +00:00
cuz
527d109931 unistd.h needs off_t
git-svn-id: svn://svn.cc65.org/cc65/trunk@2215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 18:08:46 +00:00
cuz
40087ae472 Restructured fcntl.h. Moved most stuff into the new unistd.h and sys/types.h
header files.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-12 09:30:16 +00:00
cuz
a64a4068fc Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2193 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 12:03:28 +00:00
cuz
f34da26dce isblank() is an official function in the C99 standard
git-svn-id: svn://svn.cc65.org/cc65/trunk@2192 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 11:53:51 +00:00
cuz
f87cc5d0f7 remove() is __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2188 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 16:11:38 +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
acd09ef19a Added the system() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2172 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 18:24:16 +00:00
cuz
e967591be1 More __NES__ stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-02 14:45:16 +00:00
izydorst
c87ddefa00 GetFile fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2104 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 16:18:04 +00:00
cuz
e4a6273056 Added ser_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@2096 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-28 06:42:50 +00:00
cuz
254f8a9cd6 Added _poserror, made perror __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-24 20:55:55 +00:00
cuz
a07cc4a4c1 Working on new serial API
git-svn-id: svn://svn.cc65.org/cc65/trunk@2069 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-18 16:29:51 +00:00
izydorst
2cba160622 added missing parameters to GetFile and SaveFile functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2068 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 16:22:17 +00:00
izydorst
64c0bcb9ca added Wheels to ostypes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2067 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-17 14:38:53 +00:00
cuz
6bbed31ff2 Moving rs232 support to modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@2058 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-15 20:47:29 +00:00
cuz
4fbcb43763 NES changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2057 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-15 20:47:12 +00:00
cuz
442df28524 nes.h file by groepaz, beautified by me
git-svn-id: svn://svn.cc65.org/cc65/trunk@2055 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-14 21:01:06 +00:00
cuz
21c7002bed Add CLK_TCK for atmos
git-svn-id: svn://svn.cc65.org/cc65/trunk@2050 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-14 08:08:14 +00:00
cuz
84be05bd55 Add ORIC Atmos support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2048 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 22:12:40 +00:00
izydorst
3a536492ca replaced 'int' by 'unsigned' where appropriate
git-svn-id: svn://svn.cc65.org/cc65/trunk@2040 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-04 21:16:15 +00:00
izydorst
2ff9fd615b added GetFile implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@2038 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-04 14:41:06 +00:00
izydorst
ef7ebfff09 Some *(char*)0x???? replaced by (char*)0x???? to access parts of memory as arrays
git-svn-id: svn://svn.cc65.org/cc65/trunk@2036 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-04 14:05:02 +00:00
cpg
6ee425e6bb Renamed CH_DEL to CH_DELCHR and added a CH_DEL which does the same as
CH_RUBOUT. Now CH_DEL behaves the same on Atari and other platforms.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2033 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 22:48:01 +00:00
cuz
93382b7229 Fixed the comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2032 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-17 21:48:37 +00:00
izydorst
404855226c fixes for GEOS structures, initialized menu/icontabs finally are possible
git-svn-id: svn://svn.cc65.org/cc65/trunk@2022 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-15 22:39:16 +00:00
cuz
13ff905946 Signals implemented
git-svn-id: svn://svn.cc65.org/cc65/trunk@2020 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:09:21 +00:00
cuz
7e4ac2c687 Make fputs __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@2019 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:08:54 +00:00
cpg
86fc9504a9 added RS_ERR_INIT_FAILED
git-svn-id: svn://svn.cc65.org/cc65/trunk@2003 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-07 00:04:19 +00:00
cuz
8c7400c26e Added fast(), slow() and c64mode()
git-svn-id: svn://svn.cc65.org/cc65/trunk@1982 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-13 21:29:12 +00:00
cuz
85f51dc89a New function toggle_videomode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1980 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-13 21:12:11 +00:00
cuz
8ecdf9d6b7 Renamed ..._deinstall -> ..._uninstall.
Rename tgi_setup to tgi_install.
Make tgi_install and tgi_deinstall user callable.
More cosmetic changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1966 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-11 12:37:46 +00:00
cuz
fc353fbd5a Renamed the deinstall vector to uninstall.
Make em_install and em_uninstall user callable functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:31:45 +00:00
cuz
9b36efac4c Fixed comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:31:16 +00:00
cuz
3aee15b6ce Make joy_install, joy_uninstall user callable functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1950 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-10 22:11:12 +00:00
cuz
d2aba53527 Fix o65 segment id definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1945 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-08 16:50:55 +00:00
cuz
3f45fe8bd6 More o65 definitions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-07 11:03:12 +00:00
cuz
b8ab2e23e4 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1933 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-06 21:32:48 +00:00
cuz
90f47ed007 CBM directory routines by Josef Soucek
git-svn-id: svn://svn.cc65.org/cc65/trunk@1920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-02 13:18:40 +00:00
cuz
581c12ce40 Move _heap.h to the compiler include dir.
Create heap.inc and use that from the assembler code.
Rename heap related _h... variables to _heap...
Add _heapmaxavail and _heapmemavail functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 12:22:09 +00:00
cuz
8012074ea0 Renamed _hadd to _heapadd
git-svn-id: svn://svn.cc65.org/cc65/trunk@1911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-02-01 10:20:35 +00:00
cuz
22b4faabb2 Add chdir, make rmdir __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1902 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-19 11:28:59 +00:00
cuz
1b44423614 Added a creat macro
git-svn-id: svn://svn.cc65.org/cc65/trunk@1897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 12:00:51 +00:00
cuz
fb81235769 Fix comments and remove whitespace from __asm__ macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@1895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 11:34:23 +00:00
cuz
400672756b Use new names for flags
git-svn-id: svn://svn.cc65.org/cc65/trunk@1894 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-01-09 11:23:32 +00:00
cuz
e525cd2515 tgi_mode -> tgi_gmode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1861 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:59:34 +00:00
cuz
cd77c6ab90 Removed param from tgi_init()
git-svn-id: svn://svn.cc65.org/cc65/trunk@1860 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-29 20:58:36 +00:00
izydorst
578443610d new TGI driver for interlaced VDC 640x480 mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@1830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-23 14:15:46 +00:00
izydorst
8397a1d8aa tgi driver for C128 VDC, changed order of things in libsrc/tgi/tgi-kernel.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@1826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-22 22:50:17 +00:00
cuz
4e61ec9270 Added joy_stddrv
git-svn-id: svn://svn.cc65.org/cc65/trunk@1820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-21 09:23:20 +00:00
cuz
a995a14315 Cleanup, new JOY_BTN_... macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@1809 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:25:58 +00:00
izydorst
4661e39a2b tgi/*.h headers were being searched in local, not CC65_INC path
git-svn-id: svn://svn.cc65.org/cc65/trunk@1808 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 23:25:04 +00:00
cuz
a143f26061 New joystick API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1798 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:35 +00:00
cuz
f941b4bcee Make the functions __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1797 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-20 21:02:17 +00:00
cuz
2242939c78 Added signal.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1775 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 14:57:12 +00:00
cuz
0cdc39ea9f Remove dependencies for other header files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1773 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 14:39:01 +00:00
cuz
c0ec39ae7a Declaration of LONG_MIN was wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@1771 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 12:12:33 +00:00
cuz
199c9fcd4a Added stdint.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1770 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-15 12:11:58 +00:00
cuz
f47648ecfb Moved CH_ESC back to cbm.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1768 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-14 16:55:17 +00:00
cuz
29f3dcfe05 All module functions are fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1760 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:41:34 +00:00
cuz
41f6d32cfd Fix parameters to cbm_load and cbm_save
git-svn-id: svn://svn.cc65.org/cc65/trunk@1757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-13 00:30:40 +00:00
cpg
8b74bff122 added _atari_xxxcolor() functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 23:45:51 +00:00
cuz
0dc85c727b Fixed escape and stop key definitions for the commodore machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 21:01:34 +00:00
cuz
47d4d62d1f The C16 does also support a joystick
git-svn-id: svn://svn.cc65.org/cc65/trunk@1733 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-10 23:38:49 +00:00
cuz
4ce2bb2de2 Move common stuff for the C16 and Plus/4 into cbm264.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1731 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 22:09:20 +00:00
cuz
8dc9619d2e Define CH_ENTER
git-svn-id: svn://svn.cc65.org/cc65/trunk@1730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-09 21:44:33 +00:00
cuz
f7244c4e19 Added em_use
git-svn-id: svn://svn.cc65.org/cc65/trunk@1719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 18:57:53 +00:00
cuz
6156a8b472 Make the read vector __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:31:19 +00:00
cuz
51c31b7ab6 Make read() and write() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:25:26 +00:00
cuz
df956f4628 Added get_tv for several platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@1709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:19:21 +00:00
cuz
ab25c627c8 Added file variables, other cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:39:11 +00:00
cuz
11476dced6 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:39:00 +00:00
cuz
0c38839e79 Replaced em_mapclean by em_commit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 18:06:57 +00:00
cuz
f5193bc0d1 Remove em_load
git-svn-id: svn://svn.cc65.org/cc65/trunk@1681 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-30 00:01:30 +00:00
cuz
a1a3022b5c New API for access to extended memory
git-svn-id: svn://svn.cc65.org/cc65/trunk@1675 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-29 14:40:31 +00:00
cuz
7d2ad0a160 The C128 has RS232, too
git-svn-id: svn://svn.cc65.org/cc65/trunk@1663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-27 22:37:55 +00:00
cuz
5f812a3269 Make fclose __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1633 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 14:37:52 +00:00
cuz
0060b9fc45 Make fread and fwrite fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 23:05:21 +00:00
cuz
2fbb3ae1b7 Make fopen fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 18:47:55 +00:00
cuz
4800f0d2a7 Add a macro for peekbsys
git-svn-id: svn://svn.cc65.org/cc65/trunk@1596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:09 +00:00
cuz
f0cfd60659 Make wchar_t a 16 bit type
git-svn-id: svn://svn.cc65.org/cc65/trunk@1569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:51:33 +00:00
cuz
e41c0adbb2 New target c16
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:22:26 +00:00
cuz
9c7d2191aa New calling conventions for read
git-svn-id: svn://svn.cc65.org/cc65/trunk@1548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 14:21:10 +00:00
cuz
9e74c2b26f Make close() fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@1530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-16 19:38:37 +00:00
cuz
fc81b379d8 cbm_write is not __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@1525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-15 18:42:06 +00:00
cuz
5dba474030 Added strftime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1512 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-13 13:08:46 +00:00
cuz
2cd37d74e4 Added _systime
git-svn-id: svn://svn.cc65.org/cc65/trunk@1508 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:35:40 +00:00
cuz
cae19c1a8a More time functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 22:01:32 +00:00
cuz
35aaf34e20 Add the time() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-12 19:54:30 +00:00
cuz
f95340fc44 Make exit a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-11 23:24:17 +00:00
cuz
786b3a7fe8 Moved _vic.h to _vic2.h. Renamed __vic to __vic2.
Added a new file _vic.h for the VIC (1) used in the VIC20.
Added the VIC chip to vic20.h.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:33:50 +00:00
cuz
511b3b45f2 Add _randomize.
Make realloc __fastcall__.
Make identifiers with a leading underscore visible even if __STRICT_ANSI__ is
defined, since those don't pollute the application namespace.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-05 20:23:06 +00:00
cuz
bd06bc2e73 Added stdbool.h provided by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@1472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-25 20:53:22 +00:00
cuz
55baa52735 Added the div function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-25 20:46:57 +00:00
cuz
62b3576f5f Use other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN.
Among other things that avoids the compiler warning "constant is long" when
using INT_MIN.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 18:59:08 +00:00
cuz
8b14f60e0d Removed duplicate declaration
git-svn-id: svn://svn.cc65.org/cc65/trunk@1430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 13:28:34 +00:00
cuz
7fffd12f11 Started to add tgi text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:49 +00:00
cuz
b2e06dbb9d assert() must be an expression of type void
git-svn-id: svn://svn.cc65.org/cc65/trunk@1396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:15:49 +00:00
cuz
f64baf02ec Changed joystick bits after change in joystick code for VC20
git-svn-id: svn://svn.cc65.org/cc65/trunk@1385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 05:07:22 +00:00
cuz
12154bdaa7 VIC20 needs other joystick constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:28:11 +00:00
cuz
f0d89e09bc Added VIC20 port changes from Steve Schmidtke
git-svn-id: svn://svn.cc65.org/cc65/trunk@1376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 05:18:13 +00:00
cuz
f95c28817b Added _stroserror
git-svn-id: svn://svn.cc65.org/cc65/trunk@1363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-18 11:04:48 +00:00
izydorst
dd6e59e1cc fixed info field offset and author field length
git-svn-id: svn://svn.cc65.org/cc65/trunk@1353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-15 18:25:39 +00:00
cuz
68166eb575 Added new defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-11 14:07:27 +00:00
cuz
e2f95ebca5 Add tgi_horline
git-svn-id: svn://svn.cc65.org/cc65/trunk@1336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 11:12:41 +00:00
cuz
104ce990cb More work on the graphics subsystem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-07 10:30:31 +00:00
cuz
207c4a9e56 Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:53:58 +00:00
cuz
bf944755dd Working on the TGI library
git-svn-id: svn://svn.cc65.org/cc65/trunk@1323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 21:40:24 +00:00
cuz
dcbd059858 Change calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-22 11:17:33 +00:00
cuz
74b9e4831a Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@1317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 21:15:46 +00:00
cuz
579e1ae267 TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 16:25:56 +00:00
cuz
7fc24b058a TGI Implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 14:16:32 +00:00
cuz
e50b24d46a Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:46:52 +00:00
cuz
1d35deabc8 Added TGI files, removed obsolete graphics.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@1309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:01:16 +00:00
cuz
8d8ec57003 Added atmos.h from Jede
git-svn-id: svn://svn.cc65.org/cc65/trunk@1299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 07:03:38 +00:00
cuz
4cb4751164 New o65 defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:52 +00:00
cuz
b44f593ac3 Added bzero, _bzero
git-svn-id: svn://svn.cc65.org/cc65/trunk@1275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:13:40 +00:00
cuz
5c4205b284 Struct cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-24 18:46:49 +00:00
cuz
cc80937c3b Added new header files
git-svn-id: svn://svn.cc65.org/cc65/trunk@1247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-21 14:05:42 +00:00
izydorst
2edcb9d73b fixes in structs, added common cc65 color definitions, cgetc laces cursor in
correct line, interrupts are enabled before jumping into _main


git-svn-id: svn://svn.cc65.org/cc65/trunk@1217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 17:37:12 +00:00
cuz
fe1f354fe8 Added scanf familiy of functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 17:18:19 +00:00
izydorst
438444cdd6 added declarations for cpputs and cpputsxy
git-svn-id: svn://svn.cc65.org/cc65/trunk@1182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:53:02 +00:00
izydorst
81407526bf enabled mouse support for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1173 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-08 16:42:16 +00:00
cuz
208c40eaf7 Two prototypes had a const qualifier missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1166 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 06:58:24 +00:00
cuz
0de448df64 AD2 was missing - thanks to groepaz for the hint
git-svn-id: svn://svn.cc65.org/cc65/trunk@1149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-12 09:46:45 +00:00
cpg
d198ba0e26 added Atari defines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1138 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 22:47:07 +00:00
cuz
f2967f26fc Update from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@1124 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-18 20:05:57 +00:00
cuz
834eff684f calloc is now written in assembler and a fastcall function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1120 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-15 21:53:31 +00:00
cuz
c053b91f7a Added zlib.h header file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1118 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-13 20:12:19 +00:00
mrintsch
babcf84f17 Changed the parameters of cbm_load and cbm_save to a more "C-like" way.
The API should be stable now.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-10 20:35:07 +00:00
cpg
fc253be753 add graphics() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1014 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-06 23:14:29 +00:00
cuz
63b2c252a5 Added/updated header blocks
git-svn-id: svn://svn.cc65.org/cc65/trunk@1000 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 18:48:54 +00:00
cuz
a29167709f Removed the JAM opcode
git-svn-id: svn://svn.cc65.org/cc65/trunk@993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-02 08:10:44 +00:00
cuz
3dc0fb59bc Check for wrong header file inclusions, add CBM510 stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@948 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-19 08:46:07 +00:00
cuz
0dd35700c9 Added peekxsys functions for the 6509 machines
git-svn-id: svn://svn.cc65.org/cc65/trunk@917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 08:41:16 +00:00
cuz
cce379324d Add support for the CBM 510
git-svn-id: svn://svn.cc65.org/cc65/trunk@916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-14 07:53:34 +00:00
cuz
7f88d979f6 Added support for the Commodore 510 aka P500
git-svn-id: svn://svn.cc65.org/cc65/trunk@912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 21:27:32 +00:00
cuz
7856dae4b2 Remove the port parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@903 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-13 15:35:24 +00:00
cuz
9e80491acb Remove sprite param to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 13:49:08 +00:00