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

540 Commits

Author SHA1 Message Date
uz
918171231c Marked abort() and longjmp() with __attribute__((noreturn)).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-19 09:29:09 +00:00
uz
5a00b38aab Fixed the existing but unused attribute parsing code. Added
__attribute__((noexit)) that may be used to mark functions that won't return.
Added this attribute to the exit() function in stdlib.h.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-18 18:31:02 +00:00
ol.sc
c221b3c8cf Leveraged new bit-field support.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-11 11:14:35 +00:00
uz
d42ce3b59e Lynx updates by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:09:19 +00:00
uz
d54a1ba3d2 Improved cbm_dir routines by Thomas Giesel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 22:01:58 +00:00
uz
903049087c Added prototypes for snprintf/vsnprintf to stdio.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@4244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:03:07 +00:00
uz
16e6deaf86 Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:11:14 +00:00
uz
ec946cae51 Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new
serial driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:22:04 +00:00
uz
65ca052303 Make wchar_t a char instead of a short.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4184 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-18 07:38:00 +00:00
uz
cc12a5a838 inttypes.h is an ISO C standard include file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4183 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-17 19:31:47 +00:00
uz
3a3eaf99cb Lynx changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-17 09:32:05 +00:00
uz
96637a8c35 Make system() fastcall like most other library functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 21:01:20 +00:00
uz
bbad4433cc Added declarations for strtol and strtoul.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 20:46:38 +00:00
ol.sc
0c161a6cdd Now that cc65 programs can run as SYS files themselves my ProDOS Loader ulimately has to change from a minimalistic shell replacement to a pure loader (without exit hook). This approach simplifies several things. However the "reboot after exit" option now present as a ProDOS Loader variant has to move into the cc65 program.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4172 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-14 19:58:06 +00:00
uz
c9de0e6841 Lynx changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 13:37:44 +00:00
uz
7de61e351c Define a standard driver and mode for tgi graphics and use it in the sample
program. The standard driver and mode is the first one in the tgi_mode_table.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:59:37 +00:00
uz
4ed9b6facf Fixed a copy&paste error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:42:34 +00:00
uz
d74f9ab396 Added a mouse_stddrv variable that contains the standard mouse driver for a
system.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:45:43 +00:00
ol.sc
773e05b5f3 Removed '_' prefix from textframe(xy) because this prefix for non-standard symbols isn't necessary if they are declared in non-standard include files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4143 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 19:18:15 +00:00
ol.sc
648a1b5427 Added support for switching between 40/80 columns. As the Apple //e 80 column firmware features converting the current screen content on switching if was already active before the idea is to keep the 80 column firmware active and initialize it (which clears the screen) only if necessary.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4140 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-10 09:04:05 +00:00
uz
7d60d32aee Changed the prototype of videomode() to take and return an unsigned instead of an unsigned char.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 16:45:21 +00:00
uz
931b6418bf Changed the prototype of videomode() to take and return an unsigned instead of
an unsigned char. Two more video mode constants as discussed on the list.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-08 16:25:12 +00:00
uz
74bfd6ee31 New function videomode() for the C128. Marked toggle_videomode as deprecated.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-07 13:21:04 +00:00
uz
ec8280cc52 Use __asm__() instead of asm().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4008 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-15 09:08:03 +00:00
uz
3ea6be8f72 Fix definition for CIA (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3999 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-06 20:27:19 +00:00
cpg
2961c500f5 add strnicmp/strncasecmp
git-svn-id: svn://svn.cc65.org/cc65/trunk@3925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:16:22 +00:00
uz
9d27fe053b Function key support be Stephan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-24 16:36:34 +00:00
uz
0ec5268baa Made strxfrm fastcall, added docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-27 20:02:48 +00:00
uz
7877d9c326 Removed flushall, since it is non-standard and not used anyway.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3894 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-25 20:49:52 +00:00
cuz
e0822357c7 New get_tv function by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3832 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-04-10 20:20:26 +00:00
cuz
feae688346 Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:37:22 +00:00
cuz
5eadec958c Remove the #error statement if the platform is unknown. This allows use of
conio.h in custom targets.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-21 13:16:53 +00:00
cuz
88aedc2e29 Update from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3766 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-01-05 16:16:34 +00:00
cuz
878dcf4aa7 Fixed a problem when loading joystick drivers: When an install error occurred,
the driver wasn't removed from memory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:15:18 +00:00
cuz
c1a38ce8f4 Fixed a problem in mouse_load_driver: The driver was not removed from memory
when the load failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:48:14 +00:00
cuz
6679cc6080 The Plus/4 has an ACIA
git-svn-id: svn://svn.cc65.org/cc65/trunk@3739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-09 19:44:33 +00:00
cpg
f825143623 remove erroneous comments (hint from Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3689 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:05:59 +00:00
cuz
6ae943402d Two functions in the mouse_callbacks struct do actually have arguments.
Report by Oliver Schmidt.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-21 20:40:56 +00:00
cuz
c732d3e360 New stuff contributed by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3608 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-31 20:11:45 +00:00
cpg
139e577123 add IOCB definitions; update years in copyright message
git-svn-id: svn://svn.cc65.org/cc65/trunk@3555 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-26 23:45:38 +00:00
cuz
193e7df5fe Hide posix_memalign if strict ANSI is enabled
git-svn-id: svn://svn.cc65.org/cc65/trunk@3538 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 13:01:14 +00:00
cuz
7a624b8901 Replaced _aligned_malloc by the POSIX compatible function posix_memalign
(Greg King).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3537 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-24 12:57:00 +00:00
izydorst
e642fbbbea Stefan Haubenthal's patch for Contiki port
git-svn-id: svn://svn.cc65.org/cc65/trunk@3529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-17 11:59:46 +00:00
cuz
cde729b636 Added 40xx and SuperPET chips
git-svn-id: svn://svn.cc65.org/cc65/trunk@3527 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-07-17 09:59:18 +00:00
cuz
a641ca9802 Make _sig_ign and _sig_dfl fastcall
git-svn-id: svn://svn.cc65.org/cc65/trunk@3518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-26 09:20:36 +00:00
cuz
c2140cdb08 Make strtok __fastcall__
git-svn-id: svn://svn.cc65.org/cc65/trunk@3514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-17 21:11:09 +00:00
cuz
4872a27214 Added putenv
git-svn-id: svn://svn.cc65.org/cc65/trunk@3484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-21 21:27:17 +00:00
cuz
6448e4cf51 Fixed FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-19 13:15:52 +00:00
cuz
e319900fdb Fixed definition of NULL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-17 20:09:28 +00:00
cuz
b90ba30920 FILENAME_MAX for the apple2
git-svn-id: svn://svn.cc65.org/cc65/trunk@3459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-14 23:06:39 +00:00
cuz
4df0cf8c7a Because of a typo, time.h did not define NULL as required by the standard.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-02 16:26:55 +00:00
cuz
73d32060ca Added a comment about return codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 07:20:05 +00:00
cuz
cf5dbd840d Added new OS OPENCBM, renamed O65_OS_CC65_MODULE to O65_OS_CC65
git-svn-id: svn://svn.cc65.org/cc65/trunk@3436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 19:29:08 +00:00
cuz
43a9802473 Predefined #defines have changed.
Cosmetic changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3434 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:26:11 +00:00
cuz
742cf43e30 New function dio_query_sectcount and cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-30 18:25:38 +00:00
cuz
5363f9bee3 Allow to replace the color functions in conio.h by macros for platforms
where these functions are dummies anyway.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3422 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-26 17:20:27 +00:00
cpg
7d824b7b7e dio_query_sectsize is now a real function on the Atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@3393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:59:46 +00:00
cuz
bb66b590a9 New scanf type routines for conio by Greg King + a few comment changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:37:30 +00:00
cuz
8188795240 New code from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-06 12:26:47 +00:00
cuz
2ebb276929 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:28:54 +00:00
cuz
7caee98fc0 New function: _aligned_malloc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:07:23 +00:00
cuz
e55a4bcfd4 Changed the way, used blocks are managed
git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 23:09:38 +00:00
cuz
5ecda9d204 va_copy is only available from C99 and up
git-svn-id: svn://svn.cc65.org/cc65/trunk@3325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 14:59:05 +00:00
cuz
c67ed28f9b Added O_EXCL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 15:18:33 +00:00
cuz
fb4613f4ea Removed a comment about the scanf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:41:01 +00:00
cuz
38f27c1c16 Add the lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 11:57:03 +00:00
cpg
6db6a58225 fix CH_VLINE definition (noticed by Fatih Aygün)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:43:53 +00:00
cuz
9037886381 New function mouse_geterrormsg()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:41:18 +00:00
cuz
6ab41edc72 Removed the tgi_header structure because it is of no use for C programs
anyway, but needs maintainance.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:32:49 +00:00
cuz
f044f9d6b5 Added the irq vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@3282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 10:45:24 +00:00
cuz
ff36915c79 Added IRQ entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:00:17 +00:00
cuz
9043e10165 TV_OTHER and availability for more platforms
git-svn-id: svn://svn.cc65.org/cc65/trunk@3255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-16 19:32:07 +00:00
cuz
08ee93cbad Added tgi_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@3252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 18:24:52 +00:00
cuz
3c678ec2cc Added eeprom routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@3248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 17:31:23 +00:00
cuz
57127ecb06 Added second fire button
git-svn-id: svn://svn.cc65.org/cc65/trunk@3244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 16:33:13 +00:00
cuz
e929099e10 New header file for the lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-11 07:18:47 +00:00
cuz
aaf47e40df Removed getchar/putchar macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@3215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-06 21:35:34 +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
6ac5c407cf keep the old names (w/o "_") of get_ostype() and get_tv() for cross
platform compatibility


git-svn-id: svn://svn.cc65.org/cc65/trunk@3149 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-07-09 19:27:12 +00:00
cuz
13a2927e17 The -A and --ansi switches are gone, together with the __STRICT_ANSI__
predefined macro. Instead there is now a command line option --standard that
allows to set c89, c99 or cc65 as language standard. The compiler defines a
macro __CC65_STD__ that is one of __CC65_STD_C89__, __CC65_STD_C99__ or
__CC65_STD_CC65__ depending on the command line option. Default is cc65 (all
extensions) as before.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3133 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-21 22:22:11 +00:00
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