1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00
Commit Graph

477 Commits

Author SHA1 Message Date
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Oliver Schmidt
44fd1082ae Adjusted C declarations to the changed static driver names. 2013-05-09 10:20:03 +02:00
Greg King
b225adaf03 Fixed isgraph() and ispunct() (macroes and library functions). 2013-05-01 16:23:47 -04:00
karri
0ac072b290 Add lynx_snd_stop_channel
git-svn-id: svn://svn.cc65.org/cc65/trunk@5978 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 19:43:10 +00:00
karri
6325769580 Add lynx_snd_active
git-svn-id: svn://svn.cc65.org/cc65/trunk@5975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 17:50:59 +00:00
uz
0dc4f64cfe tgi_free_vectorfont maps to free and must therefore be fastcall.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-27 14:39:35 +00:00
uz
ee5216f69b Patch by Greg King: Added the new graphics driver's name to the Atmos header.
Added its description to the Atmos document.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-09 20:25:05 +00:00
uz
0a5bf82797 Patch by Greg King: Added TGI_COLOR_* definitions to the Atmos C header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 19:33:23 +00:00
uz
33833e1bf4 Declare more internal TGI kernel variables. Not really usable for standard
programs, but can be useful for testing.



git-svn-id: svn://svn.cc65.org/cc65/trunk@5956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 19:32:55 +00:00
karri
dc776e1303 rename lynx_snd_pause
git-svn-id: svn://svn.cc65.org/cc65/trunk@5952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-17 17:50:28 +00:00
karri
1a9c23616b Add sound routine support
git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-11 06:27:14 +00:00
karri
39438c19f1 Make positions signed
git-svn-id: svn://svn.cc65.org/cc65/trunk@5942 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-27 06:46:20 +00:00
karri
c7d6712023 Fix types
git-svn-id: svn://svn.cc65.org/cc65/trunk@5940 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-21 13:11:52 +00:00
karri
2c5e0f13a1 Remove duplicate definition for sprites
git-svn-id: svn://svn.cc65.org/cc65/trunk@5937 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-17 08:23:38 +00:00
ol.sc
1ebee7cbd3 Harmozined typing of static driver address.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-13 22:23:10 +00:00
ol.sc
fa6dae8fa9 Added declarations for target-specific static drivers being part of the C library.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-07 23:20:58 +00:00
ol.sc
ca2ba14bbe Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 22:01:51 +00:00
karri
0749c265c2 Fix conflict in names
git-svn-id: svn://svn.cc65.org/cc65/trunk@5897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-02 19:39:38 +00:00
ol.sc
6860ac7dfd Introduced static standard drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5891 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-01 19:53:47 +00:00
ol.sc
a9cb044183 - Introduced Apple GEOS specific key codes.
- Reorganized color defines.
- Changed GEOS 64/128 'enter' key code from 10 to 13 (I've no idea how this could have been wrong but but at least VICE delivers 13).

git-svn-id: svn://svn.cc65.org/cc65/trunk@5877 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-25 20:08:18 +00:00
karri
771cb7eb76 Fix typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@5868 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 11:54:31 +00:00
karri
88742eaa8e Cammys optimized Lynx palette
git-svn-id: svn://svn.cc65.org/cc65/trunk@5867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 10:07:41 +00:00
ol.sc
89d4f4a90c Introduced getcurrentdevice() and implemented it for CBM and Apple.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5863 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-21 14:35:17 +00:00
ol.sc
74fb91a3a2 The 128+x character codes were very likely intended to be interpreted by cputs and translated into explicit drawing of short lines. However there was no code to do so at all. Given that the emulation of a characterbased API on a graphics system isn't the premier choice for a sophisticated UI it doesn't seem appropriate to invest into actually implementing the approach described above. Therefore I just replaced the character codes with a '+'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5862 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-19 07:19:08 +00:00
ol.sc
17659555f8 Removed cpputs/cpputsxy as they don't work and as there's really very little use for proprietary extensions of a character API emulated on a graphics systems.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5860 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-19 06:53:55 +00:00
ol.sc
8b26ed2a69 Implemented __syschdir on CBM. As getcwd returns a cached directory any direct access to __curunit would cause inconsistencies. Therefore __curunit was renamed to curunit to prohibit user access.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 21:39:40 +00:00
karri
2266532724 Fix eol
git-svn-id: svn://svn.cc65.org/cc65/trunk@5855 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 08:10:50 +00:00
karri
d701efef12 Add Lynx hardware chip access
git-svn-id: svn://svn.cc65.org/cc65/trunk@5854 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 08:03:36 +00:00
ol.sc
f7b3e91d8e Removed TABs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-14 12:43:27 +00:00
ol.sc
61d4b6b03f Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-11 18:22:49 +00:00
ol.sc
d99d5f3337 Replaced Apple II specific solution with implementation of recently introduced devicedir().
git-svn-id: svn://svn.cc65.org/cc65/trunk@5846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-10 20:55:56 +00:00
ol.sc
987c3066a3 Introduced getdevicedir() - with implementation for the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-07 19:18:56 +00:00
ol.sc
0f1cd50883 Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-09 13:38:32 +00:00
ol.sc
b586d5ef69 Introduced mass-storage device enumaration - with implementation for C64 and C128.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-09 12:14:45 +00:00
uz
dcff1d0774 An already loaded driver is an error in ser_load_driver, because the library
cannot know if it was dynamically loaded or statically linked.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 19:54:04 +00:00
uz
e7ed3b374f Rewrote em_load_driver in assembler fixing a possible memory leak.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:36:09 +00:00
uz
975a06c2ee Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
doing so. Changed the behaviour in case a driver is already loaded: Since the
library cannot know if this driver was linked statically or loaded
dynamically, an already installed driver is considered an error. It must be
removed before calling tgi_load_driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:07:46 +00:00
ol.sc
f9f660dd5d Added functional Atari directory classification macros for file types from struct dirent contributed by Stefan A. Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5759 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-03 20:10:52 +00:00
ol.sc
c68d7de66e This is C, not 6502 ;-))
git-svn-id: svn://svn.cc65.org/cc65/trunk@5758 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-03 20:00:01 +00:00
uz
511b826dfd Use 's' as default file type instead of 'u'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:24:01 +00:00
uz
b7325f7abe According to Greg King, Vorpal files are regular files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5755 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:10:57 +00:00
uz
ec8234c521 Fixed naming of cbm_clall.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:45:26 +00:00
uz
e03feeefae Unified names of CBM kernal level functions and completed the list of
functions in the cbm.h header file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:36:44 +00:00
ol.sc
c6ee5a8418 Added dummy classification macros for the remaining targets - even for those that don't have the field 'd_type'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-25 20:23:54 +00:00
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