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
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