1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
Commit Graph

733 Commits

Author SHA1 Message Date
ol.sc
1bafd55557 Minor adjustment to Apple II coding style (two spaces for macro definitions).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 19:59:49 +00:00
ol.sc
15546f8880 Added Apple II classification macros for file types from struct dirent.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 19:49:15 +00:00
uz
7aefd9b4e7 Added classification macros for file types from struct dirent.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 14:23:33 +00:00
uz
5bc67cdaee Move definitions for CBM file types into its own header file, since these
definitions are needed for file type macros in dirent.h. Unify names for the
include files.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 13:52:06 +00:00
uz
2f87dbc27e Allow a third, optional filename argument for cbm_opendir.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-04 18:32:38 +00:00
uz
c40b54ee6c Implemented rewinddir/seekdir.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-03 15:11:32 +00:00
uz
9d0a2c3007 Add comment about meaning of directory entry type.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-03 13:58:29 +00:00
uz
ebca2991a3 Moved most of the file type detection from cbm_dir.c into a new function
called _cbm_filetype().
Added an assembler include file with the file type definitions from cbm.h.
Added a first implementation of readdir() for the CBMs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-02 22:56:14 +00:00
uz
f6209f1344 Added a struct dirent for the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-05-29 21:19:50 +00:00
uz
293c279416 Tape load and save functions for the Oric Atmos. By Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-05-28 11:11:39 +00:00
ol.sc
914c6a0ad8 At least in the context of compacted bitmap handling it seems appropriate to abstract that the Apple DHGR screen has these dimensions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5656 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-04-29 15:37:06 +00:00
uz
c09d6a7299 Added an improved definition of the __vic2 structure using anon
structs/unions. For compatibility reasons the new definition is active only in
cc65 mode.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-17 21:07:41 +00:00
uz
194a007710 The set_irq function needs size_t.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 10:46:04 +00:00
ol.sc
204aba1577 Introduced Apple GEOS specific screen size constants.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-27 22:00:26 +00:00
ol.sc
358a27bd3c Better have the Apple GEOS stuff below the CBM GEOS stuff.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-22 22:32:28 +00:00
ol.sc
f86acd3128 C programs don't need offsets into data structures - they have actual structs :-). In this case 'struct filehandle' and 'struct fileheader'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-22 22:24:28 +00:00
uz
787dc1a5dc Additional key definitions for the Oric Atmos. By Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-19 17:50:57 +00:00
ol.sc
d17292ce1a Introduced Apple GEOS specific global variable addresses.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-18 00:09:39 +00:00
ol.sc
5134fe7f41 Introduced Apple GEOS specific directory entry structures.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-18 00:08:51 +00:00
ol.sc
077520abeb Removed comment that wasn't correct anymore and didn't fit the cc65 style anyway.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-17 21:08:13 +00:00
cpg
ae39e1c0af recognize XDOS -- patch from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@5524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-11 08:35:54 +00:00
ol.sc
2a0fd9bda0 Renamed 'UnBlockProcess' to 'UnblockProcess' and 'UnFreezeProcess' to 'UnfreezeProcess' to matchall 3rd party docs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-09 07:37:08 +00:00
uz
c03a5caf19 Added an implementation of clock() for the Lynx console. By Greg King.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-06 20:17:54 +00:00
ol.sc
e1894b1272 Fixed irq handler return value.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-21 22:34:48 +00:00
ol.sc
5df392ff14 Added wrapper for C level irq handling.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-19 00:24:13 +00:00
uz
0e4f581f71 Remove obsolete defines for the 6502 processor flags.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-18 15:26:27 +00:00
ol.sc
d1e7773245 Adjustments to recent adding of get/set prefix to tgi function names.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-11-29 21:36:42 +00:00
uz
eef45199d5 Remove ldiv_t - it should only be in stdlib.h. Reported by Marc Rintsch.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-11-05 19:49:34 +00:00
uz
edca940a86 Declaration of tgi_settextdir() added.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5101 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-31 22:17:21 +00:00
uz
9c55586569 Renamed tgi_textheight -> tgi_gettextheight, tgi_textwidth -> tgi_gettextwidth
tgi_textstyle -> tgi_settextstyle and tgi_textscale -> tgi_settextscale.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 18:36:12 +00:00
uz
655ffe5dcd Make the 8x32 unsigned multiplication routine C callable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5079 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-10 14:52:35 +00:00
uz
e531e5abd1 Removed __fastcall__ declarations for functions without parameters.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-07 20:19:35 +00:00
uz
79fad36b41 Use slightly optimized character translation settings for the CBM machines.
Suggested by Greg King.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5054 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-13 12:13:08 +00:00
ol.sc
a4b6b6004a Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-03 21:28:20 +00:00
ol.sc
4aa00e84e1 Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 10:38:48 +00:00
uz
a507605a89 New TGI routines tgi_getaspectratio/tgi_setaspectratio.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 18:40:38 +00:00
uz
977c64ce01 Fixed comments. No code change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 18:49:24 +00:00
uz
cc3424a545 Access routines for different eeprom types. By Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 18:42:50 +00:00
ol.sc
012e3e456a Added TGI_COLOR_... macros to be used both for hires and lores. Introduced color mapping on lores to allow for common color macros.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 11:16:56 +00:00
ol.sc
9a1f73e8f5 Added TGI colors (simply based on the conio colors).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:50:38 +00:00
ol.sc
689bb3ab9c Removed TGI black/white defines as those are to be considered as target specific.
TODO: Remove them from .inc file too - bit only after the tgi kernel has be adjusted.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:23:27 +00:00
ol.sc
5a2a8a030f Added TGI colors (simply based on the conio colors).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:20:33 +00:00
uz
ba2a945417 Changes by Greg King:
Made cbm_readdir() report a disk's format-code and more file-access modes.
Added more definitions to <cbm.h> for cbm_readdir().  And, improved the
header's comments.  Added some ASCII-to-PetSCII character-mappings.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4986 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-16 12:28:06 +00:00
cpg
d8dd221f35 change my email addr from cpg@aladdin.de to chris@groessler.org
git-svn-id: svn://svn.cc65.org/cc65/trunk@4977 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-26 22:15:24 +00:00
cpg
804169fb7f fix typos in comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@4973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-07 23:51:18 +00:00
cpg
8cb0d90591 add Antic opcodes defines -- contributed by Christian Krüger
git-svn-id: svn://svn.cc65.org/cc65/trunk@4972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-07 23:48:26 +00:00
uz
25c13a4f54 Make exec() only visible if standard=cc655.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-25 20:20:12 +00:00
uz
8ef8f42f01 Added the exec() function prototype and documentation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-25 15:50:14 +00:00
ol.sc
bee54df029 Allow to set the ProDOS type and auxtype on creating new files in a similiar way done on the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4902 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-05 16:09:08 +00:00
uz
a2ec97ac13 More changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4899 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-04 19:39:07 +00:00
uz
d993b332a4 Lynx update including file routines that access a file system on a cartridge
by Karri Kaksonen.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4892 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-29 10:37:57 +00:00
uz
a3493d5e72 New versions that match the current TGI API by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4888 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-20 07:20:49 +00:00
cpg
c345e8fc46 add Atari version
git-svn-id: svn://svn.cc65.org/cc65/trunk@4831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-28 21:13:52 +00:00
ol.sc
e14435685f Added CH_ENTER define.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 21:34:49 +00:00
ol.sc
8c0c1e1ed9 According to a recent discussion CH_ENTER should generally *not* be defined based on '\n'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 21:20:25 +00:00
uz
ce886f4c5e Removed the header files for the rs232 API since it has been replaced by
loadable serial drivers and serial.h a long time ago.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-11 16:43:31 +00:00
uz
4cd7eec075 This is part of adding getopt() lately but wasn't checked in together with the
other changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4742 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-10 20:49:06 +00:00
uz
131a5cad09 Renamed oserrcheck to __mappederrno. Added an additional function named
__directerrno and moved both to errno.s. Changed several sources to use these
functions. Needs testing.
                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@4718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-10 18:10:53 +00:00
ol.sc
30cd6871be Harmonized comment style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 21:32:55 +00:00
uz
a86d23a63c Change calling convention of cbm_save() to __fastcall__.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 10:25:53 +00:00
uz
d877aac5f4 Added EBADF since this is required for fileno().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 21:12:23 +00:00
uz
e9310f8ec1 Change the prototype for _seterrno to return a char, since the function will
always return zero in A and this can be used in C code to make the code
shorter.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:18:19 +00:00
uz
0d8727ea33 Added a prototype for _seterrno().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:12:55 +00:00
uz
bc2fb18752 Removed the mapping function called previously by the errno macro. It will be
replaced by a mapping in the functions itself.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:03:52 +00:00
ol.sc
710f59b654 Align rootdir() return value rather with POSIX functions than with DIO functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4680 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-02 07:03:54 +00:00
ol.sc
05b23194d9 Added function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-26 21:02:35 +00:00
ol.sc
1bbbed5e96 Added functions to learn about the unit numbers of the ProDOS 8 devices found.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-24 20:10:19 +00:00
uz
8b6a40c04e Patch by Marco van den Heuvel that adds detection of GEOS 1.1 and the plus4
GEOS to the get_ostype function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-27 14:46:43 +00:00
uz
9d440c0102 Added new return code for get_ostype().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 18:04:31 +00:00
ol.sc
10e810b623 Added macro for ssc slot selection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:21:59 +00:00
ol.sc
4c1cd875ee Added ioctl for mixing graphics with 4 lines of text.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 23:07:21 +00:00
uz
36cf23680c MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
the interface more uniform between the driver APIs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-11 14:33:53 +00:00
uz
7ec8a5b6dc Added some definitions for version 1.3 of the o65 format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:44:27 +00:00
uz
097b094fdd Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 15:53:01 +00:00
uz
e74ed31936 Fixed TGI error codes and messages. Removed the Atari specific ones.
tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if
the load was successful.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 12:57:10 +00:00
uz
1154a11649 tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 16:18:13 +00:00
uz
eee4430061 Added a tgi_pieslice function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4449 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:32:17 +00:00
uz
787f069738 Moved fixed point multiplication and rounding into an asm module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 20:16:43 +00:00
uz
78070d8bfb Added tgi_circle and tgi_ellipse functions. The latter works, but could be
optimized.



git-svn-id: svn://svn.cc65.org/cc65/trunk@4445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 17:14:29 +00:00
uz
a08b7d4daf Added prototypes for more mul/div functions. Some of the don't currently
exist.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-05 17:12:18 +00:00
uz
2135bd1543 Added prototypes for C callable multiplication routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-03 20:36:30 +00:00
uz
100c470727 Added C callable entry point for the 16x16=32 multiplication.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-03 17:43:57 +00:00
uz
87866e3099 Working on the TGI API, adding vector fonts. Only roughly tested!
git-svn-id: svn://svn.cc65.org/cc65/trunk@4432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 22:29:49 +00:00
uz
38641d9af8 Added prototype for toascii(c);
git-svn-id: svn://svn.cc65.org/cc65/trunk@4424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-02 16:11:32 +00:00
uz
1e777d9406 Added a typedef for tgi_vectorfont_header, because the name is so long.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4422 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:43:09 +00:00
uz
5bfe33e4b7 Small changes in definitions. Additional error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4417 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 22:01:06 +00:00
uz
944749e07f Preparations for use of vectorfonts.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-01 21:49:09 +00:00
uz
763fe0b802 Start of TGI changes. Untested, may not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 21:26:35 +00:00
uz
4e4beef8b7 Fixed the return types of the sine/cosine functions. Added comments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 14:02:24 +00:00
uz
4d93094936 Added new header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4401 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 10:01:31 +00:00
uz
5304a8149e Changes to the TGI driver API:
* Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper



git-svn-id: svn://svn.cc65.org/cc65/trunk@4396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-29 20:13:56 +00:00
ol.sc
1d9fc5f655 Changed 'Clear the screen' to 'Clear the drawpage'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-27 21:20:06 +00:00
uz
33af076cfc Lynx TGI driver update by Karri Kaksonen. Adds collision detection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-26 19:28:11 +00:00
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
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